I have a multidimensional array like this (please ignore the strlen):
array(2) {
["document"]=>
array(16) {
[0]=>
string(14) "Value1"
[1]=>
string(4) "Value2"
[2]=>
string(30) "Value3"
...
And I want to call "strtoupper" for every element (Value1, Value2, etc.) on each level of the multidimensional array (document, etc.).
I tried array_walk_recursive($array, "strtoupper"); but it doesn't work. But why, what can I do?