Hacker News new | past | comments | ask | show | jobs | submit login

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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: