Re: [PHP-DEV] PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var From: waldschrott (waldschrott <email protected>)
Date: 08/10/00

> 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 <email protected>  | O   ° o           °
o-¬--o--0-----©-·--O-----o-----0-¤----------o  0 °  · °  .  ¤ ·

-- 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>