note 39663 added to language.basic-syntax.instruction-separation
| From: | rodrigo at NO*-*SPAMcedha dot org dot ar | Date: | Fri, 06 Feb 2004 15:45:56 +0000 |
| Subject: | note 39663 added to language.basic-syntax.instruction-separation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64732@lists.php.net to get a copy of this message | ||
In a multi-line code, the last line, can ommit the semi-colon:
<?php
include("../layout/main.php");
$currentPage = '<a href="http://www.foo.com">Inicio</a> > Preguntas
Frecuentes'
?>
Note that after "... Preguntas Frecuentes'" there is no semi-colon, and that the code
is interpreted anyway. My 2 cents.
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39663
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39663&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39663&report=yes
Search -- http://master.php.net/manage/user-notes.php