Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95610 invoked from network); 24 Mar 2003 09:33:56 -0000 Received: from unknown (HELO marco.bezeqint.net) (192.115.106.37) by pb1.pair.com with SMTP; 24 Mar 2003 09:33:56 -0000 Received: from mr5.bezeqint.net (pip-17.bezeqint.net [192.115.106.17]) by marco.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id 29BF6E6E for ; Mon, 24 Mar 2003 11:31:55 +0200 (IST) Received: from mail.zend.com (bzq-117-235-230.cust.bezeqint.net [192.117.235.230]) by mr5.bezeqint.net (Mirapoint Messaging Server MOS 3.2.2-GA) with SMTP id ADL33088; Mon, 24 Mar 2003 11:33:36 +0200 (IST) Received: (qmail 9594 invoked from network); 24 Mar 2003 09:33:25 -0000 Received: from localhost (HELO zeev-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 24 Mar 2003 09:33:25 -0000 Reply-To: zeev@zend.com Message-ID: <5.1.0.14.2.20030324013207.050bec50@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 24 Mar 2003 01:33:01 -0800 To: Jan Schneider Cc: internals@lists.php.net In-Reply-To: <1048459533.0b6c198fafdf0@jan.dip.ammma.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Variable method names From: zeev@zend.com (Zeev Suraski) References: <1048459533.0b6c198fafdf0@jan.dip.ammma.net> 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