1--TEST--
2Removing a block that has duplicate successors
3--EXTENSIONS--
4opcache
5--FILE--
6<?php
7function test($foo) {
8    $bar = 0;
9    if ($bar === 1 && $foo && PHP_SAPI !== 'cli') {
10        echo "foo\n";
11    }
12    echo "bar\n";
13}
14test(1);
15?>
16--EXPECT--
17bar
18