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