Edit report at https://bugs.php.net/bug.php?id=29992&edit=1
ID: 29992
Comment by: looris at gmail dot com
Reported by:fletch at pobox dot com
Summary:foreach by reference corrupts the array
Status: Not a bug
Type:
From: looris at gmail dot com
Operating system: debian stable
PHP version: 5.2.10
PHP Bug Type: Unknown/Other Function
Bug description: very bizarre loops with decimal numbers
Description:
Just look at the code.
Reproduce code:
---
Expected result
ID: 49300
User updated by: looris at gmail dot com
Reported By: looris at gmail dot com
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: debian stable
PHP Version: 5.2.10
New Comment:
what are you talking about? string
ID: 49300
User updated by: looris at gmail dot com
Reported By: looris at gmail dot com
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: debian stable
PHP Version: 5.2.10
New Comment:
unfortunatly, you do not understand how
ID: 49300
User updated by: looris at gmail dot com
Reported By: looris at gmail dot com
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: debian stable
PHP Version: 5.2.10
New Comment:
actually, it's supposed to do just this
Edit report at http://bugs.php.net/bug.php?id=29992&edit=1
ID: 29992
Comment by: looris at gmail dot com
Reported by: fletch at pobox dot com
Summary: foreach by reference corrupts the array
Status: Bogus
Type: Bug
Pac
From:
Operating system: linux, osx, (any?)
PHP version: Irrelevant
Package: Arrays related
Bug Type: Bug
Bug description:inconsistency using uninitialized array elements
Description:
While I agree that it would be better to actually initialize elemen