命令の分離

命令は、C や Perl と同様に分離されます。つまり、各文はセミコロンで 終了します。

閉じるタグ (?>) も文の終わりの意味を有します。 このため、以下の文は等価です。


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

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