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/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to