PHP Itertools
Simple value extraction from arrays. Inspired by the more verbose version we use at work.
$people = array(
array('first_name' => 'Ren', 'last_name' => 'Hoek'),
array('first_name' => 'Stimpson', 'last_name' => 'Cat'),
);
$firsts = Itertools::collectList($people, Extractor::key('first_name'));
// array('Ren', 'Stimpson')
% phpunit tests/ItertoolsTest.php