Re: cvs: phpdoc /en/language basic-syntax.xml

From: Date: Wed, 10 Dec 2003 13:34:38 +0000
Subject: Re: cvs: phpdoc /en/language basic-syntax.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357298@lists.php.net to get a copy of this message
Jakub Vrana wrote:
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

« previous php.doc (#969357298) next »