Date: 08/10/00
- Next message: Zak Greant: "Re: [PHP-DEV] Request for comment"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Request for comment"
- In reply to: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 12:24 AM 8/11/00 +0200, waldschrott wrote:
>>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?
Haven't checked but it makes sense.
Andi
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- 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>
- Next message: Zak Greant: "Re: [PHP-DEV] Request for comment"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Request for comment"
- In reply to: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

