Re: foreach() broken
| From: | Sebastian Bergmann | Date: | Sun, 14 Sep 2003 09:01:29 +0000 |
| Subject: | Re: foreach() broken | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4469@lists.php.net to get a copy of this message | ||
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/