Slide 38
Slide 38 text
grep -r error_reporting xdebug
static void xdebug_base_overloaded_functions_restore(void) {
// ...
if (XG_BASE(orig_error_reporting_func)) {
orig = zend_hash_str_find_ptr(
EG(function_table),
"error_reporting",
sizeof("error_reporting") - 1
);
if (orig) {
orig->internal_function.handler =
XG_BASE(orig_error_reporting_func);
// ...