use "\n" instead of PHP_EOL for portability