Uncaught TypeError: Argument 1 passed to base_exception_handler::report() must be an instance of Exception, instance of TypeError given, called in
閉關(guān)修行中......
已經(jīng)提示的很清楚了,base_exception_handler::report()
第一個參數(shù)必須是Exception
實例,而你傳入的是TypeError
實例
附上PHP對于Exception
和TypeError
類型的說明:
http://php.net/manual/en/clas...
http://php.net/manual/en/clas...