Nis Bornoe - Bornoe.org

PHP: Hello World

Page last updated: March 5, 2015

When starting to learn a new programming language the most basic is to write a "Hello World" program. The essence is to write a program that starts, prints something to the screen and ends correctly. Hello World programs has been the de facto basic program for beginners and test purposes after the first Hello World program was published by Kernighan and Ritchie in the classic text book on C "The C Programming Language". Hello World programs in around 500 different programming languages can be found at The Hello World Collection

Hello World in PHP


<?php 
	echo "Hello World!"; 
?>