cvs: phpdoc /en/functions array.xml
| From: | Jim Winstead | Date: | Tue, 23 Jan 2001 01:43:38 +0000 |
| Subject: | cvs: phpdoc /en/functions array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333848@lists.php.net to get a copy of this message | ||
jimw Mon Jan 22 17:43:38 2001 EDT
Modified files:
/phpdoc/en/functions array.xml
Log:
remove bogus example, tested with php3.0.6 and php4.0.3 to be wrong
Index: phpdoc/en/functions/array.xml
diff -u phpdoc/en/functions/array.xml:1.54 phpdoc/en/functions/array.xml:1.55
--- phpdoc/en/functions/array.xml:1.54 Mon Jan 22 17:29:14 2001
+++ phpdoc/en/functions/array.xml Mon Jan 22 17:43:38 2001
@@ -1431,16 +1431,7 @@
$a[1] = 3;
$a[2] = 5;
$result = count ($a);
-//$result == 3, not 2, as there are 3 assigned elements
-
-$a[2] = 1;
-$a[4] = "";
-$a[6] = 5;
-$a[8] = 7;
-$a[10] = 11;
-$a[12] = "";
-$result = count ($a);
-// $result == 4, as there are 4 assigned elements
+//$result == 3
</programlisting>
</example>
</para>