Re: parent:: forwarding
| From: | Stanislav Malyshev | Date: | Mon, 14 Jul 2008 07:06:47 +0000 |
| Subject: | Re: parent:: forwarding | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38945@lists.php.net to get a copy of this message | ||
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? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com