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 4eb41c2 commit 33a2155Copy full SHA for 33a2155
Zend/tests/gh18756.phpt
@@ -1,5 +1,7 @@
1
--TEST--
2
Bug GH-18756: Zend MM may delete the main chunk
3
+--EXTENSIONS--
4
+zend_test
5
--FILE--
6
<?php
7
ext/zend_test/test.c
@@ -1517,8 +1517,10 @@ static PHP_FUNCTION(zend_test_create_throwing_resource)
1517
ZVAL_RES(return_value, res);
1518
}
1519
1520
-PHP_FUNCTION(zend_test_gh18756)
+static PHP_FUNCTION(zend_test_gh18756)
1521
{
1522
+ ZEND_PARSE_PARAMETERS_NONE();
1523
+
1524
zend_mm_heap *heap = zend_mm_startup();
1525
zend_mm_gc(heap);
1526
0 commit comments