note 38466 deleted from function.array-merge-recursive by vincent
| From: | vincent@php.net | Date: | Mon, 22 Dec 2003 22:39:25 +0000 |
| Subject: | note 38466 deleted from function.array-merge-recursive by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62362@lists.php.net to get a copy of this message | ||
Note Submitter: cp {at} u-help.org
----
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?