cvs: phpdoc-pl /reference/array/functions array-reverse.xml

From: Date: Sat, 26 Feb 2005 01:03:45 +0000
Subject: cvs: phpdoc-pl /reference/array/functions array-reverse.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-469@lists.php.net to get a copy of this message
leszek Fri Feb 25 20:03:45 2005 EDT Modified files: /phpdoc-pl/reference/array/functions array-reverse.xml Log: [leszek] - bugfix [leszek] - updated to 1.9 http://cvs.php.net/diff.php/phpdoc-pl/reference/array/functions/array-reverse.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-pl/reference/array/functions/array-reverse.xml diff -u phpdoc-pl/reference/array/functions/array-reverse.xml:1.3 phpdoc-pl/reference/array/functions/array-reverse.xml:1.4 --- phpdoc-pl/reference/array/functions/array-reverse.xml:1.3 Sun May 12 16:31:48 2002 +++ phpdoc-pl/reference/array/functions/array-reverse.xml Fri Feb 25 20:03:45 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.4 Maintainer: leszek Status: ready --> -<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.9 Maintainer: leszek Status: ready --> +<!-- $Revision: 1.4 $ --> <refentry id="function.array-reverse"> <refnamediv> <refname>array_reverse</refname> @@ -26,9 +26,11 @@ <title>Przyk³ad u¿ycia <function>array_reverse</function></title> <programlisting role="php"> <![CDATA[ -$wejscie = array ("php", 4.0, array ("zielony", "czerwony")); -$wynik = array_reverse ($wejscie); -$wynik_kluczowany = array_reverse ($input, TRUE); +<?php +$wejscie = array("php", 4.0, array ("zielony", "czerwony")); +$wynik = array_reverse($wejscie); +$wynik_kluczowany = array_reverse($input, true); +?> ]]> </programlisting> <para> @@ -36,7 +38,8 @@ <varname>$wynik_kluczowny</varname> bêd± zawiera³y te same elementy, ale trzeba zauwa¿yæ ró¿nicê w kluczach. Tablice te bêd± wygl±da³y nastêpuj±co: - <screen> + </para> + <screen role="php"> <![CDATA[ Array ( @@ -61,8 +64,7 @@ [0] => php ) ]]> - </screen> - </para> + </screen> </example> </para> <note> @@ -70,6 +72,9 @@ Drugi parametr zosta³ dodany w PHP 4.0.3. </para> </note> + <para> + Patrz tak¿e: <function>array_flip</function>. + </para> </refsect1> </refentry>

« previous php.doc.pl (#469) next »