Q. PHP Program to Display Hello World on Screen.

Here you will find an algorithm and program in PHP to print Hello World on screen. The "Hello World" program is the first step towards learning any programming language and also one of the simplest programs you will learn. All you have to do is display the message "Hello World" on the screen.

Hello World Algorithm

START
  Step 1 → print "Hello World"
STOP


PHP Program to Print Hello World

<?php
echo "Hello World";
?>

Output

Hello World