Definition
The print() function outputs one or more strings.
Syntax
print(strings)
Parameters
| Parameter | Description |
|---|---|
strings |
Required. One or more strings to be sent to the output. |
Example
<?php
print "Hello world!";
The print() function outputs one or more strings.
print(strings)
| Parameter | Description |
|---|---|
strings |
Required. One or more strings to be sent to the output. |
<?php
print "Hello world!";