摘要:
PHP如何扑捉未处理异常class MyException extends Exception{ function MyException($message, Exception $ex = NULL) { $this->message = $message; $this->innerException = $ex; } public $innerException = NULL;}function exception_handler($exception){ $s = '<pre>' . var_export($exception, true) . & 阅读全文
posted @ 2013-02-26 21:54 PHP-张工 阅读(415) 评论(0) 推荐(0) 编辑