There are following difference between print and echo:
echo |
print |
It is a statement not a function |
It is real function |
It does not require the parentheses |
It required the parentheses |
It does not return value |
It returns type 1 |
Syntax:
void echo ( string $arg1 [, string $... ] ) |
Syntax:
int print ( string $arg ) |