Variable method names

From: Date: Sun, 23 Mar 2003 22:45:33 +0000
Subject: Variable method names
Groups: php.internals 
Request: Send a blank email to internals+get-202@lists.php.net to get a copy of this message
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 http://www.tip4all.de - Deine private Tippgemeinschaft

« previous php.internals (#202) next »