summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2013-09-09 16:56:57 -0700
committerAdam Harvey <aharvey@php.net>2013-09-09 16:56:57 -0700
commit160cd8d0a7205cacab9800318abb63a540587c4f (patch)
tree4a56846c83e20299062f67f533fd732a4023c7fc
parent3c3b2b5bdc8e2bcff4d0e7d09375ad7af760b32a (diff)
downloadphp-git-160cd8d0a7205cacab9800318abb63a540587c4f.tar.gz
Tinker with the wording of the short_open_tag description.
I'm still not thrilled with this, but it's a bit better and addresses the issues noted in bug #65644. Plus, it now mentions the decoupling of <?=.
-rw-r--r--php.ini-development13
-rw-r--r--php.ini-production13
2 files changed, 12 insertions, 14 deletions
diff --git a/php.ini-development b/php.ini-development
index db908c0718..ba20bd3fb8 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -197,13 +197,12 @@
engine = On
; This directive determines whether or not PHP will recognize code between
-; <? and ?> tags as PHP source which should be processed as such. It's been
-; recommended for several years that you not use the short tag "short cut" and
-; instead to use the full <?php and ?> tag combination. With the wide spread use
-; of XML and use of these tags by other languages, the server can become easily
-; confused and end up parsing the wrong code in the wrong context. But because
-; this short cut has been a feature for such a long time, it's currently still
-; supported for backwards compatibility, but we recommend you don't use them.
+; <? and ?> tags as PHP source which should be processed as such. It is
+; generally recommended that <?php and ?> should be used and that this feature
+; should be disabled, as enabling it may result in issues when generating XML
+; documents, however this remains supported for backward compatibility reasons.
+; Note that this directive does not control the <?= shorthand tag, which can be
+; used regardless of this directive.
; Default Value: On
; Development Value: Off
; Production Value: Off
diff --git a/php.ini-production b/php.ini-production
index 3d7c6c0dab..db48a8fbc8 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -197,13 +197,12 @@
engine = On
; This directive determines whether or not PHP will recognize code between
-; <? and ?> tags as PHP source which should be processed as such. It's been
-; recommended for several years that you not use the short tag "short cut" and
-; instead to use the full <?php and ?> tag combination. With the wide spread use
-; of XML and use of these tags by other languages, the server can become easily
-; confused and end up parsing the wrong code in the wrong context. But because
-; this short cut has been a feature for such a long time, it's currently still
-; supported for backwards compatibility, but we recommend you don't use them.
+; <? and ?> tags as PHP source which should be processed as such. It is
+; generally recommended that <?php and ?> should be used and that this feature
+; should be disabled, as enabling it may result in issues when generating XML
+; documents, however this remains supported for backward compatibility reasons.
+; Note that this directive does not control the <?= shorthand tag, which can be
+; used regardless of this directive.
; Default Value: On
; Development Value: Off
; Production Value: Off