Home
last modified time | relevance | path

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

/PHP-7.3/Zend/
H A Dzend_exceptions.c983 zend_class_entry *ce_exception; in zend_exception_error() local
986 ce_exception = Z_OBJCE(exception); in zend_exception_error()
988 if (ce_exception == zend_ce_parse_error || ce_exception == zend_ce_compile_error) { in zend_exception_error()
993 zend_error_helper(ce_exception == zend_ce_parse_error ? E_PARSE : E_COMPILE_ERROR, in zend_exception_error()
998 } else if (instanceof_function(ce_exception, zend_ce_throwable)) { in zend_exception_error()
1003 zend_call_method_with_0_params(&exception, ce_exception, &ex->ce->__tostring, "__tostring", &tmp); in zend_exception_error()
1006 zend_error(E_WARNING, "%s::__toString() must return a string", ZSTR_VAL(ce_exception->name)); in zend_exception_error()
1018 …if (instanceof_function(ce_exception, zend_ce_exception) || instanceof_function(ce_exception, zend… in zend_exception_error()
1025 ZSTR_VAL(Z_OBJCE(zv)->name), ZSTR_VAL(ce_exception->name)); in zend_exception_error()
1042 zend_error(severity, "Uncaught exception '%s'", ZSTR_VAL(ce_exception->name)); in zend_exception_error()

Completed in 12 milliseconds