RE: [PHP-DEV] [patch] Late static bindings (LSB)

From: Date: Thu, 20 Sep 2007 10:04:04 +0000
Subject: RE: [PHP-DEV] [patch] Late static bindings (LSB)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-32394@lists.php.net to get a copy of this message
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 >

« previous php.internals (#32394) next »