Re: [PHP-DOC] array_search() typo

2004-01-05 Thread Derick Rethans
On Sun, 4 Jan 2004, Ken Tossell wrote: > On Sun, 4 Jan 2004, enrique hernan wrote: > > > hi doc team, > > > > I think example 1 in array_search function has the paramaters in wrong order > > Yup, it sure does. You're, I believe, the fourth person to report this. > It'll be fixed next time the manu

Re: [PHP-DOC] array_search() typo

2004-01-04 Thread Ken Tossell
On Sun, 4 Jan 2004, enrique hernan wrote: > hi doc team, > > I think example 1 in array_search function has the paramaters in wrong order Yup, it sure does. You're, I believe, the fourth person to report this. It'll be fixed next time the manual is rebuilt. Thanks for the report anyway. :-) K

[PHP-DOC] array_search() typo

2004-01-04 Thread enrique hernan
hi doc team, I think example 1 in array_search function has the paramaters in wrong order -- now: Example 1. array_search() example $array = array(0 => "blue", 1 => "red", 2 => "green", 3 => "red"); $key = array_search($array, "green"); // $key = 2; $key = array_search($array, "re