Well,
My thoughts on this one were that if you are actually grabbing a key,
people are more
likely to trust that the returned key does in fact  reference the value
that was searched. Perhaps defaulting to strict is not a good idea, but to
me it seemed logical, and I figured that if anyone else
in the group disagreed, we could easily change it.

What do you think?

-Jason

Andrei Zmievski wrote:

> On Tue, 20 Feb 2001, Jason Greene wrote:
> > +     if (behavior == 0) {
> > +             compare_func = is_equal_function;
> > +     } else {
> > +             /* Lets not return a key unless the values are exact */
> > +             compare_func = is_identical_function;
> > +     }
>
> Why not? Why should it be different from behavior of in_array?
>
> -Andrei
>
> "Later in this talk, I intend to define
>  the universe and give three examples." -- Larry Wall


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to