Hello Evan,
what you do is irrelevant you need to define the method signature.
See example from Zend/zend_interfaces.c:
static
ZEND_BEGIN_ARG_INFO(arginfo_arrayaccess_offset, 0)
ZEND_ARG_INFO(0, offset)
ZEND_END_ARG_INFO();
static
ZEND_BEGIN_ARG_INFO(arginfo_arrayaccess_offset_value, 0)
On Tuesday 16 Nov 2004 13:32, Marcus Boerger wrote:
> Hello Evan,
>
> your implementation is wrong, you need to specify the arguments to
> __get/__set.
Thanks for the reply, but can you be a bit more specific? I'm already
specifying num_args and required_num_args (the former of which is what is
Hi everyone,
I noticed recently that both of my extensions (Panda and FANN, both in PECL)
emit error messages when their __get() and __set() methods are registered.
The problem seems to be that fptr.common->num_args is always 0 in
zend_check_magic_method_implementation(), regardless of what I s
Hello Evan,
your implementation is wrong, you need to specify the arguments to
__get/__set.
best regards
marcus
Tuesday, November 16, 2004, 9:01:25 PM, you wrote:
> Hi everyone,
> I noticed recently that both of my extensions (Panda and FANN, both in PECL)
> emit error messages when their __