cvs: phpdoc-hu /reference/array/functions rsort.xml

From: Date: Mon, 09 Aug 2004 12:44:05 +0000
Subject: cvs: phpdoc-hu /reference/array/functions rsort.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-978@lists.php.net to get a copy of this message
cece Mon Aug 9 08:44:05 2004 EDT Modified files: /phpdoc-hu/reference/array/functions rsort.xml Log: sync http://cvs.php.net/diff.php/phpdoc-hu/reference/array/functions/rsort.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-hu/reference/array/functions/rsort.xml diff -u phpdoc-hu/reference/array/functions/rsort.xml:1.3 phpdoc-hu/reference/array/functions/rsort.xml:1.4 --- phpdoc-hu/reference/array/functions/rsort.xml:1.3 Wed Aug 14 12:56:19 2002 +++ phpdoc-hu/reference/array/functions/rsort.xml Mon Aug 9 08:44:05 2004 @@ -1,18 +1,16 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 --> -<!-- last change to 'rsort' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.4 Maintainer: gerzson Status: ready --> -<!-- OLD-Revision: 1.173/EN.1.2 --> +<!-- EN-Revision: 1.9 Maintainer: cece Status: ready --> +<!-- CREDITS: gerzson --> <refentry id="function.rsort"> <refnamediv> <refname>rsort</refname> - <refpurpose>fordított sorrendben rendez egy tömböt</refpurpose> + <refpurpose>Fordított sorrendben rendez egy tömböt</refpurpose> </refnamediv> <refsect1> <title>Leírás</title> <methodsynopsis> - <type>void</type><methodname>rsort</methodname> - <methodparam><type>array</type><parameter>array</parameter></methodparam> + <type>bool</type><methodname>rsort</methodname> + <methodparam><type>array</type><parameter>&amp;array</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam> </methodsynopsis> <para> @@ -20,32 +18,35 @@ a legkisebb felé. </para> <para> + &return.success; + </para> + <para> <example> <title><function>rsort</function> példa</title> <programlisting role="php"> <![CDATA[ -$gyumolcsok = array ("citrom", "narancs", "banán", "alma"); -rsort ($gyumolcsok); -reset ($gyumolcsok); -while (list ($key, $val) = each ($gyumolcsok)) { +<?php +$gyumolcsok = array("citrom", "narancs", "banán", "alma"); +rsort($gyumolcsok); +reset($gyumolcsok); +while (list($key, $val) = each($gyumolcsok)) { echo "$key = $val\n"; } +?> ]]> </programlisting> - </example> - </para> - <para> - Ez a példa a következõt írja ki: - </para> - <para> - <screen> + + &example.outputs; + + <screen> <![CDATA[ 0 = narancs 1 = citrom 2 = banán 3 = alma ]]> - </screen> + </screen> + </example> </para> <para> A gyümölcsök az abc szerint fordított sorrendben vannak rendezve.

« previous php.doc.hu (#978) next »