If I have a multidimensional associative array is it possible to use recursion to sum all the values? I can't figure out how to do this? Any ideas?
e.g.
$myArray = array (0=>19,
1=>32,
2=>array(0=>12,
1=>15
)
3=>9,
4=>array(0=>2,
1=>5
)
)