Sorry to take so long getting back to you🙁 You want to know the key combo that gives array value $x? If this is what you're trying to do, you need to loop through the outer array calling array_keys() on the inner array until you find the match:
<?php
$keySearch = "m/c A";
while (list($outterKey, $innerArray) = each($array)) {
if ($innerKey = array_keys ($innerArray, $keySearch))
break;
}
echo "The key combo for $keySearch is: Outer: $outerKey => Inner: $innerKey<br>\n";
?>
-geoff