Bug #14992: Behaviour of $array = $array1 + $array2; not documented

From: Date: Fri, 11 Jan 2002 10:04:54 +0000
Subject: Bug #14992: Behaviour of $array = $array1 + $array2; not documented
Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-76596@lists.php.net to get a copy of this message
From: mfischer@php.net Operating system: PHP version: 4.1.1 PHP Bug Type: Documentation problem Bug description: Behaviour of $array = $array1 + $array2; not documented The behaviour of the following code doens't seem to be documented: <? $foo = array(27 => 'Ene'); $bar = array(-1 => 'Mene'); $baz = $foo + $bar; var_dump($baz); ?> array(2) { [27]=> string(3) "Ene" [-1]=> string(4) "Mene" } -- Edit bug report at: http://bugs.php.net/?id=14992&edit=1

« previous php.dev (#76596) next »