Re: Is this a bug?

From: Date: Fri, 20 Jul 2001 12:31:55 +0000
Subject: Re: Is this a bug?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60384@lists.php.net to get a copy of this message
At 02:31 PM 7/20/2001 +0200, Sebastian Bergmann wrote:
Andi Gutmans wrote:
    $foo->$method;                   // does not work
    $bar->$method;                   // does not work
This should be $foo->$method() and $bar->$method() Gotcha. This works fine. How could I forget the braces?
I don't quite understand. Why not write them? :) Andi

« previous php.dev (#60384) next »