note 115624 deleted from language.basic-syntax.instruction-separation by sobak
| From: | sobak@php.net | Date: | Thu, 18 Sep 2014 05:24:33 +0000 |
| Subject: | note 115624 deleted from language.basic-syntax.instruction-separation by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200470@lists.php.net to get a copy of this message | ||
Note Submitter: Karthik SWOT
----
The Second line
<?php echo 'This is a test' ?>
will be working properly without throw any errors.
You don't need to put ; at the end of statement if we using a single statement.
If we add more statement only it should be add like this,
<?php
echo 'This is a test'
echo 'This is second line'
?>
See, here also no need to put ; at the end of second line. Because there is no additional statements
after.