abetzi/file-lines-iterator

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

Fast file line iterator

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

pkg:composer/abetzi/file-lines-iterator

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

This package is auto-updated.

Last update: 2025-10-08 12:00:25 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