cvs: phpdoc-hu /reference/array/functions ksort.xml
| From: | Cece) Szabolcs | Date: | Sat, 10 Jun 2006 12:57:47 +0000 |
| Subject: | cvs: phpdoc-hu /reference/array/functions ksort.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-1446@lists.php.net to get a copy of this message | ||
cece Sat Jun 10 12:57:47 2006 UTC
Modified files:
/phpdoc-hu/reference/array/functions ksort.xml
Log:
sync
http://cvs.php.net/viewcvs.cgi/phpdoc-hu/reference/array/functions/ksort.xml?r1=1.5&r2=1.6&diff_format=u
Index: phpdoc-hu/reference/array/functions/ksort.xml
diff -u phpdoc-hu/reference/array/functions/ksort.xml:1.5
phpdoc-hu/reference/array/functions/ksort.xml:1.6
--- phpdoc-hu/reference/array/functions/ksort.xml:1.5 Tue Nov 30 01:12:19 2004
+++ phpdoc-hu/reference/array/functions/ksort.xml Sat Jun 10 12:57:47 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.ksort">
<refnamediv>
@@ -30,7 +30,7 @@
$gyumolcsok = array("d"=>"citrom", "a"=>"narancs",
"b"=>"banán", "c"=>"alma");
ksort($gyumolcsok);
reset($gyumolcsok);
-while (list($key, $val) = each($gyumolcsok)) {
+foreach ($gyumolcsok as $key => $val) {
echo "$key = $val\n";
}
?>