Before I really get into it, I wanted to ask if anyone knew of a something already written in PHP to query arrays. Something kind of like:
$arr=array( 'foo'=>array( 'one'=>'this', 'two'=>'that' ) ); $seek='foo one'; $query = new ArrayQuery($seek,$arr);
…where $query would contain the node of key “one” and its contents, “this”. I’ve found myself needing something like this a few times recently, but haven’t been able to find something.
Does anyone know of anything like this or would find it useful in their own development work?