Re: [patch] Late static bindings (LSB)

From: Date: Thu, 20 Sep 2007 04:41:28 +0000
Subject: Re: [patch] Late static bindings (LSB)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-32391@lists.php.net to get a copy of this message
Or may be both lines must return "A"? (like Etienne's patches do, and like my latest path does)
Yes.
Do you have any ideas on how to allow this to be at all useful with inheritance and overriding? If the patch is left to where these examples would all return 'A' and something wasn't put in place to allow overloading a static function AND forward on the original called class to the parent class then usefulness of late static binding is php is going to be diminished.
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com -- 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


« previous php.internals (#32391) next »