DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Matthew is a DZone employee and has posted 155 posts at DZone. You can read more from them at their website. View Full User Profile

PHP Hello World

  • submit to reddit
        Put this into a file called hello.php and run it with: php -f hello.php or open it in your browser.


echo 'Hello World!';