• PHP Video Tutorials

PHP - Function print



Syntax

int print ( string $arg )

Definition and Usage

It returns output a string

Return Values

It returns always 1.

Parameters

Sr.No Parameters & Description
1

arg

It is an input data

Example

Try out the following example

<?php
   print "Hello world!"; 
?>

This will produce following result −

Hello world!
php_function_reference.htm
Advertisements