Skip to content

Commit 1916aaa

Browse files
committed
Add test for ISSUE #128
1 parent 46f18cc commit 1916aaa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ext/opcache/tests/issue0128.phpt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
--TEST--
2+
ISSUE #128 (opcache_invalidate segmentation fault)
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.optimization_level=-1
7+
--SKIPIF--
8+
<?php require_once('skipif.inc'); ?>
9+
--FILE--
10+
<?php
11+
var_dump(opcache_invalidate('1'));
12+
var_dump("okey");
13+
?>
14+
--EXPECT--
15+
bool(false)
16+
string(4) "okey"

0 commit comments

Comments
 (0)