PHP中PDO错误/异常(PDOException)处理 参考文章: (1)PHP中PDO错误/异常(PDOException)处理 (2)https://www.cnblogs.com/52php/p/5677932.html 备忘一下。