Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:202 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15934 invoked from network); 23 Mar 2003 22:45:38 -0000 Received: from unknown (HELO ammma.de) (213.83.39.131) by pb1.pair.com with SMTP; 23 Mar 2003 22:45:38 -0000 Received: from ammma.net (ammma.net [62.225.101.66]) by ammma.de (8.11.6/8.11.6/AMMMa AG) with ESMTP id h2NMjHR15052 for ; Sun, 23 Mar 2003 23:45:17 +0100 Received: from neo.wg.de (jan.ammma.mil [192.168.100.11]) by ammma.net (8.9.3/8.9.3/AMMMa AG) with ESMTP id XAA08224 for ; Sun, 23 Mar 2003 23:45:35 +0100 Received: by neo.wg.de (Postfix, from userid 30) id 94CFD4F54B; Sun, 23 Mar 2003 23:45:35 +0100 (CET) Received: from laptop.wg.de (laptop.wg.de [192.168.60.3]) by jan.dip.ammma.net (Horde) with HTTP for ; Sun, 23 Mar 2003 23:45:33 +0100 Message-ID: <1048459533.0b6c198fafdf0@jan.dip.ammma.net> X-Priority: 3 (Normal) Date: Sun, 23 Mar 2003 23:45:33 +0100 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Subject: Variable method names From: jan@horde.org (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 http://www.tip4all.de - Deine private Tippgemeinschaft