Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_exceptions.h63 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me…
64 ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long c…
68 ZEND_API zend_object *zend_throw_error_exception(zend_class_entry *exception_ce, zend_string *messa…
H A Dzend_exceptions.c824 if (!exception_ce) { in zend_throw_exception_zstr()
825 exception_ce = zend_ce_exception; in zend_throw_exception_zstr()
828 ZEND_ASSERT(instanceof_function(exception_ce, zend_ce_throwable) in zend_throw_exception_zstr()
831 object_init_ex(&ex, exception_ce); in zend_throw_exception_zstr()
839 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in zend_throw_exception_zstr()
851 zend_object *ex = zend_throw_exception_zstr(exception_ce, msg_str, code); in zend_throw_exception()
867 obj = zend_throw_exception_zstr(exception_ce, msg_str, code); in zend_throw_exception_ex()
875 zend_object *obj = zend_throw_exception_zstr(exception_ce, message, code); in zend_throw_error_exception()
876 if (exception_ce && instanceof_function(exception_ce, zend_ce_error_exception)) { in zend_throw_error_exception()
996 zend_class_entry *exception_ce = Z_OBJCE_P(exception); in zend_throw_exception_object() local
[all …]
H A Dzend.c1772 ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const char *format, ...) /… in zend_throw_error() argument
1777 if (!exception_ce) { in zend_throw_error()
1778 exception_ce = zend_ce_error; in zend_throw_error()
1791 zend_throw_exception(exception_ce, message, 0); in zend_throw_error()
H A Dzend.h393 ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const char *format, ...) Z…
H A Dzend_execute_API.c234 static ZEND_COLD void zend_throw_or_error(int fetch_type, zend_class_entry *exception_ce, const cha… in zend_throw_or_error() argument
243 zend_throw_error(exception_ce, "%s", message); in zend_throw_or_error()

Completed in 27 milliseconds