Re: PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var

From: Date: Thu, 10 Aug 2000 22:24:39 +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-28520@lists.php.net to get a copy of this message
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? regards -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#28520) next »