Is it possible to do case-insensitive comparison when using the in_array function?
in_array
So with a source array like this:
$a= array( \'one\'
you can use preg_grep():
$a= array( 'one', 'two', 'three', 'four' ); print_r( preg_grep( "/ONe/i" , $a ) );