RE: [PHP-DOC] cvs: phpdoc /en/functions array.xml From: James Moore (jmoore <email protected>)
Date: 08/25/00

> Index: phpdoc/en/functions/array.xml
> diff -u phpdoc/en/functions/array.xml:1.27
> phpdoc/en/functions/array.xml:1.28
> --- phpdoc/en/functions/array.xml:1.27 Wed Aug 23 12:44:02 2000
> +++ phpdoc/en/functions/array.xml Fri Aug 25 02:02:07 2000
> @@ -245,7 +245,7 @@
> array_keys ($array); // returns array (0, "color")
>
> $array = array (1, 100, 2, 100);
> -array_keys ($array, 100); // returns array (1, 3)
> +array_keys ($array, 100); // returns array (1, 2)

It returns (1,3), I corrected this the other day, perhaps the example needs
to be clearer but 1 and 2 are not keys but members of the array.

James