Difference between echo and print statement





Echo Statement 
Print Statement
Echo output’s one or more strings or arguments 
In print, print output is only one string as well as argument 
Echo has no return value
Print has return value is set as one 1
Echo is faster than print
Print is slower than echo
Echo not returning parenthesis [ echo or echo() ]
In print may or may not be return with parenthesis [ print or print() ]
Syntax:
echo”string”,”string”;
Syntax:
print “string”




Comments