TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
289 B

--TEST--
SSA narrowing: basic int operations
--FILE--
<?php
function main(): void {
$a = 100;
$a += 3;
$a *= 2;
$a -= 50;
echo $a, PHP_EOL;
$b = 42;
$b %= 10;
echo $b, PHP_EOL;
$c = 1;
$c++;
$c++;
echo $c, PHP_EOL;
}
?>
--EXPECT--
156
2
3