Yes. I use instanceof_function() in the patch.
Thanks. Dmitry.
Stanislav Malyshev wrote:
Hi!
Note that called_scope is passed only to static methods of __parent__
class. I cannot imagine the use-case with intersecting LSBs in the same
class hierarchy. Could you please write the example.
OK. But how do you know if called class is parent of the current scope
or not? Wouldn't you have to check all the inheritance tree for the
scope up to the root for that?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php