首页 > 问答 > 正文
欧阳克2017-07-03 11:43:02
已经提示的很清楚了,base_exception_handler::report()第一个参数必须是Exception实例,而你传入的是TypeError实例
base_exception_handler::report()
Exception
TypeError
附上PHP对于Exception和TypeError类型的说明:http://php.net/manual/en/clas...http://php.net/manual/en/clas...