Sample PHP code
wolf@linux:~$ cat 1-new-line.php
<?php
echo "Hello
World
Foo Bar!";
$aString = '
First Line
Second Line
Third Line';
echo $aString;
?>
wolf@linux:~$
It runs as expected in CLI
wolf@linux:~$ php 1-new-line.php
Hello
World
Foo Bar!
First Line
Second Line
Third Line
wolf@linux:~$
But not via browser
What's wrong in this code? How to render it properly in web browser?