On Sun, Nov 18 2001, Derick Rethans <[EMAIL PROTECTED]> wrote:

> I merged those patches. Can you try the latest CVS version?

Works well. BTW is this a feature?

<?php
$a = array('a'=>'A', 'b'=>'B');
$b = array('a' => 'newA');
$c = $a + $b;
$d = array_merge($a, $b);
var_dump($c);
var_dump($d);
?>

returns: 

X-Powered-By: PHP/4.1.0RC2
Content-type: text/html

array(2) {
  ["a"]=>
  string(1) "A"
  ["b"]=>
  string(1) "B"
}
array(2) {
  ["a"]=>
  string(4) "newA"
  ["b"]=>
  string(1) "B"
}
-- 
jul

-- 
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