--TEST-- GH-15653 (fgetcsv overflow on length argument) --FILE-- getMessage() . PHP_EOL; } fgetcsv($fp, PHP_INT_MAX-1); --CLEAN-- --EXPECTF-- fgetcsv(): Argument #2 ($length) must be between 0 and %d %A