mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
remove bogus example, tested with php3.0.6 and php4.0.3 to be wrong
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40011 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4207d86a69
commit
87014819d0
1 changed files with 1 additions and 10 deletions
|
@ -1431,16 +1431,7 @@ $a[0] = 1;
|
|||
$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>
|
||||
|
|
Loading…
Reference in a new issue