Re: [PHP-DEV] Overloaded class registration

2004-11-16 Thread Marcus Boerger
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)

Re: [PHP-DEV] Overloaded class registration

2004-11-16 Thread Evan Nemerson
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

Re: [PHP-DEV] Overloaded class registration

2004-11-16 Thread Marcus Boerger
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 __