ID: 38266 Updated by: [EMAIL PROTECTED] Reported By: jason at jasonjustman dot com -Status: Open +Status: Bogus Bug Type: Arrays related Operating System: linux/windows PHP Version: 4.4.2 New Comment:
This is how it works in 4.3.0, 4.3.6, 4.3.11, 5.0.x. No bug here. Previous Comments: ------------------------------------------------------------------------ [2006-07-31 08:38:14] jason at jasonjustman dot com 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 this bug report at http://bugs.php.net/?id=38266&edit=1