File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ static void zend_set_default_compile_time_values(void) /* {{{ */
522
522
{
523
523
/* default compile-time values */
524
524
CG (short_tags ) = short_tags_default ;
525
- CG (short_tags_notice ) = IS_FALSE ;
525
+ CG (short_tags_notice ) = 0 ;
526
526
CG (compiler_options ) = compiler_options_default ;
527
527
}
528
528
/* }}} */
Original file line number Diff line number Diff line change @@ -2032,9 +2032,9 @@ string:
2032
2032
2033
2033
<INITIAL>" <?" {
2034
2034
if (CG (short_tags)) {
2035
- if (CG (short_tags_notice) == IS_FALSE ) {
2035
+ if (CG (short_tags_notice) == 0 ) {
2036
2036
zend_error (E_DEPRECATED, " PHP Short tags are deprecated as of PHP 7.4 and will be removed in a future version" );
2037
- CG (short_tags_notice) = IS_TRUE ;
2037
+ CG (short_tags_notice) = 1 ;
2038
2038
}
2039
2039
BEGIN (ST_IN_SCRIPTING);
2040
2040
if (PARSER_MODE ()) {
You can’t perform that action at this time.
0 commit comments