mirror of
https://github.com/php/php-src.git
synced 2024-09-25 03:47:26 +00:00
e6fe3127d0
Don't leave a UNDEF gap in function_table
21 lines
349 B
PHP
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
|