note 48290 added to language.types.array
| From: | koldbaek at nospam dot example dot com | Date: | Fri, 17 Dec 2004 23:20:06 +0000 |
| Subject: | note 48290 added to language.types.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81950@lists.php.net to get a copy of this message | ||
In response to the most recent post, by Joe Morrison:
There is no surprise in the way array_pop works. The last element you have pushed into the array (on
the stack) is also the one you will be taking out when you do an array_pop.
And I think this is the way pop and push works in any other programming languages.
----
Manual Page -- http://www.php.net/manual/en/language.types.array.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48290
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48290&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48290&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48290&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48290&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48290&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48290&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48290&report=yes
Search -- http://master.php.net/manage/user-notes.php