The problem with array values
I am having a problem where a subroutine (which I cannot change) returns me either a 3 nested array or a 2 nested array. The keyword values ββare never the same, however I would like to normalize the nesting so that I can make two nested arrays 3 levels each time to avoid "Note: Undefined index:". Or, if possible, try counting the number of levels deep in the array so that I can code the code accordingly.
0
a source to share