#38266 [Opn->Bgs]: array += operator broken
| From: | tony2001@php.net | Date: | Mon, 31 Jul 2006 08:51:08 +0000 |
| Subject: | #38266 [Opn->Bgs]: array += operator broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100137@lists.php.net to get a copy of this message | ||
ID: 38266
Updated by: tony2001@php.net
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