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.
 
 

24 lines
366 B

--TEST--
finally is not injected before break that only leaves nested loop
--FILE--
<?php
function main(): void
{
try {
echo "try\n";
for ($i = 0; $i < 3; $i++) {
echo "loop:$i\n";
break;
}
echo "after-loop\n";
} finally {
echo "finally\n";
}
}
?>
--EXPECT--
try
loop:0
after-loop
finally