note 38466 added to function.array-merge-recursive
| From: | cp{at}u-help dot org at rn2 dot php dot net | Date: | Mon, 22 Dec 2003 22:38:47 +0000 |
| Subject: | note 38466 added to function.array-merge-recursive | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62361@lists.php.net to get a copy of this message | ||
hmmm... it seems that despite the recursive abilities of this function, it doesn't seem to be
capable of handling only one parameter which is an array holding two arrays , ... holding three
arrays ....
this means, you've got to somehow break down the root array of yours into several arrays
(possibly next level arrays) which in turn poses a problem if you don't know the amount of
possible subitems.
If you recursively pick out the items in the parent(-/root) array , then you have no means of
supplying them as parameters to the function .... (or at least I don't know of any yet , any
attemps to supply them as comma separated list,or via implode(),split(), etc have failed sofar) ....
anyone found a way around it?
----
Manual Page -- http://www.php.net/manual/en/function.array-merge-recursive.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38466
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38466&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38466&report=yes
Search -- http://master.php.net/manage/user-notes.php