Re: LSB forward_static_call()
| From: | Alexey Zakhlestin | Date: | Sat, 21 Jun 2008 05:53:28 +0000 |
| Subject: | Re: LSB forward_static_call() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38495@lists.php.net to get a copy of this message | ||
On 6/21/08, Stanislav Malyshev <stas@zend.com> wrote:
> On top of that, by making parent:: forward called class name, you remove
> the possibility of doing non-forwarding call to the parent class.
why would anyone need that?
"parent" is related to inheritance and it is logical, that it retains
call-chain.
if you just want to call "method of some class", you call it by class's name.
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/