xref: /PHP-7.4/ext/opcache/tests/bug68252.phpt (revision eaeecc52)
1--TEST--
2Bug #68252 (segfault in Zend/zend_hash.c in function _zend_hash_del_el)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.fast_shutdown=1
7--SKIPIF--
8<?php require_once('skipif.inc'); ?>
9--FILE--
10<?php
11/* run this test script with valgrind */
12function a() {
13	echo "okey";
14}
15
16create_function('', 'var_dump("22");');
17
18a();
19--EXPECTF--
20Deprecated: Function create_function() is deprecated in %s on line %d
21okey
22