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>
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Andrei Zmievski
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Egon Schmid
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jim Winstead
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jim Winstead
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jim Winstead
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Sebastian Bergmann
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Andrei Zmievski
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Hartmut Holzgraefe
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Stig Bakken
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Damien Seguy
