diff options
author | Xinchen Hui <laruence@gmail.com> | 2016-01-26 15:57:39 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2016-01-26 15:57:39 +0800 |
commit | 9ff08ae17cc6092810268b647dd9966e33fdc0a6 (patch) | |
tree | 049c61b213802b7094fb5d51adb496766263e94c /ext/opcache | |
parent | 67c1921e2b01f298977c15e7352b6002ed175ea1 (diff) | |
download | php-git-9ff08ae17cc6092810268b647dd9966e33fdc0a6.tar.gz |
Fixed bug #71443 (Segfault using built-in webserver with intl using symfony)
Diffstat (limited to 'ext/opcache')
-rw-r--r-- | ext/opcache/tests/bug65915.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/opcache/tests/bug65915.phpt b/ext/opcache/tests/bug65915.phpt index 6496ee3253..c616c4fb5f 100644 --- a/ext/opcache/tests/bug65915.phpt +++ b/ext/opcache/tests/bug65915.phpt @@ -3,6 +3,7 @@ Bug #65915 (Inconsistent results with require return value) --INI-- opcache.enable=1 opcache.enable_cli=1 +opcache.file_cache_only=0 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- @@ -13,7 +14,7 @@ file_put_contents($tmp, '<?php return function(){ return "a";};'); $f = require $tmp; var_dump($f()); -opcache_invalidate($tmp, true); +var_dump(opcache_invalidate($tmp, true)); file_put_contents($tmp, '<?php return function(){ return "b";};'); $f = require $tmp; @@ -23,4 +24,5 @@ var_dump($f()); ?> --EXPECT-- string(1) "a" +bool(true) string(1) "b" |