From: jason at jasonjustman dot com Operating system: linux/windows PHP version: 4.4.2 PHP Bug Type: Arrays related Bug description: array += operator broken
Description: ------------ array += operator is now broken in 4.4.1 and 4.4.2 Reproduce code: --------------- <? $x = array("a","b","c"); $x +=array("d","e"); print_r($x); Expected result: ---------------- Array ( [0] => a [1] => b [2] => c [3] => d [4] => e) Actual result: -------------- Array ( [0] => a [1] => b [2] => c ) -- Edit bug report at http://bugs.php.net/?id=38266&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38266&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38266&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38266&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38266&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38266&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38266&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38266&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38266&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38266&r=support Expected behavior: http://bugs.php.net/fix.php?id=38266&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38266&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38266&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38266&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38266&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38266&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38266&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38266&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38266&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38266&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38266&r=mysqlcfg