in_array php case insensitive code example Example: php search in array case insensitive array_search(strtolower($search), array_map('strtolower', $array));