Case insensitive in_array
Function in_array()
is case sensitive - which is not always what you want.
Sometimes you need to search an array, and you don’t
care about the case of its elements:
Example:
Function in_array()
is case sensitive - which is not always what you want.
Sometimes you need to search an array, and you don’t
care about the case of its elements:
Example: