-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Current vast amounts of methods change the default PHP error handling that throws a warning to throwing exceptions. This should not be done because:
- PHP's general error handling for nearly any function or method, albeit in core or in an extension doesn't do this
- It is incompatible with HHVM's error handling. In HHVM, the parameter parsing happens before the (native) C-function is entered. This makes it impossible to convert warnings to exceptions, even if we wanted to.