PHP 8.5.0 Beta 1 available for testing

Voting

: max(four, three)?
(Example: nine)

The Note You're Voting On

marcus at synchromedia dot co dot uk
11 years ago
If you want to skip blank lines when reading a CSV file, you need *all * the flags:

$file->setFlags(SplFileObject::READ_CSV | SplFileObject::READ_AHEAD | SplFileObject::SKIP_EMPTY | SplFileObject::DROP_NEW_LINE);

<< Back to user notes page

To Top