Home
last modified time | relevance | path

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

/PHP-7.4/Zend/
H A Dzend_exceptions.c32 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 Dzend_exceptions.h28 extern ZEND_API zend_class_entry *zend_ce_exception;
H A Dzend_generators.c1260 zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_generator_ce()
/PHP-7.4/ext/standard/
H A Drandom.c95 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 Dintl_error.c240 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 Dspl_exceptions.c48 #define spl_ce_Exception zend_ce_exception
/PHP-7.4/ext/pdo/
H A Dpdo.c79 return zend_ce_exception; in php_pdo_get_exception_base()
/PHP-7.4/ext/json/
H A Djson.c100 php_json_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.4/ext/sqlite3/
H A Dsqlite3.c55 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 Dcom_extension.c305 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 Dmysqli.c1304 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 Dsimplexml.c2289 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 Dphp_cli.c1085 msg = zend_read_property(zend_ce_exception, &tmp, "message", sizeof("message")-1, 0, &rv); in do_cli()
/PHP-7.4/ext/sodium/
H A Dlibsodium.c410 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 Dphp_dom.c616 dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.4/ext/pgsql/
H A Dpgsql.c2845 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 Dsnmp.c1770 zend_throw_exception(zend_ce_exception, "Unknown SNMP protocol version", 0); in PHP_METHOD()
/PHP-7.4/ext/soap/
H A Dsoap.c660 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 Dopenssl.c6970 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 Dphar_object.c5463 phar_ce_PharException = zend_register_internal_class_ex(&ce, zend_ce_exception); in phar_object_init()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c6847 reflection_exception_ptr = zend_register_internal_class_ex(&_reflection_entry, zend_ce_exception); in PHP_MINIT_FUNCTION()

Completed in 212 milliseconds