Home
last modified time | relevance | path

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

/PHP-8.3/ext/spl/
H A Dspl_exceptions.c47 #define spl_ce_Exception zend_ce_exception
52 spl_ce_LogicException = register_class_LogicException(zend_ce_exception); in PHP_MINIT_FUNCTION()
60 spl_ce_RuntimeException = register_class_RuntimeException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-8.3/Zend/
H A Dzend_exceptions.c34 ZEND_API zend_class_entry *zend_ce_exception; variable
85 return instanceof_function(object->ce, zend_ce_exception) ? zend_ce_exception : zend_ce_error; in i_get_exception_base()
377 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in ZEND_METHOD()
389 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_FILE), &tmp); in ZEND_METHOD()
395 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in ZEND_METHOD()
398 zend_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_LINE), &tmp); in ZEND_METHOD()
770 zend_ce_exception = register_class_Exception(zend_ce_throwable); in zend_register_default_exception()
771 zend_init_exception_class_entry(zend_ce_exception); in zend_register_default_exception()
773 zend_ce_error_exception = register_class_ErrorException(zend_ce_exception); in zend_register_default_exception()
812 return zend_ce_exception; in zend_exception_get_default()
[all …]
H A Dzend_exceptions.h28 extern ZEND_API zend_class_entry *zend_ce_exception;
H A Dzend_generators.c1197 zend_ce_ClosedGeneratorException = register_class_ClosedGeneratorException(zend_ce_exception); in zend_register_generator_ce()
/PHP-8.3/ext/intl/
H A Dphp_intl.c187 IntlException_ce_ptr = register_class_IntlException(zend_ce_exception); in PHP_MINIT_FUNCTION()
188 IntlException_ce_ptr->create_object = zend_ce_exception->create_object; in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/com_dotnet/
H A Dcom_extension.c181 php_com_exception_class_entry = register_class_com_exception(zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/json/
H A Djson.c52 php_json_exception_ce = register_class_JsonException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/pdo/
H A Dpdo_dbh.c109 …zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "message", sizeof("message")-1, message); in pdo_raise_impl_error()
110 zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "code", sizeof("code")-1, *pdo_err); in pdo_raise_impl_error()
186 zend_update_property_str(zend_ce_exception, Z_OBJ(ex), "message", sizeof("message") - 1, message); in pdo_handle_error()
187 zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "code", sizeof("code") - 1, *pdo_err); in pdo_handle_error()
/PHP-8.3/ext/sqlite3/
H A Dsqlite3.c112 zend_throw_exception(zend_ce_exception, "Already initialised DB Object", 0); in PHP_METHOD()
119 zend_throw_exception(zend_ce_exception, "Unable to expand filepath", 0); in PHP_METHOD()
124 zend_throw_exception_ex(zend_ce_exception, 0, "open_basedir prohibits opening %s", fullpath); in PHP_METHOD()
135 zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", in PHP_METHOD()
151 …zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", sqlite3_errmsg(db_obj… in PHP_METHOD()
2074 zend_throw_exception(zend_ce_exception, "SQLite3Result cannot be directly instantiated", 0); in PHP_METHOD()
2405 php_sqlite3_exception_ce = register_class_SQLite3Exception(zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/random/
H A Drandom.c666 random_ce_Random_RandomException = register_class_Random_RandomException(zend_ce_exception);
/PHP-8.3/ext/simplexml/
H A Dsimplexml.c2364 zend_argument_error(zend_ce_exception, 1, "is too long"); in PHP_METHOD()
2368 zend_argument_error(zend_ce_exception, 4, "is too long"); in PHP_METHOD()
2372 zend_argument_error(zend_ce_exception, 2, "is invalid"); in PHP_METHOD()
2381 zend_throw_exception(zend_ce_exception, "String could not be parsed as XML", 0); in PHP_METHOD()
/PHP-8.3/sapi/cli/
H A Dphp_cli.c1086 …zval *msg = zend_read_property_ex(zend_ce_exception, EG(exception), ZSTR_KNOWN(ZEND_STR_MESSAGE), … in do_cli()
/PHP-8.3/ext/sodium/
H A Dlibsodium.c144 zend_object *obj = zend_ce_exception->create_object(ce); in sodium_exception_create_object()
164 sodium_exception_ce = register_class_SodiumException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/soap/
H A Dsoap.c156 #define FAULT_PROP_START_OFFSET zend_ce_exception->default_properties_count
418 soap_fault_class_entry = register_class_SoapFault(zend_ce_exception); in PHP_MINIT_FUNCTION()
2782 …zend_update_property_ex(zend_ce_exception, Z_OBJ_P(obj), ZSTR_KNOWN(ZEND_STR_MESSAGE), Z_FAULT_STR…
/PHP-8.3/ext/dom/
H A Dphp_dom.c627 dom_domexception_class_entry = register_class_DOMException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/phar/
H A Dphar_object.c5081 phar_ce_PharException = register_class_PharException(zend_ce_exception); in phar_object_init()
/PHP-8.3/ext/date/
H A Dphp_date.c1838 date_ce_date_exception = register_class_DateException(zend_ce_exception); in date_register_classes()
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c7212 reflection_exception_ptr = register_class_ReflectionException(zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-8.3/ext/openssl/
H A Dopenssl.c7943 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_openssl_random_pseudo_bytes()

Completed in 165 milliseconds