ID:               35494
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marek dot rybar at dial dot sk
-Status:           Open
+Status:           Bogus
 Bug Type:         Arrays related
 Operating System: Windows, Linux
 PHP Version:      5.1.1
 New Comment:

Expected behaviour.
Use array_merge_recursive() to get the result you expect.


Previous Comments:
------------------------------------------------------------------------

[2005-11-30 17:20:41] marek dot rybar at dial dot sk

Description:
------------
When I merge two arrays using + operator, result is array only with the
first array elements.

Reproduce code:
---------------
$arr1 = array(1, 2, 3);
$arr2 = array(5, 6, 7);
$arr = $arr1 + $arr2;

result $arr:
array(1, 2, 3)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35494&edit=1

Reply via email to