0 votes
in PHP by
What is "print" in PHP?

1 Answer

0 votes
by

PHP print output a string. It is a language construct not a function. So the use of parentheses is not required with the argument list. Unlike echo, it always returns 1.

Syntax:

int print ( string $arg)  

...