Webhosting and cheap domain registration services
  

 Home

PHP Manual
PrevChapter 9. Basic syntaxNext

Instruction separation

Instructions are separated the same as in C or Perl - terminate each statement with a semicolon.

The closing tag (?>) also implies the end of the statement, so the following are equivalent:

<?php
    
echo "This is a test";
?>

<?php echo "This is a test" ?>


PrevHomeNext
Basic syntaxUpComments

 

  

 

 

 Network sites:

Domain registration : Domain registration and domain name transfer services
Cheap Domain Registrar : Cheap domains or register domain name from $5.95
 

Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to http://www.php.net/docs.php