On Mar 2, 2006, at 2:23 PM, Andi Gutmans wrote:
Do you expect significant BC breakage?
Hello Andi,
Here is an example where changing self to late binding would change
behavior:
class A {
static $a = "hello world";
static function getA() {
return self::$a;
}
}
class B extends A {
static function dosomething() {
echo self::getA();
}
}
B::dosomething();
If self becomes late binding, the location of self::$a jumps from A to
B, where it is undefined. Is kind of thing significant in the wild? I
don't know.
Regards,
Jeff
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php