Pushing array onto array

From: Date: Sat, 02 Aug 2003 06:58:19 +0000
Subject: Pushing array onto array
Groups: php.general 
Request: Send a blank email to php-general+get-158038@lists.php.net to get a copy of this message
In comparing Perl's push to array_push in "PHP Developer's Cookbook" (2/e, p. 76), the authors note that pushing an array onto another produces a two-dimensional array. However, I have not been able to reproduce their example result, and php.net/array_push does not document this behavior. Just curious.

« previous php.general (#158038) next »