Date: 06/29/00
- Next message: Sascha Schumann: "Re: [PHP-DEV] Problem with CGI on Windows in 4.0.1!"
- Previous message: Andi Gutmans: "[PHP-DEV] New 4.0.1 binaries"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #5270: Nested foreach() using a copy of the same array does not work properly."
- Next in thread: Daniel Beckham: "Re: [PHP-DEV] PHP 4.0 Bug #5270: Nested foreach() using a copy of the same array does not work properly."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 29 Jun 2000, Stanislav Malyshev wrote:
> I fear that won't help. The problem here is not that it moves the pointer,
> the problem seems to be that both foreach's actually work on the same
> array (because you do not modify it, so it tries to be "smart" and makes
> second array copy of the first).
That may be foreach's problem, but I still think updating certain
functions so that they don't modify the internal pointer would be good.
-Andrei
"The secret of flying is to throw yourself
at the ground, and miss." -- Douglas Adams
-- 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>
- Next message: Sascha Schumann: "Re: [PHP-DEV] Problem with CGI on Windows in 4.0.1!"
- Previous message: Andi Gutmans: "[PHP-DEV] New 4.0.1 binaries"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #5270: Nested foreach() using a copy of the same array does not work properly."
- Next in thread: Daniel Beckham: "Re: [PHP-DEV] PHP 4.0 Bug #5270: Nested foreach() using a copy of the same array does not work properly."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

