Hacker News new | ask | show | jobs
by emilw 5180 days ago
<? echo "Hello World";
1 comments

Actually, you just need this:

Hello world

If all you want to do is print some text, just put some text outside the <?php delimiter. If you want to do nothing else, you don't even need the <?php delimiter.

True, but he/she mentioned specifically a "Hello World" in PHP.

    Hello World
is valid PHP