Re: 4.1.0RC2
| From: | Balazs Nagy | Date: | Sun, 18 Nov 2001 14:27:46 +0000 |
| Subject: | Re: 4.1.0RC2 | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70807@lists.php.net to get a copy of this message | ||
On Sun, Nov 18 2001, Derick Rethans <derick@php.net> 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