i'm working on a project where i have a structured object like this:

```
$main_array=   [
  [
    "key"=> "home",
    "value":=> "Go Home!"
  ],

  [
    "key"=> "business",
    "value"=> "Go to Work!"
  ],

  [
    "key"=> "other",
    "value"=> "Go where you want!"
  ]
]

```

i'd like to know if there is a way to retrieve the object based on the "key" parameter. 
What i want to do is "extract" the nested array like 

```
$home_array=["key"=> "home","value":=> "Go Home!"]

```

and so on for "business" and "others".
in javascript, i can use jquery or underscore to get what i want, is there a php method to achieve this, or something to simulate a "where" clause in a multidimensional array/object?

thak you in advance