Multidimensional Array Search Using Xpath Wildcards in PHP