note 27603 added to function.array-push
| From: | php-general at lists dot php dot net | Date: | Thu, 12 Dec 2002 20:08:20 +0000 |
| Subject: | note 27603 added to function.array-push | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40804@lists.php.net to get a copy of this message | ||
The statement "treats array as a stack, and pushes the passed variables onto the end of
array" should actually state that the array is treated as a queue. If it were a stack, the new
element would be pushed onto the top of the array, not the bottom.
--
http://www.php.net/manual/en/function.array-push.php
http://master.php.net/manage/user-notes.php?action=edit+27603
http://master.php.net/manage/user-notes.php?action=delete+27603
http://master.php.net/manage/user-notes.php?action=reject+27603