Re: [patch] Late static bindings (LSB)

From: Date: Mon, 17 Sep 2007 16:54:58 +0000
Subject: Re: [patch] Late static bindings (LSB)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-32360@lists.php.net to get a copy of this message
Since the call A::foo() is completely defined and that no "fall back" occurs, I guess "A" is more expected as a result of this script. Your patch will return B. I discussed this matter quite heavily on #php.pecl and the expectations were also that "A" should get returned here.
I think you are right, static:: is supposed to mean the context of the call, so if A::foo() is called then static means A. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#32360) next »