I'm learning PHP and writing it and executing in the browser is cumbersome. So I write it as a script and execute it on the terminal, such as
me@machine $ php script.php
However, it seems to me, all statements are printed to the same line, if not explicitly a newline character is also printed.
<?php
echo "Hello World.
";
?>
If I omit
, I end up with
me@machine $ php hello_world.php
Hello World. > me@machine $
which kind of is lame.
Do I really, like really really (as in "totally really"), need to type
for every statement I like to test?