From: [EMAIL PROTECTED] Operating system: any PHP version: 4.0.6 PHP Bug Type: Documentation problem Bug description: Missing $result in example
In array_merge example we have: $array1 = array ("color" => "red", 2, 4); $array2 = array ("a", "b", "color" => "green", "shape" => "trapezoid", 4); array_merge ($array1, $array2); But since array_merge returns an array it should look like this: $array1 = array ("color" => "red", 2, 4); $array2 = array ("a", "b", "color" => "green", "shape" => "trapezoid", 4); $result = array_merge ($array1, $array2); Just like in array_merge_recursive(). -- Edit bug report at: http://bugs.php.net/?id=14176&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]