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.
 
 

16 lines
321 B

--TEST--
Uncaught main error does not access request memory after php::eval
--AOT_ARGS--
-O2
--FILE--
<?php
function main(): void
{
throw new RuntimeException('main lifecycle error');
}
?>
--EXPECTF--
Fatal error: Uncaught RuntimeException: main lifecycle error in %smain-eval-error-lifecycle.php:%d
Stack trace:
%A