cucinato Sat Sep 15 15:06:11 2001 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
Fixed some examples
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.94 phpdoc/en/functions/array.xml:1.95
--- phpdoc/en/functions/array.xml:1.94 Fri Sep 14 19:25:36 2001
+++ phpdoc/en/functions/array.xml Sat Sep 15 15:06:11 2001
@@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.94 $ -->
+<!-- $Revision: 1.95 $ -->
<reference id="ref.array">
<title>Array Functions</title>
<titleabbrev>Arrays</titleabbrev>
@@ -2380,7 +2380,7 @@
krsort ($fruits);
reset ($fruits);
while (list ($key, $val) = each ($fruits)) {
- echo "$key -> $val\n";
+ echo "$key = $val\n";
}
</programlisting>
</example>
@@ -2391,10 +2391,10 @@
<para>
<informalexample>
<programlisting>
-fruits[d] = lemon
-fruits[c] = apple
-fruits[b] = banana
-fruits[a] = orange
+d = lemon
+c = apple
+b = banana
+a = orange
</programlisting>
</informalexample>
</para>
@@ -2437,7 +2437,7 @@
ksort ($fruits);
reset ($fruits);
while (list ($key, $val) = each ($fruits)) {
- echo "$key -> $val\n";
+ echo "$key = $val\n";
}
</programlisting>
</example>
@@ -2448,10 +2448,10 @@
<para>
<informalexample>
<programlisting>
-fruits[a] = orange
-fruits[b] = banana
-fruits[c] = apple
-fruits[d] = lemon
+a = orange
+b = banana
+c = apple
+d = lemon
</programlisting>
</informalexample>
</para>
@@ -2850,7 +2850,7 @@
rsort ($fruits);
reset ($fruits);
while (list ($key, $val) = each ($fruits)) {
- echo "$key -> $val\n";
+ echo "$key = $val\n";
}
</programlisting>
</example>
@@ -2861,10 +2861,10 @@
<para>
<informalexample>
<programlisting>
-fruits[0] = orange
-fruits[1] = lemon
-fruits[2] = banana
-fruits[3] = apple
+0 = orange
+1 = lemon
+2 = banana
+3 = apple
</programlisting>
</informalexample>
</para>