note 10603 deleted from function.in-array by jimw
| From: | jimw@php.net | Date: | Fri, 07 Dec 2001 21:07:08 +0000 |
| Subject: | note 10603 deleted from function.in-array by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-21967@lists.php.net to get a copy of this message | ||
I think it's more like this:
$pos=array_keys($myArray,"value I'm looking for");
but yes, that is correct! I'm glad you pointed it out. (BTW, you will need to reference the
result as pos[0] because PHP will store the result as an array of one element.)