Re: [PHP-DOC] cvs: phpdoc /en/functions array.xml From: Andrei Zmievski (andrei <email protected>)
Date: 08/08/00

On Fri, 04 Aug 2000, Hartmut Holzgraefe wrote:
> + <para>
> + The optional second parameter <parameter>sort_flags</parameter>
> + may be used to modify the sorting behavior using theese valies:
> + </para>
> + <para>
> + Sorting order flags:
> + <itemizedlist>
> + <listitem>
> + <simpara>SORT_ASC - sort in ascending order</simpara>
> + </listitem>
> + <listitem>
> + <simpara>SORT_DESC - sort in descending order</simpara>
> + </listitem>
> + </itemizedlist>
> + </para>
> + <para>
> + Sorting type flags:
> + <itemizedlist>
> + <listitem>
> + <simpara>SORT_REGULAR - compare items normally</simpara>
> + </listitem>
> + <listitem>
> + <simpara>SORT_NUMERIC - compare items numerically</simpara>
> + </listitem>
> + <listitem>
> + <simpara>SORT_STRING - compare items as strings</simpara>
> + </listitem>
> + </itemizedlist>

Hartmut, only array_multisort() takes SORT_ASC and SORT_DESC flags.

-Andrei

"Science is like sex: sometimes something useful comes out,
but that is not the reason we are doing it" -- Richard Feynman