From 7abfa104a665647bcf61a9ef1a964253999d5a38 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Sun, 17 Nov 2013 08:57:27 +0000 Subject: [PATCH] fix #66097 update information on short tags git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332148 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/basic-syntax.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/language/basic-syntax.xml b/language/basic-syntax.xml index 4d7f9af0f6..9b3510a7cc 100644 --- a/language/basic-syntax.xml +++ b/language/basic-syntax.xml @@ -13,11 +13,9 @@ of opening and closing tags is ignored by the PHP parser. - PHP also allows for short tags <? and ?> - (which are discouraged because they are only available if enabled with - short_open_tag &php.ini; configuration - file directive, or if PHP was configured with the - option. + PHP also allows for short tags <? and ?>. + Historically, the use of short tags was discouraged because configuration could prohibit + their operation; since 5.4.0 short tags are always available. If a file is pure PHP code, it is preferable to omit the PHP closing tag at the