Home
last modified time | relevance | path

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

/PHP-8.0/Zend/
H A Dzend_exceptions.h60 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me…
61 ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long c…
65 ZEND_API zend_object *zend_throw_error_exception(zend_class_entry *exception_ce, zend_string *messa…
H A Dzend_exceptions.c849 if (!exception_ce) { in zend_throw_exception_zstr()
850 exception_ce = zend_ce_exception; in zend_throw_exception_zstr()
853 ZEND_ASSERT(instanceof_function(exception_ce, zend_ce_throwable) in zend_throw_exception_zstr()
856 object_init_ex(&ex, exception_ce); in zend_throw_exception_zstr()
860 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_MESSAGE), &tmp); in zend_throw_exception_zstr()
864 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in zend_throw_exception_zstr()
876 zend_object *ex = zend_throw_exception_zstr(exception_ce, msg_str, code); in zend_throw_exception()
893 obj = zend_throw_exception(exception_ce, message, code); in zend_throw_exception_ex()
902 zend_object *obj = zend_throw_exception_zstr(exception_ce, message, code); in zend_throw_error_exception()
1004 zend_class_entry *exception_ce = Z_OBJCE_P(exception); in zend_throw_exception_object() local
[all …]
H A Dzend.c1547 ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const char *format, ...) /… in zend_throw_error() argument
1552 if (!exception_ce) { in zend_throw_error()
1553 exception_ce = zend_ce_error; in zend_throw_error()
1566 zend_throw_exception(exception_ce, message, 0); in zend_throw_error()
H A Dzend.h306 ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const char *format, ...) Z…
H A Dzend_execute_API.c218 static ZEND_COLD void zend_throw_or_error(int fetch_type, zend_class_entry *exception_ce, const cha… in zend_throw_or_error() argument
227 zend_throw_error(exception_ce, "%s", message); in zend_throw_or_error()

Completed in 41 milliseconds