1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/opcache/tests/bug68252.phpt
Xinchen Hui e6fe3127d0 Fixed bug #68252 (segfault in Zend/zend_hash.c in function _zend_hash_del_el)
Don't leave a UNDEF gap in function_table
2014-10-28 17:36:03 +08:00

21 lines
349 B
PHP

--TEST--
Bug #68252 (segfault in Zend/zend_hash.c in function _zend_hash_del_el)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.fast_shutdown=1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* run this test script with valgrind */
function a() {
echo "okey";
}
create_function('', 'var_dump("22");');
a();
--EXPECT--
okey