xref: /PHP-8.3/ext/opcache/tests/bug69688.phpt (revision e9f783fc)
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--EXTENSIONS--
8opcache
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