How to Print Hello World Program in PHP ?

In PHP it is very easy to print “Hello World” program. “Hello World.” is the first program from where most of the beginner developers will start to write code in any language. Here is an example of how to print “Hello World!!” in PHP.

In PHP we use echo to print a string and we always write the PHP code between <?php ?>  tag. Below are the example of print simple Hello World.

<?php

echo "Hello World!!";

?>

Output :-

Hello World!!

Check video :-


Related posts