Skip to content

Commit 33fbd04

Browse files
committed
Changed default value for short_tags in the About section of PHP INI files
1 parent d80b08a commit 33fbd04

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
@@ -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

php.ini-production

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,15 @@
184184
; http://php.net/engine
185185
engine = On
186186

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

0 commit comments

Comments
 (0)