The fgetcsv
documentation states:
Omitting [the length] parameter (or setting it to 0 in PHP 5.0.4 and later) the maximum line length is not limited, which is slightly slower.
Therefore, the loop should look like:
while (($line = fgetcsv($handle, 0, ";")) != false) {
CVarDumper::dump($line, 10, true);
}