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