note 69247 added to ref.array
| From: | ob at babcom dot biz | Date: | Mon, 28 Aug 2006 15:18:08 +0000 |
| Subject: | note 69247 added to ref.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116437@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 66.163.161.117
Probable Submitter: 84.185.213.97
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.array.php
Edit -- https://master.php.net/note/edit/69247
Del: integrated -- https://master.php.net/note/delete/69247/integrated
Del: useless -- https://master.php.net/note/delete/69247/useless
Del: bad code -- https://master.php.net/note/delete/69247/bad+code
Del: spam -- https://master.php.net/note/delete/69247/spam
Del: non-english -- https://master.php.net/note/delete/69247/non-english
Del: in docs -- https://master.php.net/note/delete/69247/in+docs
Del: other reasons-- https://master.php.net/note/delete/69247
Reject -- https://master.php.net/note/reject/69247
Search -- https://master.php.net/manage/user-notes.php