note 51081 added to function.array-merge
| From: | ron dot harvey at blueyonder dot co dot uk | Date: | Fri, 18 Mar 2005 23:29:37 +0000 |
| Subject: | note 51081 added to function.array-merge | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86669@lists.php.net to get a copy of this message | ||
"If the input arrays have the same string keys, then the later value for that key will
overwrite the previous one."
Huh?
What the hell does it mean?
According to what does a function know that one variable is "later" than another?
Or more to the point, how am I supposed to know which of any two congruent variables it will treat
as such?
----
Manual Page -- http://www.php.net/manual/en/function.array-merge.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51081
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51081&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51081&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51081&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51081&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51081&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51081&report=yes
Search -- http://master.php.net/manage/user-notes.php