Change first pass's explode to target PHP_EOL instead of \n