Overloaded class registration
| From: | Evan Nemerson | Date: | Tue, 09 Nov 2004 20:39:31 +0000 |
| Subject: | Overloaded class registration | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-1598@lists.php.net to get a copy of this message | ||
Hi all,
I noticed yesterday that both of my extensions (fann and panda) are emitting
error messages in >= 5.0.2 when their methods are registered--specifically,
the __get() and __set() methods. In zend_check_magic_method_implementation(),
it seems that num_args is always 0, even though they are properly set (or so
I thought) prior to registering them.
I've tried going through the function registration code a bit, but I'm not
very familiar with ZE2 internals, so I thought I'd see if someone else had an
idea?
The pertinant portion of the code is based on the SOAP extension. The source
code for the fann extension is at
http://cvs.sourceforge.net/viewcvs.py/*checkout*/fann/fannphp/fann.c?rev=1.13
I would greatly appreciate any help :)
--
Evan Nemerson
evan@coeus-group.com
http://coeusgroup.com/en