Hello,I'm not sure if this is the desired behavior and i don't want to submit a bogus bug report.
class A { public function f1() { var_dump($this->_b); } } class B { public $_b = 'stuff'; public function f2() { A::f1(); } } $b = new B(); $b->f2();At first i would expect an error since A was not instantiated, at most i would expect to return NULL but not 'stuff'.
Is this a bug ? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php