PHP5 extensions: using existing functionnames as method names
| From: | danhen at email dot de | Date: | Wed, 13 Sep 2006 08:09:08 +0000 |
| Subject: | PHP5 extensions: using existing functionnames as method names | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-25652@lists.php.net to get a copy of this message | ||
Hi,
i just was wondering how existing function names could be used as method names
in OO-Extensions for PHP5. I've looked through the SPL-source where this is done with
functions like current() and next() in the iterators, but I couldn't find a hint how to do
this.
Can someone give me a little hint what is needed to do that.
Many thanks in advance,
Daniel