mirror of
https://github.com/php/php-src.git
synced 2026-03-27 09:42:22 +01:00
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
22 lines
444 B
PHP
22 lines
444 B
PHP
--TEST--
|
|
Check that phi use chains are correctly maintained when removing blocks
|
|
--EXTENSIONS--
|
|
opcache
|
|
--FILE--
|
|
<?php
|
|
|
|
function test(array $adapters) {
|
|
foreach ($adapters as $adapter) {
|
|
if (\in_array('cli-server', ['cli', 'phpdbg'], true) && $adapter instanceof stdClass && !\filter_var('1', \FILTER_VALIDATE_BOOLEAN)) {
|
|
continue;
|
|
}
|
|
|
|
$adapters[] = $adapter;
|
|
}
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|