File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 197
197
engine = On
198
198
199
199
; This directive determines whether or not PHP will recognize code between
200
- ; <? and ?> tags as PHP source which should be processed as such. It's been
201
- ; recommended for several years that you not use the short tag "short cut" and
202
- ; instead to use the full <?php and ?> tag combination. With the wide spread use
203
- ; of XML and use of these tags by other languages, the server can become easily
204
- ; confused and end up parsing the wrong code in the wrong context. But because
205
- ; this short cut has been a feature for such a long time, it's currently still
206
- ; supported for backwards compatibility, but we recommend you don't use them.
200
+ ; <? and ?> tags as PHP source which should be processed as such. It is
201
+ ; generally recommended that <?php and ?> should be used and that this feature
202
+ ; should be disabled, as enabling it may result in issues when generating XML
203
+ ; documents, however this remains supported for backward compatibility reasons.
204
+ ; Note that this directive does not control the <?= shorthand tag, which can be
205
+ ; used regardless of this directive.
207
206
; Default Value: On
208
207
; Development Value: Off
209
208
; Production Value: Off
Original file line number Diff line number Diff line change 197
197
engine = On
198
198
199
199
; This directive determines whether or not PHP will recognize code between
200
- ; <? and ?> tags as PHP source which should be processed as such. It's been
201
- ; recommended for several years that you not use the short tag "short cut" and
202
- ; instead to use the full <?php and ?> tag combination. With the wide spread use
203
- ; of XML and use of these tags by other languages, the server can become easily
204
- ; confused and end up parsing the wrong code in the wrong context. But because
205
- ; this short cut has been a feature for such a long time, it's currently still
206
- ; supported for backwards compatibility, but we recommend you don't use them.
200
+ ; <? and ?> tags as PHP source which should be processed as such. It is
201
+ ; generally recommended that <?php and ?> should be used and that this feature
202
+ ; should be disabled, as enabling it may result in issues when generating XML
203
+ ; documents, however this remains supported for backward compatibility reasons.
204
+ ; Note that this directive does not control the <?= shorthand tag, which can be
205
+ ; used regardless of this directive.
207
206
; Default Value: On
208
207
; Development Value: Off
209
208
; Production Value: Off
You can’t perform that action at this time.
0 commit comments