Re: [PHP-DEV] Is this a bug? From: Andi Gutmans (andi <email protected>)
Date: 07/20/01

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>