note 125435 added to function.array-replace-recursive
| From: | DavidSpector@php.net | Date: | Tue, 13 Oct 2020 12:18:58 +0000 |
| Subject: | note 125435 added to function.array-replace-recursive | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215578@lists.php.net to get a copy of this message | ||
It seemed to me that the first argument is passed by reference, so it will contain the results of
this operation, but experiment shows that this is not true. The array value from the first argument
is modified by each succeeding argument, and the result is returned to the caller. The array passed
as the first argument is not modified.
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.172 (proxied: 98.2.238.89)
----
Manual Page -- http://php.net/manual/en/function.array-replace-recursive.php
Edit -- https://master.php.net/note/edit/125435
Del: integrated -- https://master.php.net/note/delete/125435/integrated
Del: useless -- https://master.php.net/note/delete/125435/useless
Del: bad code -- https://master.php.net/note/delete/125435/bad+code
Del: spam -- https://master.php.net/note/delete/125435/spam
Del: non-english -- https://master.php.net/note/delete/125435/non-english
Del: in docs -- https://master.php.net/note/delete/125435/in+docs
Del: other reasons-- https://master.php.net/note/delete/125435
Reject -- https://master.php.net/note/reject/125435
Search -- https://master.php.net/manage/user-notes.php