php-src/ext/opcache/tests/issue0128.phpt
2013-09-16 14:58:18 +08:00

17 lines
295 B
PHP

--TEST--
ISSUE #128 (opcache_invalidate segmentation fault)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
var_dump(opcache_invalidate('1'));
var_dump("okey");
?>
--EXPECT--
bool(false)
string(4) "okey"