What is "print" in PHP?
Like PHP echo, PHP print is a language construct, so you don't need to use parenthesis with the argument list. Unlike echo, it always returns 1.
The syntax of PHP print is given below:
int print(string $arg)
PHP print statement can be used to print string, multi line strings, escaping characters, variable, array etc.