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
PHP Hello World
Put this into a file called hello.php and run it with: php -f hello.php or open it in your browser.
<?php echo 'Hello World!'; ?>