cvs: phpdoc-hu /reference/array/functions arsort.xml asort.xml

From: Date: Sat, 10 Jun 2006 13:00:37 +0000
Subject: cvs: phpdoc-hu /reference/array/functions arsort.xml asort.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-1448@lists.php.net to get a copy of this message
cece Sat Jun 10 13:00:37 2006 UTC Modified files: /phpdoc-hu/reference/array/functions asort.xml arsort.xml Log: sync http://cvs.php.net/viewcvs.cgi/phpdoc-hu/reference/array/functions/asort.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/array/functions/asort.xml diff -u phpdoc-hu/reference/array/functions/asort.xml:1.5 phpdoc-hu/reference/array/functions/asort.xml:1.6 --- phpdoc-hu/reference/array/functions/asort.xml:1.5 Tue Nov 30 00:57:59 2004 +++ phpdoc-hu/reference/array/functions/asort.xml Sat Jun 10 13:00:37 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.11 Maintainer: cece Status: ready --> +<!-- EN-Revision: 1.12 Maintainer: cece Status: ready --> <!-- CREDITS: gerzson --> <refentry id="function.asort"> <refnamediv> @@ -30,7 +30,7 @@ $gyumolcsok = array("d" => "citrom", "a" => "narancs", "b" => "banán", "c" => "alma"); asort($gyumolcsok); reset($gyumolcsok); -while (list($key, $val) = each($gyumolcsok)) { +foreach ($gyumolcsok as $key => $val) { echo "$key = $val\n"; } ?> http://cvs.php.net/viewcvs.cgi/phpdoc-hu/reference/array/functions/arsort.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/array/functions/arsort.xml diff -u phpdoc-hu/reference/array/functions/arsort.xml:1.5 phpdoc-hu/reference/array/functions/arsort.xml:1.6 --- phpdoc-hu/reference/array/functions/arsort.xml:1.5 Tue Nov 30 00:56:46 2004 +++ phpdoc-hu/reference/array/functions/arsort.xml Sat Jun 10 13:00:37 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.11 Maintainer: cece Status: ready --> +<!-- EN-Revision: 1.12 Maintainer: cece Status: ready --> <!-- CREDITS: gerzson --> <refentry id="function.arsort"> <refnamediv> @@ -32,7 +32,7 @@ $gyumolcsok = array("d" => "citrom", "a" => "narancs", "b" => "banán", "c" => "alma"); arsort($gyumolcsok); reset($gyumolcsok); -while (list($key, $val) = each($gyumolcsok)) { +foreach ($gyumolcsok as $key => $val) { echo "$key = $val\n"; } ?>

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