Date: 08/10/00
- Next message: Alan <email protected>: "[PHP-DEV] PHP 4.0 Bug #6104: popen returns -1"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6103 Updated: Unable to use chmod() or permission denied"
- In reply to: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var"
- Next in thread: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var"
- Reply: 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 ]
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.
Andi
At 10:18 AM 8/11/00 +0000, Bug Database wrote:
>ID: 5052
>Updated by: waldschrott
>Reported By: waldschrott <email protected>
>Status: Closed
>Bug Type: Scripting Engine problem
>Assigned To:
>Comments:
>
>IŽll give it a try, please tell me... did it has anything to
>
>do with ref-count at all?
>
>Why did $b=&$b work then it actually should do nothing but
>
>overwriting itself with exactly the same information....
>
>Full Bug description available at: http://bugs.php.net/?id=5052
>
>
>--
>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>
--- 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: Alan <email protected>: "[PHP-DEV] PHP 4.0 Bug #6104: popen returns -1"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6103 Updated: Unable to use chmod() or permission denied"
- In reply to: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var"
- Next in thread: waldschrott: "Re: [PHP-DEV] PHP 4.0 Bug #5052 Updated: Bug in ref-count(?) working with nested foreach() on copied var"
- Reply: 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 ]

