主页
PHP
PHP Exception getLine() 方法
tryphp_exception_getline
运行 ❯
×
更改方向
保存代码
更改主题
<?php try { throw new Exception("An error occurred"); } catch(Exception $e) { echo $e->getLine(); } ?>