basic_exception.php
来自「php源码 php源码参考」· PHP 代码 · 共 14 行
PHP
14 行
<?phptry { throw new Exception('A terrible error has occurred', 42);}catch (Exception $e){ echo 'Exception '. $e->getCode(). ': '. $e->getMessage().'<br />' .' in '. $e->getFile(). ' on line '. $e->getLine(). '<br />';}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?