vrana Wed Dec 10 08:31:35 2003 EDT
Modified files: /phpdoc/en/language basic-syntax.xml Log:
Closing tag of a PHP block at the end of a file is optional
Index: phpdoc/en/language/basic-syntax.xml
diff -u phpdoc/en/language/basic-syntax.xml:1.35 phpdoc/en/language/basic-syntax.xml:1.36
--- phpdoc/en/language/basic-syntax.xml:1.35 Wed Dec 10 08:03:54 2003
+++ phpdoc/en/language/basic-syntax.xml Wed Dec 10 08:31:35 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.35 $ -->
+<!-- $Revision: 1.36 $ -->
<chapter id="language.basic-syntax">
<title>Basic syntax</title>
@@ -141,6 +141,7 @@
trailing newline if one is present. Also, the closing tag
automatically implies a semicolon; you do not need to have a
semicolon terminating the last line of a PHP block.
+ Closing tag of a PHP block at the end of a file is optional.
</para>
<para>
Maybe you can add some arguments here, something like :
"this feature may be usefull if you need to include a file but don't want to have extra lines after the closing tags (for headers for example), etc etc"
something that will make the doc more consistant ;)
didou
