From 63f2d880888aae381631f126b3ed029b3468f903 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 20 Jun 2019 10:27:33 +0200 Subject: add test for #78185 --- ext/opcache/tests/bug78185.phpt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ext/opcache/tests/bug78185.phpt diff --git a/ext/opcache/tests/bug78185.phpt b/ext/opcache/tests/bug78185.phpt new file mode 100644 index 0000000000..cd96cf848c --- /dev/null +++ b/ext/opcache/tests/bug78185.phpt @@ -0,0 +1,22 @@ +--TEST-- +Bug #78185: file cache only no longer works +--INI-- +opcache.enable_cli=1 +opcache.optimization_level=-1 +opcache.file_cache={PWD} +opcache.file_cache_only=1 +--FILE-- + +--CLEAN-- + +--EXPECTF-- +string(%d) "%s78185.php.bin" + -- cgit v1.2.1