cvs: /phpdoc/functions array.sgml

From: Date: Sun, 21 Nov 1999 21:05:39 +0000
Subject: cvs: /phpdoc/functions array.sgml
Groups: php.dev 
Request: Send a blank email to php-dev+get-12883@lists.php.net to get a copy of this message
eschmid Sun Nov 21 16:05:39 1999 EDT Modified files: /phpdoc/functions array.sgml Log: Array flipping passed array.sgml. But beer empty. Next try tommorow. No change to call me with a handy, I don't own some eletro smoking machine. Index: phpdoc/functions/array.sgml diff -u phpdoc/functions/array.sgml:1.28 phpdoc/functions/array.sgml:1.29 --- phpdoc/functions/array.sgml:1.28 Thu Nov 18 14:12:01 1999 +++ phpdoc/functions/array.sgml Sun Nov 21 16:05:39 1999 @@ -81,6 +81,39 @@ </refsect1> </refentry> + <refentry id="function.array-flip"> + <refnamediv> + <refname>array_flip</refname> + <refpurpose>Flip all the values of an array</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcdef>array <function>array_flip</function></funcdef> + <paramdef>array <parameter>trans</parameter></paramdef> + </funcsynopsis> + + <para> + <function>array_flip</function> returns an array in flip order. + </para> + <para> + <example> + <title><function>array_flip</function> example</title> + <programlisting role="php"> +$trans = array_flip ($trans); +$original = strtr ($str, $trans); + </programlisting> + </example> + + <note> + <para> + This function was added in PHP 4.0 Beta 3, by Thies C. Arntzen + </para> + </note></para> + + </refsect1> + </refentry> + <refentry id="function.array-keys"> <refnamediv> <refname>array_keys</refname>

« previous php.dev (#12883) next »