mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
0879aae575
commit
7abfa104a6
1 changed files with 3 additions and 5 deletions
|
@ -13,11 +13,9 @@
|
|||
of opening and closing tags is ignored by the PHP parser.
|
||||
</para>
|
||||
<para>
|
||||
PHP also allows for short tags <literal><?</literal> and <literal>?></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><?</literal> and <literal>?></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
|
||||
|
|
Loading…
Reference in a new issue