We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a42181b commit d731945Copy full SHA for d731945
Zend/zend_exceptions.c
@@ -870,7 +870,7 @@ void zend_register_default_exception(void) /* {{{ */
870
zend_ce_division_by_zero_error->create_object = zend_default_exception_new;
871
872
INIT_CLASS_ENTRY(ce, "UnhandledMatchError", NULL);
873
- zend_ce_unhandled_match_error = zend_register_internal_class_ex(&ce, zend_ce_exception);
+ zend_ce_unhandled_match_error = zend_register_internal_class_ex(&ce, zend_ce_error);
874
zend_ce_unhandled_match_error->create_object = zend_default_exception_new;
875
}
876
/* }}} */
0 commit comments