Print - like echo - outputs a string. It is also a language construct as is echo which means the parentheses aren’t needed.
Unlike echo, it will only accept one argument, and it returns a value (echo does not). Print will always return 1. Is that useful? The value isn’t, but since it does return something it can be used in ways echo can not as shown in the example here.
('monkey' == $x) ? print 'Monkey!' : print 'Not a monkey'; /* The above is "shorthand" for: if('monkey' == $x) { print 'Monkey!'; } else { print 'Not a monkey'; } */
See the manual entry for print
