Bug #62110 [Com]: Foreach creates a copy of the array passed by value in function

2012-05-23 Thread a dot protaskin at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=62110&edit=1 ID: 62110 Comment by: a dot protaskin at gmail dot com Reported by: a dot protaskin at gmail dot com Summary:Foreach creates a copy of the array passed by value

Bug #62123 [Com]: Foreach changes the internal pointer of the array strangely

2012-05-23 Thread a dot protaskin at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=62123&edit=1 ID: 62123 Comment by: a dot protaskin at gmail dot com Reported by: a dot protaskin at gmail dot com Summary:Foreach changes the internal pointer of the array stran

[PHP-BUG] Bug #62123 [NEW]: Foreach changes the internal pointer of the array strangely

2012-05-23 Thread a dot protaskin at gmail dot com
From: Operating system: Linux PHP version: 5.4.3 Package: Arrays related Bug Type: Bug Bug description:Foreach changes the internal pointer of the array strangely Description: Traversing the array changes once the internal pointer by 1. Traversing th

[PHP-BUG] Bug #62110 [NEW]: Foreach creates a copy of the array passed by value in function

2012-05-22 Thread a dot protaskin at gmail dot com
From: Operating system: Arch Linux PHP version: 5.4.3 Package: Performance problem Bug Type: Bug Bug description:Foreach creates a copy of the array passed by value in function Description: I also tried to execute this code on PHP 5.3.13 and PHP 5.2.