note 22125 added to function.array-merge

From: Date: Fri, 07 Jun 2002 14:17:18 +0000
Subject: note 22125 added to function.array-merge
Groups: php.notes 
Request: Send a blank email to php-notes+get-31563@lists.php.net to get a copy of this message
I couldn't get the + to work, instead I used: foreach($array1 as $key => $val) { $result[] = $val; } foreach($array2 as $key => $val) { $result[] = $val; } -- http://www.php.net/manual/en/function.array-merge.php http://master.php.net/manage/user-notes.php?action=edit+22125 http://master.php.net/manage/user-notes.php?action=delete+22125 http://master.php.net/manage/user-notes.php?action=reject+22125

« previous php.notes (#31563) next »