note 68096 added to function.array-merge
| From: | chris at luethy dot net | Date: | Thu, 13 Jul 2006 00:36:53 +0000 |
| Subject: | note 68096 added to function.array-merge | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114722@lists.php.net to get a copy of this message | ||
Do not use this to set the $_SESSION variable.
$_SESSION = array_merge( $_SESSION, $another_array );
will break your $_SESSION until the end of the execution of that page.
----
Server IP: 216.194.113.175
Probable Submitter: 71.109.103.102
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.array-merge.php
Edit -- http://master.php.net/note/edit/68096
Del: integrated -- http://master.php.net/note/delete/68096/integrated
Del: useless -- http://master.php.net/note/delete/68096/useless
Del: bad code -- http://master.php.net/note/delete/68096/bad+code
Del: spam -- http://master.php.net/note/delete/68096/spam
Del: non-english -- http://master.php.net/note/delete/68096/non-english
Del: in docs -- http://master.php.net/note/delete/68096/in+docs
Del: other reasons-- http://master.php.net/note/delete/68096
Reject -- http://master.php.net/note/reject/68096
Search -- http://master.php.net/manage/user-notes.php