PHP print Statement
The PHP print statement is similar to the echo statement and can be used alternative to echo many times. It is also a language-construct, and so we may not use parenthesis i.e print or print().
The main difference between the print and echo statement is that echo does not behave like a function whereas print behaves like a function. The print statement can have only one argument at a time and thus can print a single string. Also, the print statement always returns a value of 1.
int print(string $arg)