colder          Fri Jun 15 16:08:49 2007 UTC

  Modified files:              
    /phpdoc/en/reference/math/functions min.xml max.xml 
  Log:
  fix bogous port to new style
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/min.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/math/functions/min.xml
diff -u phpdoc/en/reference/math/functions/min.xml:1.8 
phpdoc/en/reference/math/functions/min.xml:1.9
--- phpdoc/en/reference/math/functions/min.xml:1.8      Sat Mar 31 11:20:54 2007
+++ phpdoc/en/reference/math/functions/min.xml  Fri Jun 15 16:08:49 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <refentry id="function.min">
  <refnamediv>
   <refname>min</refname>
@@ -9,24 +9,18 @@
   &reftitle.description;
    <methodsynopsis>
     <type>mixed</type><methodname>min</methodname>
-    <methodparam><type>number</type><parameter>arg1</parameter></methodparam>
-    <methodparam><type>number</type><parameter>arg2</parameter></methodparam>
-    <methodparam 
choice="opt"><type>number</type><parameter>...</parameter></methodparam>
+    <methodparam><type>array</type><parameter>values</parameter></methodparam>
    </methodsynopsis>
    <methodsynopsis>
     <type>mixed</type><methodname>min</methodname>
-    <methodparam><type>array</type><parameter>numbers</parameter></methodparam>
+    <methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
+    <methodparam><type>mixed</type><parameter>value2</parameter></methodparam>
+    <methodparam 
choice="opt"><type>mixed</type><parameter>value3...</parameter></methodparam>
    </methodsynopsis>
   <para>
-   <function>min</function> returns the numerically lowest of the
-   parameter values.
-  </para>
-  <para>
    If the first and only parameter is an array, <function>min</function>
-   returns the lowest value in that array.  If the first parameter
-   is an integer, string or float, you need at least two parameters
-   and <function>min</function> returns the smallest of these values.
-   You can compare an unlimited number of values.
+   returns the lowest value in that array. If at least two parameters are 
+   provided, <function>min</function> returns the smallest of these values.
   </para>
   <note>
    <para>
@@ -38,6 +32,31 @@
     <literal>0</literal> is returned.
    </para>
   </note>
+ </refsect1>
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>values</parameter></term>
+     <listitem>
+      <para>
+       An array containing the values.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   <function>min</function> returns the numerically lowest of the
+   parameter values.
+  </para>
+ </refsect1>
+ <refsect1 role="examples">
+  &reftitle.examples;
   <para>
    <example>
     <title>Example uses of <function>min</function></title>
@@ -63,43 +82,13 @@
     </programlisting>
    </example>
   </para>
-  <para>
-   See also <function>max</function> and
-   <function>count</function>.
-  </para>
- </refsect1>
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  <para>
-   <variablelist>
-    <varlistentry>
-     <term><parameter> </parameter></term>
-     <listitem>
-      <para>
-
-      </para>
-     </listitem>
-    </varlistentry>
-   </variablelist>
-  </para>
- </refsect1>
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-
-  </para>
- </refsect1>
- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-
-  </para>
  </refsect1>
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
    <simplelist>
-    <member><function> </function></member>
+    <member><function>max</function></member>
+    <member><function>count</function></member>
    </simplelist>
   </para>
  </refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/math/functions/max.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/math/functions/max.xml
diff -u phpdoc/en/reference/math/functions/max.xml:1.9 
phpdoc/en/reference/math/functions/max.xml:1.10
--- phpdoc/en/reference/math/functions/max.xml:1.9      Sat Mar 31 11:20:54 2007
+++ phpdoc/en/reference/math/functions/max.xml  Fri Jun 15 16:08:49 2007
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <refentry id="function.max">
  <refnamediv>
   <refname>max</refname>
@@ -9,24 +9,20 @@
   &reftitle.description;
   <methodsynopsis>
    <type>mixed</type><methodname>max</methodname>
-   <methodparam><type>number</type><parameter>arg1</parameter></methodparam>
-   <methodparam><type>number</type><parameter>arg2</parameter></methodparam>
-   <methodparam 
choice="opt"><type>number</type><parameter>...</parameter></methodparam>
+   <methodparam><type>array</type><parameter>values</parameter></methodparam>
   </methodsynopsis>
   <methodsynopsis>
    <type>mixed</type><methodname>max</methodname>
-   <methodparam><type>array</type><parameter>numbers</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
+   <methodparam><type>mixed</type><parameter>value2</parameter></methodparam>
+   <methodparam 
choice="opt"><type>mixed</type><parameter>value3...</parameter></methodparam>
   </methodsynopsis>
   <para>
-   <function>max</function> returns the numerically highest of the
-   parameter values.
   </para>
   <para>
    If the first and only parameter is an array, <function>max</function>
-   returns the highest value in that array.  If the first parameter
-   is an integer, string or float, you need at least two parameters
-   and <function>max</function> returns the biggest of these values.
-   You can compare an unlimited number of values.
+   returns the highest value in that array. If at least two parameters are 
+   provided, <function>max</function> returns the biggest of these values.
   </para>
   <note>
    <para>
@@ -38,45 +34,16 @@
     value will be returned.
    </para>
   </note>
-  <para>
-   <example>
-    <title>Example uses of <function>max</function></title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-echo max(1, 3, 5, 6, 7);  // 7
-echo max(array(2, 4, 5)); // 5
-
-echo max(0, 'hello');     // 0
-echo max('hello', 0);     // hello
-echo max(-1, 'hello');    // hello
-
-// With multiple arrays, max compares from left to right
-// so in our example: 2 == 2, but 4 < 5
-$val = max(array(2, 4, 8), array(2, 5, 7)); // array(2, 5, 7)
-
-// If both an array and non-array are given, the array
-// is always returned as it's seen as the largest
-$val = max('string', array(2, 5, 7), 42);   // array(2, 5, 7)
-?>
-]]>
-    </programlisting>
-   </example>
-  </para>
-  <para>
-   See also <function>min</function> and
-   <function>count</function>.
-  </para>
  </refsect1>
  <refsect1 role="parameters">
   &reftitle.parameters;
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter> </parameter></term>
+     <term><parameter>values</parameter></term>
      <listitem>
       <para>
-
+       An array containing the values.
       </para>
      </listitem>
     </varlistentry>
@@ -86,20 +53,44 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-
+   <function>max</function> returns the numerically highest of the
+   parameter values.
   </para>
  </refsect1>
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
+   <example>
+    <title>Example uses of <function>max</function></title>
+    <programlisting role="php">
+<![CDATA[
+<?php
+echo max(1, 3, 5, 6, 7);  // 7
+echo max(array(2, 4, 5)); // 5
+
+echo max(0, 'hello');     // 0
+echo max('hello', 0);     // hello
+echo max(-1, 'hello');    // hello
+
+// With multiple arrays, max compares from left to right
+// so in our example: 2 == 2, but 4 < 5
+$val = max(array(2, 4, 8), array(2, 5, 7)); // array(2, 5, 7)
 
+// If both an array and non-array are given, the array
+// is always returned as it's seen as the largest
+$val = max('string', array(2, 5, 7), 42);   // array(2, 5, 7)
+?>
+]]>
+    </programlisting>
+    </example> 
   </para>
  </refsect1>
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
    <simplelist>
-    <member><function> </function></member>
+    <member><function>min</function></member>
+    <member><function>count</function></member>
    </simplelist>
   </para>
  </refsect1>

Reply via email to