note 69247 deleted from ref.array by levim
| From: | levim@php.net | Date: | Tue, 06 May 2014 22:10:37 +0000 |
| Subject: | note 69247 deleted from ref.array by levim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-199469@lists.php.net to get a copy of this message | ||
Note Submitter: ob at babcom dot biz
----
Regarding my own posting 2 postings down about the function ArrayDepth() to find the maximum depth
of a multidimensional array:
A number of functions for counting array dimensions have been posted. And I tried using them. Yet,
if at all they only return the depth of the first branch of the array. They can not handle arrays
where a later path holds a more dimension than the first.
My version will check all paths down the array and return the maximum depth. That's why I
posted it.