Sebastian Bergmann wrote:
> 8     $this->foo = array(new Foo, new Foo);
> 9     foreach ($foo as $bar) {}

  s/$foo/$this->foo/ and this example works.

  Damn.

  That means I have to dig deeper into the application I spotted the issue
  I wanted to report.

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to