x
 
<!DOCTYPE html>
<html>
<body>
<?php
try {
  throw new Exception("发生了一个错误");
} catch(Exception $e) {
  echo "Error in this file: " . $e->getFile();
}
?>
</body>
</html>