File tree Expand file tree Collapse file tree 6 files changed +118
-0
lines changed
Expand file tree Collapse file tree 6 files changed +118
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ --TEST--
2+ GH-16979: CircleCI ARM: opcache_is_script_cached always true
3+ --INI--
4+ opcache.enable=1
5+ opcache.enable_cli=1
6+ opcache.jit=disable
7+ opcache.jit_buffer_size=0
8+ --EXTENSIONS--
9+ opcache
10+ --CONFLICTS--
11+ opcache_cached_arm
12+ --FILE--
13+ <?php
14+
15+ $ uncached_file = __DIR__ . '/gh16979_999.inc ' ;
16+
17+ var_dump (
18+ opcache_is_script_cached ($ uncached_file )
19+ );
20+
21+ var_dump (
22+ opcache_is_script_cached_in_file_cache ($ uncached_file )
23+ );
24+
25+ ?>
26+ --EXPECT--
27+ bool(false)
28+ bool(false)
Original file line number Diff line number Diff line change 1+ --TEST--
2+ GH-16979: CircleCI ARM: opcache_is_script_cached always true: file cache enabled
3+ --INI--
4+ opcache.enable=1
5+ opcache.enable_cli=1
6+ opcache.jit=disable
7+ opcache.jit_buffer_size=0
8+ opcache.file_cache="{TMP}"
9+ --EXTENSIONS--
10+ opcache
11+ --CONFLICTS--
12+ opcache_cached_arm
13+ --FILE--
14+ <?php
15+
16+ $ uncached_file = __DIR__ . '/gh16979_999.inc ' ;
17+
18+ var_dump (
19+ opcache_is_script_cached ($ uncached_file )
20+ );
21+
22+ var_dump (
23+ opcache_is_script_cached_in_file_cache ($ uncached_file )
24+ );
25+
26+ ?>
27+ --EXPECT--
28+ bool(false)
29+ bool(false)
Original file line number Diff line number Diff line change 1+ --TEST--
2+ GH-16979: CircleCI ARM: opcache_is_script_cached always true: file cache read only
3+ --INI--
4+ opcache.enable=1
5+ opcache.enable_cli=1
6+ opcache.jit=disable
7+ opcache.jit_buffer_size=0
8+ opcache.file_cache="{TMP}"
9+ opcache.file_cache_read_only=1
10+ --EXTENSIONS--
11+ opcache
12+ --CONFLICTS--
13+ opcache_cached_arm
14+ --FILE--
15+ <?php
16+
17+ $ uncached_file = __DIR__ . '/gh16979_999.inc ' ;
18+
19+ var_dump (
20+ opcache_is_script_cached ($ uncached_file )
21+ );
22+
23+ var_dump (
24+ opcache_is_script_cached_in_file_cache ($ uncached_file )
25+ );
26+
27+ ?>
28+ --EXPECT--
29+ bool(false)
30+ bool(false)
Original file line number Diff line number Diff line change 1+ --TEST--
2+ GH-16979: CircleCI ARM: opcache_is_script_cached always true: non existant file
3+ --INI--
4+ opcache.enable=1
5+ opcache.enable_cli=1
6+ opcache.jit=disable
7+ opcache.jit_buffer_size=0
8+ --EXTENSIONS--
9+ opcache
10+ --CONFLICTS--
11+ opcache_cached_arm
12+ --FILE--
13+ <?php
14+
15+ $ uncached_file = __DIR__ . '/gh16979_900.inc ' ;
16+
17+ var_dump (
18+ opcache_is_script_cached ($ uncached_file )
19+ );
20+
21+ var_dump (
22+ opcache_is_script_cached_in_file_cache ($ uncached_file )
23+ );
24+
25+ ?>
26+ --EXPECT--
27+ bool(false)
28+ bool(false)
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ echo 2 +4 . "\n" ;
You can’t perform that action at this time.
0 commit comments