How to get depth of array in PHP?
- by user198729
'test2' =>
array
'name' => string 'ntuser.dat.LOG' (length=14)
'type' => string 'application/octet-stream' (length=24)
'tmp_name' => string 'D:\wamp\tmp\php224.tmp' (length=22)
'error' => int 0
'size' => int 0
The above should be depth of 2.