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
if (isset($array[$key]) && $array[$key] == $value)
A minor imporvement to the fast version.