Skip to content

Commit 378d4ec

Browse files
committed
Fix deprecated INI macros removed in php-src cd753007ce
Replace INI_INT/INI_STR with zend_ini_long_literal/zend_ini_str_literal per the INI API audit that removed the old macros (php/php-src#21146).
1 parent b55fe6c commit 378d4ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scheduler.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,8 +1586,8 @@ ZEND_STACK_ALIGNED void fiber_entry(zend_fiber_transfer *transfer)
15861586
transfer->context = NULL;
15871587

15881588
/* Determine the current error_reporting ini setting. */
1589-
zend_long error_reporting = INI_INT("error_reporting");
1590-
if (!error_reporting && !INI_STR("error_reporting")) {
1589+
zend_long error_reporting = zend_ini_long_literal("error_reporting");
1590+
if (!error_reporting && !zend_ini_str_literal("error_reporting")) {
15911591
error_reporting = E_ALL;
15921592
}
15931593

0 commit comments

Comments
 (0)