Hello.
I have a multidimensional array with strings as keys. I want to perform a function (to manipulate the strings) on those keys and then write to a new array (i.e. leave the original array unchanged).
Example:
$oldArr = array( "foo_old" => array("moo_old" => 1234, "woo_old" => 5678); "bar_old" => array("car_old" => 4321, "tar_old" => 8765); );
Becomes:
$newArr = array( "foo_new" => array("moo_new" => 1234, "woo_new" => 5678); "bar_new" => array("car_new" => 4321, "tar_new" => 8765); );
This is just an example, the actual array has more levels/dimensions. Oh and my function doesn't replace "_old" with "_new", again, just an example.
I hope I made some sense, thanks in advance!