Skip to content

Commit 50688e3

Browse files
committed
Forgot the test for bug #69688
1 parent 95da6b7 commit 50688e3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

ext/opcache/tests/bug69688.phpt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--TEST--
2+
Bug #69688 (segfault with eval and opcache fast shutdown)
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.fast_shutdown=1
7+
--SKIPIF--
8+
<?php require_once('skipif.inc'); ?>
9+
--FILE--
10+
<?php
11+
eval('function g() {} function g2() {} function g3() {}');
12+
13+
eval('class A{} class B{} class C{}');
14+
15+
?>
16+
okey
17+
--EXPECT--
18+
okey

0 commit comments

Comments
 (0)