goodby / csv

Goodby CSV is a high memory efficient flexible and extendable open-source CSV import/export library for PHP 5.3. 1. Memory Management Free This library designed for memory unbreakable. It will not be accumulated in the memory whole rows. The importer read CSV file and execute callback function line by line. 2. Multibyte support This library supports mulitbyte input/output: for example, SJIS-win, EUC-JP and UTF-8. 3. Ready to Use for Enterprise Applications Goodby CSV is fully unit-tested. The library is stable and ready to be used in large projects like enterprise applications.
MIT License
955 stars 148 forks source link

Row limit #19

Closed rendom closed 11 years ago

rendom commented 11 years ago

How is the best way to set an row limit on import? For example if i just want to import 5 rows? Seems as the class dosent have it as a feature atm, but have someone a good workaround maybe trought an observer?