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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php