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