vrana           Fri Aug 17 16:34:41 2007 UTC

  Modified files:              
    /phpdoc/en/reference/math/functions max.xml min.xml 
  Log:
  Convert non-numeric strings to 0 only if compared to integer (bug #38883)
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/max.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/math/functions/max.xml
diff -u phpdoc/en/reference/math/functions/max.xml:1.11 
phpdoc/en/reference/math/functions/max.xml:1.12
--- phpdoc/en/reference/math/functions/max.xml:1.11     Wed Jun 20 22:24:51 2007
+++ phpdoc/en/reference/math/functions/max.xml  Fri Aug 17 16:34:40 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
 <refentry xmlns="http://docbook.org/ns/docbook"; xml:id="function.max">
  <refnamediv>
   <refname>max</refname>
@@ -27,7 +27,7 @@
   <note>
    <para>
     PHP will evaluate a non-numeric <type>string</type> as 
-    <literal>0</literal>, but still return the string if it's seen as the
+    <literal>0</literal> if compared to <type>integer</type>, 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 return a numeric
     <literal>0</literal> if given, else the alphabetical highest string
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/min.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/math/functions/min.xml
diff -u phpdoc/en/reference/math/functions/min.xml:1.10 
phpdoc/en/reference/math/functions/min.xml:1.11
--- phpdoc/en/reference/math/functions/min.xml:1.10     Wed Jun 20 22:24:51 2007
+++ phpdoc/en/reference/math/functions/min.xml  Fri Aug 17 16:34:41 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
 <refentry xmlns="http://docbook.org/ns/docbook"; xml:id="function.min">
  <refnamediv>
   <refname>min</refname>
@@ -25,7 +25,7 @@
   <note>
    <para>
     PHP will evaluate a non-numeric <type>string</type> as 
-    <literal>0</literal>, but still return the string if it's seen as the
+    <literal>0</literal> if compared to <type>integer</type>, 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 return the lowest
     alphanumerical string value if any strings are given, else a numeric

Reply via email to