fix #66097 update information on short tags

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332148 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Joe Watkins 2013-11-17 08:57:27 +00:00
parent 0879aae575
commit 7abfa104a6

View file

@ -13,11 +13,9 @@
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>
(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.
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.
</para>
<para>
If a file is pure PHP code, it is preferable to omit the PHP closing tag at the