Assuming I have an array like
$arr = array (
    array( 'foo' => 'Lorem' ),
    array( 'foo' => 'ipsum' ),
    array( 'foo' => 'dolor' ),
    array( 'foo' => 'sit'   )
);
How can I quickly convert this array into an indexed array for the key "foo"? So that the result is
Array
(
    [0] => 'Lorem'
    [1] => 'ipsum'
    [2] => 'dolor'
    [3] => 'sit'
)
Are there any quick ways with PHP functions? Or do I simply have to create a new array, iterate over the other one and insert the values manually.
 
     
     
    