Print keyword in php program

A simple program to Print keyword in php. Using this keyword we can print the any element in php program. You can use the print statement with or without parentheses: print or print (). The functions of echo and print are nearly identical. Both are used to display info on the screen. One parameter can be passed to print. Echo is a fraction of a second faster than print.

<?php
print "<h4> Welcome to inlarn</h4>";
print "Php programming";
?>

 

Output:

Welcome to inlarn

Php programming