> -Original Message-
> From: Jonathan Sachs [mailto:081...@jhsachs.com]
> Sent: 20 October 2010 04:48
> To: php-general@lists.php.net
> Subject: [PHP] Possible foreach bug; seeking advice to isolate the
> problem
>
> I've got a script which originally contained the following piece of
> cod
On 20/10/2010 05:47, Jonathan Sachs wrote:
I've got a script which originally contained the following piece of
code:
foreach ( $objs as $obj ) {
do_some_stuff($obj);
}
When I tested it, I found that on every iteration of the loop the last
element of $objs was assigned the value of the curr
2 matches
Mail list logo