Re: Suggestion for in_array
| From: | Andrei Zmievski | Date: | Fri, 20 Apr 2001 15:45:52 +0000 |
| Subject: | Re: Suggestion for in_array | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52067@lists.php.net to get a copy of this message | ||
See array_search() function.
On Fri, 20 Apr 2001, Thomas Deliduka wrote:
> Perhaps having in_array return the index for the element that contains the
> needle.
>
> That would be very useful.
> --
>
> Thomas Deliduka
> IT Manager
> -------------------------
> New Eve Media
> The Solution To Your Internet Angst
> http://www.neweve.com/
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
-Andrei
* Non-volatile, random-access, analog memory store... a book. *