$it = new FetchIterator($fetchFunc(range('A', 'F')));
$columns = 3;
echo str_repeat('+-', $columns), "+\n";
foreach($it as $firstCell)
{
foreach(new PadIterator($it, $columns, ' ') as $cell) {
printf('|%s', $cell);
}
echo "|\n", str_repeat('+-', $columns), "+\n";
}