Print and echo | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Print and echo

what is the difference between print and echo?

1st Mar 2017, 2:39 AM
1 Answer
+ 1
1. echo can take multiple parameters while print only one 2. print returns value and can be used in expression while echo is just for printing
1st Mar 2017, 4:22 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar