RE: [PHP-DEV] Patches for case insensitive in_array, bug id 12192
| From: | Mike Robinson | Date: | Sun, 30 Mar 2003 18:20:19 +0000 |
| Subject: | RE: [PHP-DEV] Patches for case insensitive in_array, bug id 12192 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-503@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
> I'd rather not keep extending in_array() with more and more
> parameters. I must have missed it, but why do we need a
> case-insensitive version of it in the first place?
ATM, in_array() takes 2 args and 1 parameter. Adding 1 more
wouldn't hurt, doesn't break BC, and provides some added
usefulness. IMHO, this would be a handy feature, and if it
were added I can't imagine having to extend in_array any
further. Does 'please' help? :)
--Mike