Bug #46689

The new ClassLoader swallows Fatal Errors

Added by Marc Neuhaus almost 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2013-03-26
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Since the new ClassLoader uses '@include' to load classes E_COMPILE_ERROR errors are completely
ignored. The aren't shown (display_errors), logged to the php log (log_errors) or logged
anywhere through Flow. The main issue seems, that the combination of the @ error control character
and set_error_handler let those E_COMPILE_ERROR slip through.

The only way around this was to register a shutdown function to catch those errors.

Also available in: Atom PDF