1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--TEST-- Incorrect NOP removal on jump to NOP --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php function test(int $i) : int { if ($i == 1) { $x = $i + 1; } return $i; } var_dump(test(42)); ?> --EXPECT-- int(42)