mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Disable FFI preload tests with opcache.preload_user
This commit is contained in:
parent
976dd997de
commit
62cb7dc4f5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user