note 75609 deleted from function.in-array by felipe
| From: | felipe@php.net | Date: | Sun, 30 Dec 2007 19:01:21 +0000 |
| Subject: | note 75609 deleted from function.in-array by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134497@lists.php.net to get a copy of this message | ||
Note Submitter: Abro
----
RE: In trying to emulate a case insensitive in_array()....
why not :
foreach the parameter vals, strtolower them
and after that have a small and simple in_array functioncall ... ?
should be mouch smarter ;)