Skip to content

Commit b8beb65

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: Tinker with the wording of the short_open_tag description. Conflicts: php.ini-development php.ini-production
2 parents 2240f95 + d209c36 commit b8beb65

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

php.ini-development

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,12 @@
199199
engine = On
200200

201201
; This directive determines whether or not PHP will recognize code between
202-
; <? and ?> tags as PHP source which should be processed as such. For several
203-
; years we recommended that you not use the short tag shortcut and
204-
; instead to use the full <?php and ?> tag combination. With the widespread use
205-
; of XML and use of these tags by other languages, the server can become easily
206-
; confused and end up parsing the wrong code in the wrong context.
207-
; This shortcut is still supported for backwards compatibility, but we
208-
; recommend against its use.
202+
; <? and ?> tags as PHP source which should be processed as such. It is
203+
; generally recommended that <?php and ?> should be used and that this feature
204+
; should be disabled, as enabling it may result in issues when generating XML
205+
; documents, however this remains supported for backward compatibility reasons.
206+
; Note that this directive does not control the <?= shorthand tag, which can be
207+
; used regardless of this directive.
209208
; Default Value: On
210209
; Development Value: Off
211210
; Production Value: Off

php.ini-production

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,12 @@
199199
engine = On
200200

201201
; This directive determines whether or not PHP will recognize code between
202-
; <? and ?> tags as PHP source which should be processed as such. For several
203-
; years we recommended that you not use the short tag shortcut and
204-
; instead to use the full <?php and ?> tag combination. With the widespread use
205-
; of XML and use of these tags by other languages, the server can become easily
206-
; confused and end up parsing the wrong code in the wrong context.
207-
; This shortcut is still supported for backwards compatibility, but we
208-
; recommend against its use.
209-
; Default Value: On
202+
; <? and ?> tags as PHP source which should be processed as such. It is
203+
; generally recommended that <?php and ?> should be used and that this feature
204+
; should be disabled, as enabling it may result in issues when generating XML
205+
; documents, however this remains supported for backward compatibility reasons.
206+
; Note that this directive does not control the <?= shorthand tag, which can be
207+
; used regardless of this directive.
210208
; Default Value: On
211209
; Development Value: Off
212210
; Production Value: Off

0 commit comments

Comments
 (0)