The short definition of shift and unshift were using the words

pop and push to describe their functions.  Made it less confusing.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58661 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Beckham 2001-09-28 16:07:14 +00:00
parent 7bc25ff72a
commit 71c1619673

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.102 $ -->
<!-- $Revision: 1.103 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@ -1162,7 +1162,7 @@ $d = array_reduce($x, "rsum", 1);
<refnamediv>
<refname>array_shift</refname>
<refpurpose>
Pop an element off the beginning of array
Shift an element off the beginning of array
</refpurpose>
</refnamediv>
<refsect1>
@ -1486,7 +1486,7 @@ array(2) {
<refnamediv>
<refname>array_unshift</refname>
<refpurpose>
Push one or more elements onto the beginning of array
Prepend one or more elements to the beginning of array
</refpurpose>
</refnamediv>
<refsect1>