print vs echo
print vs echo
Out of context: Reply #4
- Started
- Last post
- 7 Responses
- albums0
The print function acts like a function which means it can be used in complex expressions. Something like:
$mynum < 10 ? print "less than 10" : print "10 or more";
Where as echo can not be used in that way.