note 110254 deleted from reflectionclass.getmethods by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Oct 2012 21:29:12 +0000 |
| Subject: | note 110254 deleted from reflectionclass.getmethods by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191410@lists.php.net to get a copy of this message | ||
Note Submitter: gtisza at gmail dot com
----
Methods are returned in the order they are defined in the source, with child methods preceding
parent methods. This is also true for methods which are overridden in the child, which might lead to
subtle errors when using a class which dynamically calls its own methods (e. g. a unit test or a
Zend bootstrap class): by subclassing it to modify the behavior of a method, the order of calling
the methods is changed.