hi, On Mon, Aug 23, 2010 at 12:04 AM, Michel Bartz <michel.ba...@manwin.com> wrote: > Hi, > > You could see it this way : getPrototype() will get you the information on > where your function has been "declared" in the first place. If we extend your > example:
The question is more about the naming. As the implementation may make sense (as the method info is available too), it is confusing as I would expect it to return the prototype of the method itself, not the parent one. Documentation could be more clear too, even if the example shows this exact case. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php