閉關(guān)修行中......
それは明確に述べられています、base_exception_handler::report()第一個參數(shù)必須是Exception實例,而你傳入的是TypeError例
base_exception_handler::report()
Exception
TypeError
PHP の Exception和TypeError 型の説明を添付します: http://php.net/manual/en/clas...http://php.net/manual/en/clas...