Re: PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var
| From: | Andi Gutmans | Date: | Thu, 10 Aug 2000 22:29:15 +0000 |
| Subject: | Re: PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28522@lists.php.net to get a copy of this message | ||
At 12:24 AM 8/11/00 +0200, waldschrott wrote:
Haven't checked but it makes sense. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/Yes it had to do with refcount. $a and $b where pointing at each other but foreach() didn't care and didn't split them before running. This meant that moving the internal pointer forward in one array effected the other.ahhh, am I right then that $b=&$b did split them manually?