note 108527 added to function.array-replace
| From: | Alex | Date: | Fri, 04 May 2012 04:58:36 +0000 |
| Subject: | note 108527 added to function.array-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-187463@lists.php.net to get a copy of this message | ||
Why this function adds not existing elements from the 2nd array? It must only replace the values and
that's all!
Otherwise this function is exactly the same as array_merge()!
----
Server IP: 69.147.83.197
Probable Submitter: 109.161.223.33
----
Manual Page -- http://www.php.net/manual/en/function.array-replace.php
Edit -- https://master.php.net/note/edit/108527
Del: integrated -- https://master.php.net/note/delete/108527/integrated
Del: useless -- https://master.php.net/note/delete/108527/useless
Del: bad code -- https://master.php.net/note/delete/108527/bad+code
Del: spam -- https://master.php.net/note/delete/108527/spam
Del: non-english -- https://master.php.net/note/delete/108527/non-english
Del: in docs -- https://master.php.net/note/delete/108527/in+docs
Del: other reasons-- https://master.php.net/note/delete/108527
Reject -- https://master.php.net/note/reject/108527
Search -- https://master.php.net/manage/user-notes.php