difference between echo and print


Difference between Echo and print statement.

print()and echo() are language constructs in PHP, both are used to output strings. Both statements are of almost same Speed.

echo() can take multiple expressions while print can't take multiple expressions.

Print return false or true based on failure or success while echo does not return false or true.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: difference between echo and print
Reference No:- TGS0355074

Expected delivery within 24 Hours