/PHP-8.3/ext/spl/ |
H A D | spl_exceptions.c | 47 #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 D | zend_exceptions.c | 34 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 D | zend_exceptions.h | 28 extern ZEND_API zend_class_entry *zend_ce_exception;
|
H A D | zend_generators.c | 1197 zend_ce_ClosedGeneratorException = register_class_ClosedGeneratorException(zend_ce_exception); in zend_register_generator_ce()
|
/PHP-8.3/ext/intl/ |
H A D | php_intl.c | 187 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 D | com_extension.c | 181 php_com_exception_class_entry = register_class_com_exception(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/json/ |
H A D | json.c | 52 php_json_exception_ce = register_class_JsonException(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/pdo/ |
H A D | pdo_dbh.c | 109 …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 D | sqlite3.c | 112 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 D | random.c | 666 random_ce_Random_RandomException = register_class_Random_RandomException(zend_ce_exception);
|
/PHP-8.3/ext/simplexml/ |
H A D | simplexml.c | 2364 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 D | php_cli.c | 1086 …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 D | libsodium.c | 144 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 D | soap.c | 156 #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 D | php_dom.c | 627 dom_domexception_class_entry = register_class_DOMException(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/phar/ |
H A D | phar_object.c | 5081 phar_ce_PharException = register_class_PharException(zend_ce_exception); in phar_object_init()
|
/PHP-8.3/ext/date/ |
H A D | php_date.c | 1838 date_ce_date_exception = register_class_DateException(zend_ce_exception); in date_register_classes()
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 7212 reflection_exception_ptr = register_class_ReflectionException(zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-8.3/ext/openssl/ |
H A D | openssl.c | 7943 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_openssl_random_pseudo_bytes()
|