Home
last modified time | relevance | path

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

/PHP-7.2/Zend/tests/
H A Dbug74408.phpt16 public function exception_handler(Error $e) {
22 set_exception_handler('ErrorHandling::exception_handler');
/PHP-7.2/Zend/
H A Dzend_builtin_functions.c193 ZEND_ARG_INFO(0, exception_handler)
1664 zval *exception_handler; in ZEND_FUNCTION() local
1666 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &exception_handler) == FAILURE) { in ZEND_FUNCTION()
1670 if (Z_TYPE_P(exception_handler) != IS_NULL) { /* NULL == unset */ in ZEND_FUNCTION()
1671 if (!zend_is_callable(exception_handler, 0, NULL)) { in ZEND_FUNCTION()
1672 zend_string *exception_handler_name = zend_get_callable_name(exception_handler); in ZEND_FUNCTION()
1686 if (Z_TYPE_P(exception_handler) == IS_NULL) { /* unset user-defined handler */ in ZEND_FUNCTION()
1691 ZVAL_COPY(&EG(user_exception_handler), exception_handler); in ZEND_FUNCTION()

Completed in 10 milliseconds