iterator_countand phasing using is next()broken in my php version 5.3.7 under Ubuntu.
Also looks like a broken method fseek([any offset], SEEK_END). key()returns 0.
Iterating over large files using seek($lineCount)is too slow.
5.3.7-
$file->seek($file->getSize());
$linesTotal = $file->key();
30000 0,00002 20 .
3 .