Re: late static binding php6

From: Date: Mon, 19 Nov 2007 06:20:01 +0000
Subject: Re: late static binding php6
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-33286@lists.php.net to get a copy of this message
I realize that instance calls are a completely different ball game than static calls but LSB was supposed to give us the same flexibility.
Actually, I don't think it was. If you want objects, why not use the real thing? LSB was created to solve just one particular problem - inability to distinguish A::method() from B::method() if B extends A.
called class on. It would allow more complex forms of inheritance,
"more complex" is not always better. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#33286) next »