diff --git a/language/basic-syntax.xml b/language/basic-syntax.xml index 35757f00d7..0571c2161f 100644 --- a/language/basic-syntax.xml +++ b/language/basic-syntax.xml @@ -1,5 +1,5 @@ - + Basic syntax @@ -110,7 +110,8 @@ function (PHP 3 only), by enabling the short_open_tag configuration setting in the PHP config file, or by compiling PHP with the - --enable-short-tags option to configure. + --enable-short-tags option to configure. Even + if it is enabled by default, use of short tags are discouraged. @@ -123,6 +124,16 @@ + + + Using short tags should be avoided when developing applications + or libraries that are meant for redistribution, or deployment on + PHP servers which are not under your control, because short tags + may not be supported on the target server. For portable, + redistributable code, be sure not to use short tags. + + + The closing tag for the block will include the immediately trailing newline if one is present. Also, the closing tag