Is there any fast way to get all subarrays where a key value pair was found in a multidimensional array? I can\'t say how deep the array will be.
Simple example arra
http://snipplr.com/view/51108/nested-array-search-by-value-or-key/
$value) { if ($search === ${${"mode"}}) return true; } return false; } $data = array( array('abc', 'ffffd'), 'ccc', 'bbb', array('aaa', array('yyy', 'mp' => 555)) ); var_dump(searchNestedArray($data, 555));