Re: [PHP-DOC] cvs: phpdoc /en/functions array.xml From: Ron Chmara (ron <email protected>)
Date: 08/25/00

James Moore wrote:
>
> > 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.

Right you are. My goof.

I'll try to create a better example for it.

-Bop

--
Brought to you from iBop the iMac, a MacOS, Win95, Win98, LinuxPPC machine,
which is currently in MacOS land.  Your bopping may vary.