We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c559eae commit 516ea04Copy full SHA for 516ea04
ext/zend_test/test.c
@@ -413,6 +413,8 @@ static PHP_INI_MH(OnUpdateZendTestObserveOplineInZendMM)
413
int int_value = zend_ini_parse_bool(new_value);
414
415
if (int_value == 1) {
416
+ // `zend_mm_heap` is a private struct, so we have not way to find the
417
+ // actual size, but 4096 bytes should be enough
418
ZT_G(zend_test_heap) = malloc(4096);
419
memset(ZT_G(zend_test_heap), 0, 4096);
420
zend_mm_set_custom_handlers(
0 commit comments