How can I replace a sub string with some other string for all items of an array in PHP?
I don\'t want to use a loop to do it. Is there a predefined function in PHP t
function my_replace_array($array,$key,$val){ for($i=0;$i