except.php
来自「php-4.4.7学习linux时下载的源代码」· PHP 代码 · 共 24 行
PHP
24 行
<? $stack=new Java("java.util.Stack"); $stack->push(1); # # Should succeed and print out "1" # $result = $stack->pop(); $ex = java_last_exception_get(); if (!$ex) print "$result\n"; # # Should fail - note the "@" eliminates the warning # $result=@$stack->pop(); $ex=java_last_exception_get(); if ($ex) print $ex->toString(); # # Reset last exception # java_last_exception_clear();?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?