PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.
<?php $colors_wallx = array("a"=>array("pink"),"b"=>array("orange","red"),); $colors_wally = array("a"=>array("yellow"),"b"=>array("black")); print_r(array_replace_recursive($colors_wallx, $colors_wally)); /* Output — Array ( [a] => Array ( [0] => yellow ) [b] => Array ( [0] => black [1] => red ) ) */ ?>