Re: [PHP-DEV] behaviour of static calls to regular methods
Yeah for BC sake, but if you define the function's as static explicitly it won't work. At 01:54 PM 6/21/2004 +0200, Ard Biesheuvel wrote: Is the fact that the following code works intentional ? class S { function func() { A::meth(); } } class A { private $b
[PHP-DEV] behaviour of static calls to regular methods
Is the fact that the following code works intentional ? class S { function func() { A::meth(); } } class A { private $bar; function meth() { $this->bar="bar"; } function func() { S::func();