Echo and print both functions are used to print output in PHP.
Echo & print statement are same but there is a little difference is
echo print multiple variable in single echo statement and echo return
zero(0) value and Print statement print only single variable at a
time and its return one(1) value.
Simple Code Example:
<?php
echo ("Php is scripting language.");
print ("Php can be used with or without parenthesis.");
?>
Another Code Example with variable:
<?php
echo ($abc. "Testing". $xyz);
print ("Safcode.");
?>