It works with arrays, keep it as mixed.

Regards,
Philip


On Sun, 19 Jan 2003, Damien Seguy wrote:

> dams          Sat Jan 18 23:18:59 2003 EDT
> 
>   Modified files:              
>     /phpdoc/en/reference/math/functions       max.xml 
>   Log:
>   cross reference with min
>   
> Index: phpdoc/en/reference/math/functions/max.xml
> diff -u phpdoc/en/reference/math/functions/max.xml:1.2 
>phpdoc/en/reference/math/functions/max.xml:1.3
> --- phpdoc/en/reference/math/functions/max.xml:1.2    Wed Apr 17 02:39:54 2002
> +++ phpdoc/en/reference/math/functions/max.xml        Sat Jan 18 23:18:59 2003
> @@ -1,5 +1,5 @@
>  <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.2 $ -->
> +<!-- $Revision: 1.3 $ -->
>  <!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
>    <refentry id="function.max">
>     <refnamediv>
> @@ -8,12 +8,12 @@
>     </refnamediv>
>     <refsect1>
>      <title>Description</title>
> -     <methodsynopsis>
> -      <type>mixed</type><methodname>max</methodname>
> -      <methodparam><type>mixed</type><parameter>arg1</parameter></methodparam>
> -      <methodparam><type>mixed</type><parameter>arg2</parameter></methodparam>
> -      <methodparam><type>mixed</type><parameter>argn</parameter></methodparam>
> -     </methodsynopsis>
> +    <methodsynopsis>
> +     <type>number</type><methodname>max</methodname>
> +     <methodparam><type>number</type><parameter>arg1</parameter></methodparam>
> +     <methodparam><type>number</type><parameter>arg2</parameter></methodparam>
> +     <methodparam><type>number</type><parameter>argn</parameter></methodparam>
> +    </methodsynopsis>
>      <para>
>       <function>max</function> returns the numerically highest of the
>       parameter values.
> @@ -30,6 +30,9 @@
>       treated as floats, and a float is returned.  If none of the
>       values is a float, all of them will be treated as integers, and
>       an integer is returned.
> +    </para>
> +    <para>
> +     See also <function>max</function>.
>      </para>
>     </refsect1>
>    </refentry>
> 
> 
> 
> -- 
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to