php-src/ext/opcache/tests/block_removal_with_duplicate_successors.phpt
Max Semenik e9f783fcdd Migrate skip checks to --EXTENSIONS--, p3
For rationale, see #6787

Extensions migrated in part 3:
* ftp
* gmp
* iconv
* opcache
* shmop
2021-04-03 15:23:25 +02:00

18 lines
257 B
PHP

--TEST--
Removing a block that has duplicate successors
--EXTENSIONS--
opcache
--FILE--
<?php
function test($foo) {
$bar = 0;
if ($bar === 1 && $foo && PHP_SAPI !== 'cli') {
echo "foo\n";
}
echo "bar\n";
}
test(1);
?>
--EXPECT--
bar