Throw an exception and then output its message: <?php try { throw new Exception("An error occurred"); } catch(Exception $e) { echo $e->getMessage(); }
確定! 回上一頁