PHP print() Function
The print()
function used to output one or more strings. The print() is not a real function, it is a language construct.
Syntax
print(string)
- string - (Required) String is used to output one or more strings.
Example
<?php print "Good morning!"; ?>
Output
Good morning!
Example
<?php $a = "Good evening!"; print $a; ?>
Output
Good evening!
Example
<?php print "Hii Hello, Welcome All of You !"; ?>
Output
Hii Hello, Welcome All of You !