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 function w3rfunction($value,$key) { echo "The key $key has the value $value
"; } $tutorial1=array("x"=>"india","y"=>"Pakistan"); $tutorial2=array($tutorial1,"1"=>"China","2"=>"Japan"); array_walk_recursive($tutorial2,"w3rfunction"); ?>