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.
This commit is contained in:
nielsdos 2023-06-05 22:13:35 +02:00
parent 8f06febedf
commit cced0ddf9d

View file

@ -11,6 +11,8 @@ opcache.jit_hot_loop=64
opcache.jit_hot_func=127 opcache.jit_hot_func=127
opcache.jit_hot_return=8 opcache.jit_hot_return=8
opcache.jit_hot_side_exit=8 opcache.jit_hot_side_exit=8
--EXTENSIONS--
opcache
--FILE-- --FILE--
<?php <?php
include(__DIR__ . '/init_fcall_003.inc'); include(__DIR__ . '/init_fcall_003.inc');