abetzi/file-lines-iterator

There is no license information available for the latest version (dev-master) of this package.

Fast file line iterator

dev-master 2019-11-06 22:59 UTC

This package is auto-updated.

Last update: 2024-05-08 08:45:56 UTC


README

TBD - something like

composer install abetzi/file-lines-iterator

Usage

$file  = '/path/to/iterated/file';

$lines = FileLinesIterator::getInstance($file)->lines();

foreach($lines as $line) {
	// do something useful with read line
}

Benchmarks

TBD - compare with usual methods