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