Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php search in array case insensitive
sparrow
Programming language:
PHP
2021-05-24 16:35:34
0
Q:
php search in array case insensitive
egrunin
Code:
PHP
2021-05-24 00:03:28
array_search(strtolower($search), array_map('strtolower', $array));
-1
Tags
array
php
search
Related
php order array by specific key
php array sort by key value
array_search in php
php count array elements with specific key
php take out 2 level array key value
search multidimensional array php
php sort multidimensional array by value
php sort array by key
php multibyte string shuffle
array key value swap php
php sort array by value length
php switch case multiple values per line
php sort array of array by key
sort multi array php
php sort multidimensional array
php multidimensional key value array
php store sorted array
array search by key in php
New to Communities?
Join the community