Uncaught TypeError: Argument 1 passed to base_exception_handler::report() must be an instance of Exception, instance of TypeError given, called in
欧阳克2017-07-03 11:43:02
It has been clearly stated, base_exception_handler::report()
The first parameter must be an Exception
instance, and what you pass in is a TypeError
instance
Attached is PHP's description of the Exception
and TypeError
types:
http://php.net/manual/en/clas...
http://php.net/manual/en/clas...