hholzgra                Mon Nov 28 11:35:56 2005 EDT

  Modified files:              
    /phpdoc/en/reference/math/functions max.xml min.xml 
  Log:
  PHP never behaved as documented here, checked all the way back to 3.0.18 ...
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/max.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc/en/reference/math/functions/max.xml
diff -u phpdoc/en/reference/math/functions/max.xml:1.6 
phpdoc/en/reference/math/functions/max.xml:1.7
--- phpdoc/en/reference/math/functions/max.xml:1.6      Wed Aug 18 10:15:18 2004
+++ phpdoc/en/reference/math/functions/max.xml  Mon Nov 28 11:35:53 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
   <refentry id="function.max">
    <refnamediv>
@@ -34,8 +34,9 @@
       PHP will evaluate a non-numeric <type>string</type> as 
       <literal>0</literal>, but still return the string if it's seen as the
       numerically highest value.  If multiple arguments evaluate to
-      <literal>0</literal>, <function>max</function> will use the first one
-      it sees (the leftmost value).
+      <literal>0</literal>, <function>max</function> will return a numeric
+      <literal>0</literal> if given, else the alphabetical highest string
+      value will be returned.
      </para>
     </note>
     <para>
http://cvs.php.net/diff.php/phpdoc/en/reference/math/functions/min.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/math/functions/min.xml
diff -u phpdoc/en/reference/math/functions/min.xml:1.5 
phpdoc/en/reference/math/functions/min.xml:1.6
--- phpdoc/en/reference/math/functions/min.xml:1.5      Wed Aug 18 10:15:18 2004
+++ phpdoc/en/reference/math/functions/min.xml  Mon Nov 28 11:35:53 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
 <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
   <refentry id="function.min">
    <refnamediv>
@@ -34,8 +34,9 @@
       PHP will evaluate a non-numeric <type>string</type> as 
       <literal>0</literal>, but still return the string if it's seen as the
       numerically lowest value.  If multiple arguments evaluate to
-      <literal>0</literal>, <function>min</function> will use the first one
-      it sees (the leftmost value).
+      <literal>0</literal>, <function>min</function> will return the lowest
+      alphanumerical string value if any strings are given, else a numeric
+      <literal>0</literal> is returned.
      </para>
     </note>
     <para>

Reply via email to