We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 824e638 commit 30641d6Copy full SHA for 30641d6
ext/opcache/tests/gt16979.phpt
@@ -6,7 +6,6 @@ opcache.enable_cli=1
6
opcache.jit=disable
7
opcache.jit_buffer_size=0
8
opcache.file_cache={TMP}
9
-opcache.file_cache_only=1
10
--EXTENSIONS--
11
opcache
12
--FILE--
@@ -24,5 +23,5 @@ var_dump(
24
23
25
?>
26
--EXPECT--
27
-bool(false)
+bool(true)
28
bool(true)
ext/opcache/zend_accelerator_module.c
@@ -1026,9 +1026,8 @@ ZEND_FUNCTION(opcache_is_script_cached)
1026
RETURN_FALSE;
1027
}
1028
1029
- if (!ZCG(accelerator_enabled) &&
1030
- !(file_cache && ZCG(accel_directives).file_cache_read_only)) {
1031
- RETURN_FALSE;
+ if (!ZCG(accelerator_enabled)) {
+ RETURN_FALSE;
1032
1033
1034
if (file_cache) {
0 commit comments