<?php
print();#The Print Statement
echo();#The Echo Statement
?>
Asked
Active
Viewed 52 times
-3
Eyad Mohammed Osama
- 551
- 3
- 22
-
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
- 205,174
- 31
- 336
- 380