From 0c7d9068495796071a4a12a711fd8d2b7eb3cfc7 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Fri, 15 Jun 2007 16:08:49 +0000 Subject: [PATCH] fix bogous port to new style git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237773 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/math/functions/max.xml | 79 ++++++++++++++------------------ reference/math/functions/min.xml | 79 ++++++++++++++------------------ 2 files changed, 69 insertions(+), 89 deletions(-) diff --git a/reference/math/functions/max.xml b/reference/math/functions/max.xml index fa659a358d..4f9eb15d4a 100644 --- a/reference/math/functions/max.xml +++ b/reference/math/functions/max.xml @@ -1,5 +1,5 @@ - + max @@ -9,24 +9,20 @@ &reftitle.description; mixedmax - numberarg1 - numberarg2 - number... + arrayvalues mixedmax - arraynumbers + mixedvalue1 + mixedvalue2 + mixedvalue3... - max returns the numerically highest of the - parameter values. If the first and only parameter is an array, max - returns the highest value in that array. If the first parameter - is an integer, string or float, you need at least two parameters - and max 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, max returns the biggest of these values. @@ -38,6 +34,31 @@ value will be returned. + + + &reftitle.parameters; + + + + values + + + An array containing the values. + + + + + + + + &reftitle.returnvalues; + + max returns the numerically highest of the + parameter values. + + + + &reftitle.examples; Example uses of <function>max</function> @@ -61,45 +82,15 @@ $val = max('string', array(2, 5, 7), 42); // array(2, 5, 7) ?> ]]> - - - - See also min and - count. - - - - &reftitle.parameters; - - - - - - - - - - - - - - - &reftitle.returnvalues; - - - - - - &reftitle.examples; - - + &reftitle.seealso; - + min + count diff --git a/reference/math/functions/min.xml b/reference/math/functions/min.xml index 1573bed29d..fe2076a83b 100644 --- a/reference/math/functions/min.xml +++ b/reference/math/functions/min.xml @@ -1,5 +1,5 @@ - + min @@ -9,24 +9,18 @@ &reftitle.description; mixedmin - numberarg1 - numberarg2 - number... + arrayvalues mixedmin - arraynumbers + mixedvalue1 + mixedvalue2 + mixedvalue3... - - min returns the numerically lowest of the - parameter values. - If the first and only parameter is an array, min - returns the lowest value in that array. If the first parameter - is an integer, string or float, you need at least two parameters - and min 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, min returns the smallest of these values. @@ -38,6 +32,31 @@ 0 is returned. + + + &reftitle.parameters; + + + + values + + + An array containing the values. + + + + + + + + &reftitle.returnvalues; + + min returns the numerically lowest of the + parameter values. + + + + &reftitle.examples; Example uses of <function>min</function> @@ -63,43 +82,13 @@ $val = min('string', array(2, 5, 7), 42); // string - - See also max and - count. - - - - &reftitle.parameters; - - - - - - - - - - - - - - - &reftitle.returnvalues; - - - - - - &reftitle.examples; - - - &reftitle.seealso; - + max + count