Disable FFI preload tests with opcache.preload_user

This commit is contained in:
Nikita Popov 2021-05-19 10:01:29 +02:00
parent 976dd997de
commit 62cb7dc4f5
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,10 @@ FFI 300: FFI preloading
ffi
opcache
--SKIPIF--
<?php if (substr(PHP_OS, 0, 3) == 'WIN') die('skip not for Windows'); ?>
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') die('skip not for Windows');
if (ini_get('opcache.preload_user')) die('skip FFI::load() does not support opcache.preload_user');
?>
--INI--
ffi.enable=1
opcache.enable=1

View File

@ -5,6 +5,7 @@ ffi
--SKIPIF--
<?php
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
if (ini_get('opcache.preload_user')) die('skip FFI::load() does not support opcache.preload_user');
?>
--INI--
opcache.enable_cli=1