Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Jun 21, 2024
2 parents 5a3c4a2 + 19ddb5f commit 6847036
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sapi/phpdbg/phpdbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ static PHP_RINIT_FUNCTION(phpdbg) /* {{{ */

if (zend_vm_kind() != ZEND_VM_KIND_HYBRID) {
/* phpdbg cannot work JIT-ed code */
zend_string *key = zend_string_init(ZEND_STRL("opcache.jit"), 1);
zend_string *value = zend_string_init(ZEND_STRL("off"), 1);
zend_string *key = zend_string_init(ZEND_STRL("opcache.jit"), false);
zend_string *value = zend_string_init(ZEND_STRL("off"), false);

zend_alter_ini_entry(key, value, ZEND_INI_SYSTEM, ZEND_INI_STAGE_STARTUP);
zend_alter_ini_entry_ex(key, value, ZEND_INI_SYSTEM, ZEND_INI_STAGE_STARTUP, false);

zend_string_release(key);
zend_string_release(value);
zend_string_release_ex(key, false);
zend_string_release_ex(value, false);
}

return SUCCESS;
Expand Down

0 comments on commit 6847036

Please sign in to comment.