fix bogous port to new style

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237773 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2007-06-15 16:08:49 +00:00
parent 75ecffb1cb
commit 0c7d906849
2 changed files with 69 additions and 89 deletions

View file

@ -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,6 +34,31 @@
value will be 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>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>
@ -61,45 +82,15 @@ $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>
<listitem>
<para>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
</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>

View file

@ -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 @@ $val = min('string', array(2, 5, 7), 42); // string
</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>