xref: /PHP-7.4/ext/opcache/tests/bug69688.phpt (revision 50688e39)
1--TEST--
2Bug #69688 (segfault with eval and opcache fast shutdown)
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
11eval('function g() {} function g2() {} function g3() {}');
12
13eval('class A{} class B{} class C{}');
14
15?>
16okey
17--EXPECT--
18okey
19