Re: [patch] Late static bindings (LSB)
| From: | Marcus Boerger | Date: | Fri, 21 Sep 2007 13:23:42 +0000 |
| Subject: | Re: [patch] Late static bindings (LSB) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32416@lists.php.net to get a copy of this message | ||
Hello Dmitry,
this is a good idea imo. It sounds like the most natural solution - to me.
marcus
Thursday, September 20, 2007, 12:04:04 PM, you wrote:
> 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.
> Thanks. Dmitry.
>> -----Original Message-----
>> From: Stefan Walk [mailto:et@php.net]
>> 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
>>
Best regards,
Marcus