@rmccue: Need something more object-centric for use with ArrayObject.

$array_object->map(function($node) { return $node->key(); });

Ryan Parman @skyzyx