note 94369 rejected from function.array-push by danbrown

From: Date: Fri, 30 Oct 2009 18:22:52 +0000
Subject: note 94369 rejected from function.array-push by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-162295@lists.php.net to get a copy of this message
Note Submitter: john at rfnsoftware dot com ---- 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.

« previous php.notes (#162295) next »