Skip to content

Commit 19ddb5f

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
2 parents 387b1c6 + 6704c60 commit 19ddb5f

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? ????, PHP 8.3.10
44

5+
- PHPDBG:
6+
. Fixed bug GH-14596 (crashes with ASAN and ZEND_RC_DEBUG=1).
7+
(David Carlier)
8+
59

610

711
20 Jun 2024, PHP 8.3.9

sapi/phpdbg/phpdbg.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@ static PHP_RINIT_FUNCTION(phpdbg) /* {{{ */
229229

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

235-
zend_alter_ini_entry(key, value, ZEND_INI_SYSTEM, ZEND_INI_STAGE_STARTUP);
235+
zend_alter_ini_entry_ex(key, value, ZEND_INI_SYSTEM, ZEND_INI_STAGE_STARTUP, false);
236236

237-
zend_string_release(key);
238-
zend_string_release(value);
237+
zend_string_release_ex(key, false);
238+
zend_string_release_ex(value, false);
239239
}
240240

241241
return SUCCESS;

0 commit comments

Comments
 (0)