mirror of
https://github.com/php/php-src.git
synced 2026-04-14 03:22:58 +02:00
17 lines
198 B
PHP
17 lines
198 B
PHP
--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)
|