note 9465 deleted from array_push by torben

From: Date: Sun, 05 Nov 2000 02:55:38 +0000
Subject: note 9465 deleted from array_push by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-7386@lists.php.net to get a copy of this message
array_push in PHP 4.0.3pl1 does not properly push array values onto another array. Instead of appending all of the array values onto the first array, the entire second array is added under a single new key entry. Eg: array_push($array1,$array2) is the same as doing $array1["newkey"] = $array2

« previous php.notes (#7386) next »