<?php
print();#The Print Statement
echo();#The Echo Statement
?>
Asked
Active
Viewed 54 times
-3
Eyad Mohammed Osama
- 656
- 5
- 27
-
If I remember correctly print has a return value and echo doesn't. – Ende Neu Aug 29 '14 at 22:55
1 Answers
1
print returns a value (always 1); echo returns nothing
echo will accept multiple arguments, print only accepts one argument
Mark Baker
- 209,507
- 32
- 346
- 385