当我扩展一个异常类时:
CustomException extends Exception(){}
throw new CustomException("Houston we have a problem",1);
错误:
SCREAM: Error suppression ignored for
Uncaught exception 'CustomException' with message 'Houston we have a problem' in C:\wamp\www\index.php on line 5
CustomException: Houston we have a problem in C:\wamp\www\index on line 5
我只想要 CustomException 消息:
CustomException: Houston we have a problem in C:\wamp\www\index on line 5
这可能吗?这是一个xdebug问题吗?谢谢。