Skip to content

Commit cced0dd

Browse files
committed
Fix test failure for init_fcall_003.phpt without opcache
If opcache isn't loaded, then opcache_invalidate() will fail. Reproducible when you compile PHP without opcache, or run PHP without opcache loaded, and try to run this test. Closes GH-11378.
1 parent 8f06feb commit cced0dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/tests/jit/init_fcall_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ opcache.jit_hot_loop=64
1111
opcache.jit_hot_func=127
1212
opcache.jit_hot_return=8
1313
opcache.jit_hot_side_exit=8
14+
--EXTENSIONS--
15+
opcache
1416
--FILE--
1517
<?php
1618
include(__DIR__ . '/init_fcall_003.inc');

0 commit comments

Comments
 (0)