Re: [PHP-DEV] Variable method names

2003-03-24 Thread Zeev Suraski
There is a reason, but it is a bug :) Zeev At 14:45 23/03/2003, Jan Schneider wrote: Is there a reason or is it a bug that the following code doesn't work anymore? class Foo { function bar() { echo "bar"; } } $method = "bar"; Foo::$method(); parse error, unexpected '(' Jan. -- http

[PHP-DEV] Variable method names

2003-03-23 Thread Jan Schneider
Is there a reason or is it a bug that the following code doesn't work anymore? class Foo { function bar() { echo "bar"; } } $method = "bar"; Foo::$method(); parse error, unexpected '(' Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge htt