A PHP script is written between the <?php and ?> tags; each statement ends with a semicolon. Comments are written with //, # or /* */. echo prints a value. PHP runs on the server and sends the result to the browser.
Example
<?php
echo 'Bonjour';