print

print

(PHP 4, PHP 5, PHP 7)

printOutput a string

Description

int print ( string $arg )

Outputs arg.

print is not actually a real function (it is a language construct) so you are not required to use parentheses with its argument list.

The major differences to echo are that print only accepts a single argument and always returns 1.

Parameters

arg

The in