cvs: phpdoc /en/reference/array/functions array-pop.xml
| From: | Florian Anderiasch | Date: | Fri, 02 May 2008 21:24:19 +0000 |
| Subject: | cvs: phpdoc /en/reference/array/functions array-pop.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1586@lists.php.net to get a copy of this message | ||
fa Fri May 2 21:24:19 2008 UTC
Modified files:
/phpdoc/en/reference/array/functions array-pop.xml
Log:
clarified: warning on non-array, bug #44844
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/array/functions/array-pop.xml?r1=1.14&r2=1.15&diff_format=u
Index: phpdoc/en/reference/array/functions/array-pop.xml
diff -u phpdoc/en/reference/array/functions/array-pop.xml:1.14
phpdoc/en/reference/array/functions/array-pop.xml:1.15
--- phpdoc/en/reference/array/functions/array-pop.xml:1.14 Wed Jun 20 22:24:15 2007
+++ phpdoc/en/reference/array/functions/array-pop.xml Fri May 2 21:24:19 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.array-pop">
<refnamediv>
<refname>array_pop</refname>
@@ -17,7 +17,9 @@
the <parameter>array</parameter>, shortening the
<parameter>array</parameter> by one element.
If <parameter>array</parameter> is empty (or is not an array),
- &null; will be returned.
+ &null; will be returned. Will additionally produce a
+ <link linkend="errorfunc.constants.errorlevels.e-warning">Warning</link>
+ when called on a non-array.
</para>
&array.resetspointer;
</refsect1>