1--TEST--
2Handling of pi nodes when replacing a predecessor
3--FILE--
4<?php
5function test(bool $a, bool $b) {
6    $byte = '';
7    if ($a && $byte > 0 && $b) {}
8    unknown($byte);
9}
10function test2() {
11    foreach (0 as $v) {
12        $v ??= 0;
13    }
14}
15?>
16===DONE===
17--EXPECT--
18===DONE===
19