PHP print() Function

The print() function in PHP is used to output one or more string.

Syntax

Parameter

arg(required)– This parameter represents the input data. It can take one or more arguments.

Return

This function returns an integer value 1.

Example 1

Output

Example 2

Output

Example 3

Output

Example 4

Output

Pin It on Pinterest

Share This