PHP echo Keyword
ExampleGet your own PHP Server
Use echo
to output some text:
<?php
echo "Hello World!";
?>
Try it Yourself »
Definition and Usage
The echo
keyword is used to output text. The echo statement can output multiple strings
separated by commas.
More Examples
Related Pages
The print
keyword
❮ PHP Keywords