Re: unset in foreach breaks recrusion
| From: | Per Jessen | Date: | Mon, 30 Jun 2008 06:39:25 +0000 |
| Subject: | Re: unset in foreach breaks recrusion | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276119@lists.php.net to get a copy of this message | ||
David Sky wrote:
> Hello everyone!
>
> A couple of days ago I submitted a bug to PHP
> http://bugs.php.net/bug.php?id=45385
> But I was mistaken, apparently it's not a bug.
> And I was "sent" here to get help.
> [snip]
> So before I write a reply to the bug i submitted, I wanted to know
> if there's something I'm missing with this?
Did you read the explanation wrt foreach() operating on a copy of the
array?
/Per Jessen, Zürich