Skip to content

Commit e1e9e78

Browse files
committed
Changed default value for short_tags in the About section of PHP INI files
1 parent e48bffc commit e1e9e78

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

php.ini-development

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,15 @@
174174
; http://php.net/engine
175175
engine = On
176176

177+
; This directive is DEPRECATED.
177178
; This directive determines whether or not PHP will recognize code between
178179
; <? and ?> tags as PHP source which should be processed as such. It is
179180
; generally recommended that <?php and ?> should be used and that this feature
180181
; should be disabled, as enabling it may result in issues when generating XML
181182
; documents, however this remains supported for backward compatibility reasons.
182183
; Note that this directive does not control the <?= shorthand tag, which can be
183184
; used regardless of this directive.
184-
; Default Value: On
185+
; Default Value: Off
185186
; Development Value: Off
186187
; Production Value: Off
187188
; http://php.net/short-open-tag

php.ini-production

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,15 @@
179179
; http://php.net/engine
180180
engine = On
181181

182+
; This directive is DEPRECATED.
182183
; This directive determines whether or not PHP will recognize code between
183184
; <? and ?> tags as PHP source which should be processed as such. It is
184185
; generally recommended that <?php and ?> should be used and that this feature
185186
; should be disabled, as enabling it may result in issues when generating XML
186187
; documents, however this remains supported for backward compatibility reasons.
187188
; Note that this directive does not control the <?= shorthand tag, which can be
188189
; used regardless of this directive.
189-
; Default Value: On
190+
; Default Value: Off
190191
; Development Value: Off
191192
; Production Value: Off
192193
; http://php.net/short-open-tag

0 commit comments

Comments
 (0)