```
$arr = array (

    0 => array(
        'id' => 1,
        'name' => 'john'
    ),
    1 => array(
        'id' => 4,
        'name' => 'elisabeth'
    )
);

```

Let's say all we know is the 'id' of the inner array, what would be the best way to search for $arr element, that contains an array, that contains our id?