I like to perform a search on an array and return all values when a match is found. The key [name] in the array is what I am doing a search on.
[name]
$filteredArray = array_filter($array, function($element) use($searchFor){ return isset($element['name']) && $element['name'] == $searchFor; });
Requires PHP 5.3.x