Re: Is this a bug?
| From: | Sebastian Bergmann | Date: | Fri, 20 Jul 2001 12:31:00 +0000 |
| Subject: | Re: Is this a bug? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60383@lists.php.net to get a copy of this message | ||
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?
--
Sebastian Bergmann Measure Traffic & Usability
http://sebastian-bergmann.de/ http://phpOpenTracker.de/