Hello world - Starting to learn PHP program

Program Description

This is a very simple PHP program for beginners that demonstrates printing a line of text on the browser.

Almost everyone starts learning a new language by writing a Hello World program.
It's one of the simplest program that demonstrates the language syntax and can be easily understood by a beginner.

Program
/******************************
*   Hello World in PHP
*
*	code.cheraus.com
*
*****************************/


<?php
  echo "Hello World";
?>

Output

Hello world

Comments
comments powered by Disqus