From technical point of view it is possible to propagate LSB with self::,
parent::, and static:: and not with CLASS::.
I think it may be a good compromise.
I am very much in favor of this. I think it allows the greatest amount of
control. If you need a specific class's static method called then passing
that class' name is the best idea. i would question wether it is a good idea
to make self:: work like that though.
Thanks. Dmitry.
-----Original Message-----
From: Stefan Walk [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 20, 2007 1:10 PM
To: Dmitry Stogov; internals@lists.php.net
Subject: Re: [PHP-DEV] [patch] Late static bindings (LSB)
Is it possible or feasible to distinguish betwenn parent::
and NameOfParentClass::? That would allow to push a call "up"
while preserving the called name while not making Class::
mean different things depending on the location of the call,
which is a very bad thing IMO (it's an effect that may not be
desired).
Regards,
Stefan
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.487 / Virus Database: 269.13.21/1010 - Release Date:
9/15/2007 7:54 PM
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php