You might already know that PHP’s in_array() function matches the string needle case sensitive way. But for matches the string needle case insensitive way in PHP there is nothing.
Tag: Array
Sorting a Multi-Dimensional Array with PHP
I find myself with a multidimensional array that I want to sort by a value in a sub-array. I have an array that might look like this:
//an array of some name I like
$name = array(
‘1’ =>