PHP数据库类用new函数实例化时,如何优化连接与错误处理?

PHP数据库类用new函数实例化时,如何优化连接与错误处理?

adminZpd # # #