note 94369 added to function.array-push
| From: | john at rfnsoftware dot com | Date: | Fri, 30 Oct 2009 18:15:19 +0000 |
| Subject: | note 94369 added to function.array-push | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162294@lists.php.net to get a copy of this message | ||
Ok it said not to report this as a bug - so where else am I to present this:
array_push(<arrayname>, <value>) as well as <arrayname>[] = <value> do NOT
operate like a stack for me at all. PHP Version 5.2.6-2ubuntu4.3 is what we are running. No matter
what I try, it APPENDS as in a queue. Is there a configuration option that someone thought was a
good idea? Again, how do you PUSH an element on to an Array? FIFO.
----
Server IP: 69.147.83.197
Probable Submitter: 75.71.31.158
----
Manual Page -- http://www.php.net/manual/en/function.array-push.php
Edit -- https://master.php.net/note/edit/94369
Del: integrated -- https://master.php.net/note/delete/94369/integrated
Del: useless -- https://master.php.net/note/delete/94369/useless
Del: bad code -- https://master.php.net/note/delete/94369/bad+code
Del: spam -- https://master.php.net/note/delete/94369/spam
Del: non-english -- https://master.php.net/note/delete/94369/non-english
Del: in docs -- https://master.php.net/note/delete/94369/in+docs
Del: other reasons-- https://master.php.net/note/delete/94369
Reject -- https://master.php.net/note/reject/94369
Search -- https://master.php.net/manage/user-notes.php