[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/language/_basic-syntax.xml?=
From:       Joe_Watkins <krakjoe () php ! net>
Date:       2013-11-17 16:35:10
Message-ID: svn-krakjoe-1384706110-332149-1197107427 () svn ! php ! net
[Download RAW message or body]

krakjoe                                  Sun, 17 Nov 2013 16:35:10 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=332149

Log:
fix a blunder

Changed paths:
    U   phpdoc/en/trunk/language/basic-syntax.xml

Modified: phpdoc/en/trunk/language/basic-syntax.xml
===================================================================
--- phpdoc/en/trunk/language/basic-syntax.xml	2013-11-17 08:57:27 UTC (rev 332148)
+++ phpdoc/en/trunk/language/basic-syntax.xml	2013-11-17 16:35:10 UTC (rev 332149)
@@ -13,11 +13,17 @@
     of opening and closing tags is ignored by the PHP parser.
    </para>
    <para>
-    PHP also allows for short tags <literal>&lt;?</literal> and <literal>?&gt;</literal>.
-    Historically, the use of short tags was discouraged because configuration could prohibit
-    their operation; since 5.4.0 short tags are always available.
+     PHP also allows for short open tags <literal>&lt;?</literal> and <literal>?&gt;</literal>
+    (which are discouraged because they are only available if enabled with
+    <link linkend="ini.short-open-tag">short_open_tag</link> &php.ini; configuration
+    file directive, or if PHP was configured with the <option>--enable-short-tags</option>
+    option.
    </para>
    <para>
+    PHP also allows for short echo tags <literal>&lt;?=</literal> and <literal>=?&gt;</literal>,
+    since 5.4.0 short echo tags are always available.
+   </para>
+   <para>
     If a file is pure PHP code, it is preferable to omit the PHP closing tag at the
     end of the file.  This prevents accidental whitespace or new lines being added after the PHP
     closing tag, which may cause unwanted effects because PHP will start output



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic