/PHP-7.4/Zend/ |
H A D | zend_exceptions.c | 32 ZEND_API zend_class_entry *zend_ce_exception; variable 55 ZSTR_VAL(zend_ce_exception->name), in zend_implement_throwable() 63 …return instanceof_function(Z_OBJCE_P(object), zend_ce_exception) ? zend_ce_exception : zend_ce_err… in i_get_exception_base() 376 zend_update_property_ex(zend_ce_exception, object, ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in ZEND_METHOD() 837 zend_ce_exception = zend_register_internal_class_ex(&ce, NULL); in zend_register_default_exception() 838 zend_ce_exception->create_object = zend_default_exception_new; in zend_register_default_exception() 839 zend_class_implements(zend_ce_exception, 1, zend_ce_throwable); in zend_register_default_exception() 850 zend_ce_error_exception = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_default_exception() 896 return zend_ce_exception; in zend_exception_get_default() 914 exception_ce = zend_ce_exception; in zend_throw_exception() [all …]
|
H A D | zend_exceptions.h | 28 extern ZEND_API zend_class_entry *zend_ce_exception;
|
H A D | zend_generators.c | 1260 zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_generator_ce()
|
/PHP-7.4/ext/standard/ |
H A D | random.c | 95 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes() 157 zend_throw_exception(zend_ce_exception, "Cannot open source device", 0); in php_random_bytes() 171 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_random_bytes() 187 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
|
/PHP-7.4/ext/intl/ |
H A D | intl_error.c | 240 zend_ce_exception ); in intl_register_IntlException_class() 241 IntlException_ce_ptr->create_object = zend_ce_exception->create_object; in intl_register_IntlException_class()
|
/PHP-7.4/ext/spl/ |
H A D | spl_exceptions.c | 48 #define spl_ce_Exception zend_ce_exception
|
/PHP-7.4/ext/pdo/ |
H A D | pdo.c | 79 return zend_ce_exception; in php_pdo_get_exception_base()
|
/PHP-7.4/ext/json/ |
H A D | json.c | 100 php_json_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-7.4/ext/sqlite3/ |
H A D | sqlite3.c | 55 zend_throw_exception(zend_ce_exception, message, 0); in php_sqlite3_error() 116 zend_throw_exception(zend_ce_exception, "Already initialised DB Object", 0); in PHP_METHOD() 123 zend_throw_exception(zend_ce_exception, "Unable to expand filepath", 0); in PHP_METHOD() 128 zend_throw_exception_ex(zend_ce_exception, 0, "open_basedir prohibits opening %s", fullpath); in PHP_METHOD() 139 zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", in PHP_METHOD() 155 …zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", sqlite3_errmsg(db_obj… in PHP_METHOD() 2102 zend_throw_exception(zend_ce_exception, "SQLite3Result cannot be directly instantiated", 0); in PHP_METHOD()
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_extension.c | 305 php_com_exception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli.c | 1304 zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0); in php_mysqli_fetch_into_hash() 1314 …zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZS… in php_mysqli_fetch_into_hash() 1320 …zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cann… in php_mysqli_fetch_into_hash()
|
/PHP-7.4/ext/simplexml/ |
H A D | simplexml.c | 2289 zend_throw_exception(zend_ce_exception, "Data is too long", 0); in SXE_METHOD() 2293 zend_throw_exception(zend_ce_exception, "Namespace is too long", 0); in SXE_METHOD() 2297 zend_throw_exception(zend_ce_exception, "Invalid options", 0); in SXE_METHOD() 2305 zend_throw_exception(zend_ce_exception, "String could not be parsed as XML", 0); in SXE_METHOD()
|
/PHP-7.4/sapi/cli/ |
H A D | php_cli.c | 1085 msg = zend_read_property(zend_ce_exception, &tmp, "message", sizeof("message")-1, 0, &rv); in do_cli()
|
/PHP-7.4/ext/sodium/ |
H A D | libsodium.c | 410 zend_object *obj = zend_ce_exception->create_object(ce); in sodium_exception_create_object() 433 sodium_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-7.4/ext/dom/ |
H A D | php_dom.c | 616 dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
|
/PHP-7.4/ext/pgsql/ |
H A D | pgsql.c | 2845 zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0); 2855 …zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZS… 2863 …zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cann…
|
/PHP-7.4/ext/snmp/ |
H A D | snmp.c | 1770 zend_throw_exception(zend_ce_exception, "Unknown SNMP protocol version", 0); in PHP_METHOD()
|
/PHP-7.4/ext/soap/ |
H A D | soap.c | 660 soap_fault_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION() 3253 …zend_update_property_string(zend_ce_exception, obj, "message", sizeof("message")-1, (fault_string …
|
/PHP-7.4/ext/openssl/ |
H A D | openssl.c | 6970 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_openssl_random_pseudo_bytes() 6980 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_openssl_random_pseudo_bytes()
|
/PHP-7.4/ext/phar/ |
H A D | phar_object.c | 5463 phar_ce_PharException = zend_register_internal_class_ex(&ce, zend_ce_exception); in phar_object_init()
|
/PHP-7.4/ext/reflection/ |
H A D | php_reflection.c | 6847 reflection_exception_ptr = zend_register_internal_class_ex(&_reflection_entry, zend_ce_exception); in PHP_MINIT_FUNCTION()
|