Result Size:
625 x 571
tryphp_func_array_replace2.php:
<!DOCTYPE html> <html> <body> <?php $a1=array("a"=>"red","b"=>"green"); $a2=array("a"=>"orange","burgundy"); print_r(array_replace($a1,$a2)); ?> </body> </html>
Array ( [a] => orange [b] => green [0] => burgundy )