php7 error handling, problem solving.
阿神
阿神 2017-07-03 11:41:02
0
1
686
Uncaught TypeError: Argument 1 passed to base_exception_handler::report() must be an instance of Exception, instance of TypeError given, called in 
阿神
阿神

闭关修行中......

reply all(1)
学霸

It has been clearly stated, base_exception_handler::report()The first parameter must be an Exception instance, and what you pass in is a TypeErrorinstance

Attached is PHP's description of the Exception and TypeError types:
http://php.net/manual/en/clas...
http://php.net/manual/en/clas...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template