Unix linebreak on Windows

Hi,

I think there is an error when using `PHP_EOL`. By using `\n` as linebreak on windows there are 0 lines found. With `count(file($filename))` the problem does not appear. I'm not sure how to make a test case for this because it depends on the environment …