svn: /phpdoc/en/trunk/reference/math/functions/ max.xml min.xml
| From: | Thomas Punt | Date: | Fri, 18 Dec 2015 20:36:10 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/math/functions/ max.xml min.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13917@lists.php.net to get a copy of this message | ||
tpunt Fri, 18 Dec 2015 20:36:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338308
Log:
Resolve doc bug #70596
Bug: https://bugs.php.net/70596 (Open) No description of
warning for min(array())
Changed paths:
U phpdoc/en/trunk/reference/math/functions/max.xml
U phpdoc/en/trunk/reference/math/functions/min.xml
Modified: phpdoc/en/trunk/reference/math/functions/max.xml
===================================================================
--- phpdoc/en/trunk/reference/math/functions/max.xml 2015-12-18 20:08:14 UTC (rev 338307)
+++ phpdoc/en/trunk/reference/math/functions/max.xml 2015-12-18 20:36:10 UTC (rev 338308)
@@ -81,6 +81,11 @@
comparisons. If multiple values of different types evaluate as equal (e.g.
<literal>0</literal>
and <literal>'abc'</literal>) the first provided to the function will be
returned.
</para>
+
+ <para>
+ If an empty array is passed, then &false; will be returned and an
+ <constant>E_WARNING</constant> error will be emitted.
+ </para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
Modified: phpdoc/en/trunk/reference/math/functions/min.xml
===================================================================
--- phpdoc/en/trunk/reference/math/functions/min.xml 2015-12-18 20:08:14 UTC (rev 338307)
+++ phpdoc/en/trunk/reference/math/functions/min.xml 2015-12-18 20:36:10 UTC (rev 338308)
@@ -81,6 +81,11 @@
comparisons. If multiple values of different types evaluate as equal (e.g.
<literal>0</literal>
and <literal>'abc'</literal>) the first provided to the function will be
returned.
</para>
+
+ <para>
+ If an empty array is passed, then &false; will be returned and an
+ <constant>E_WARNING</constant> error will be emitted.
+ </para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;