Re: Variable method names
| From: | Zeev Suraski | Date: | Mon, 24 Mar 2003 09:33:01 +0000 |
| Subject: | Re: Variable method names | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-205@lists.php.net to get a copy of this message | ||
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://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php