Re: cvs: php4 /ext/standard array.c basic_functions.c php_array.h
| From: | Jason Greene | Date: | Tue, 20 Feb 2001 17:03:11 +0000 |
| Subject: | Re: cvs: php4 /ext/standard array.c basic_functions.c php_array.h | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-4153@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> On Tue, 20 Feb 2001, Jason Greene wrote:
> > 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?
>
> I think the default behavior between in_array() and array_search()
> should be the same.
>
> -Andrei
>
> Linux is like living in a teepee.
> No Windows, no Gates, Apache in house.
> - Usenet signature
I changed array_search per your request
-Jason