0
What is the difference between echo and die() or are they same?
2 Answers
+ 1
The die() function can accept an optional argument string that it will output just before terminating the script.
echo() only outputs its arguments, it will not terminate the script.