From:             [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to