Home
last modified time | relevance | path

Searched refs:exception_handler (Results 1 – 3 of 3) sorted by relevance

/PHP-7.4/Zend/tests/
H A Dbug74408.phpt12 public function exception_handler(Error $e) {
18 set_exception_handler('ErrorHandling::exception_handler');
H A Dbug63206_2.phpt2 Bug #63206 Fully support exception_handler stacking, even with null
/PHP-7.4/Zend/
H A Dzend_builtin_functions.c198 ZEND_ARG_INFO(0, exception_handler)
1695 zval *exception_handler; in ZEND_FUNCTION() local
1697 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &exception_handler) == FAILURE) { in ZEND_FUNCTION()
1701 if (Z_TYPE_P(exception_handler) != IS_NULL) { /* NULL == unset */ in ZEND_FUNCTION()
1702 if (!zend_is_callable(exception_handler, 0, NULL)) { in ZEND_FUNCTION()
1703 zend_string *exception_handler_name = zend_get_callable_name(exception_handler); in ZEND_FUNCTION()
1717 if (Z_TYPE_P(exception_handler) == IS_NULL) { /* unset user-defined handler */ in ZEND_FUNCTION()
1722 ZVAL_COPY(&EG(user_exception_handler), exception_handler); in ZEND_FUNCTION()

Completed in 10 milliseconds