Home
last modified time | relevance | path

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

/PHP-7.1/Zend/
H A Dzend_exceptions.c34 ZEND_API zend_class_entry *zend_ce_exception; variable
56 ZSTR_VAL(zend_ce_exception->name), in zend_implement_throwable()
64 …return instanceof_function(Z_OBJCE_P(object), zend_ce_exception) ? zend_ce_exception : zend_ce_err… in i_get_exception_base()
367 zend_update_property_ex(zend_ce_exception, object, CG(known_strings)[ZEND_STR_CODE], &tmp); in ZEND_METHOD()
844 zend_ce_exception = zend_register_internal_class_ex(&ce, NULL); in zend_register_default_exception()
845 zend_ce_exception->create_object = zend_default_exception_new; in zend_register_default_exception()
846 zend_class_implements(zend_ce_exception, 1, zend_ce_throwable); in zend_register_default_exception()
857 zend_ce_error_exception = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_default_exception()
899 return zend_ce_exception; in zend_exception_get_default()
917 exception_ce = zend_ce_exception; in zend_throw_exception()
[all …]
H A Dzend_exceptions.h30 extern ZEND_API zend_class_entry *zend_ce_exception;
H A Dzend_generators.c1291 zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_generator_ce()
/PHP-7.1/ext/standard/
H A Drandom.c90 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
144 zend_throw_exception(zend_ce_exception, "Cannot open source device", 0); in php_random_bytes()
158 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_random_bytes()
174 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
/PHP-7.1/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.1/ext/spl/
H A Dspl_exceptions.c50 #define spl_ce_Exception zend_ce_exception
/PHP-7.1/ext/pdo/
H A Dpdo.c84 return zend_ce_exception; in php_pdo_get_exception_base()
/PHP-7.1/ext/sqlite3/
H A Dsqlite3.c57 zend_throw_exception(zend_ce_exception, message, 0); in php_sqlite3_error()
118 zend_throw_exception(zend_ce_exception, "Already initialised DB Object", 0); in PHP_METHOD()
125 zend_throw_exception(zend_ce_exception, "Unable to expand filepath", 0); in PHP_METHOD()
130 zend_throw_exception_ex(zend_ce_exception, 0, "open_basedir prohibits opening %s", fullpath); in PHP_METHOD()
145 zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", in PHP_METHOD()
160 …zend_throw_exception_ex(zend_ce_exception, 0, "Unable to open database: %s", sqlite3_errmsg(db_obj… in PHP_METHOD()
1876 zend_throw_exception(zend_ce_exception, "SQLite3Result cannot be directly instantiated", 0); in PHP_METHOD()
/PHP-7.1/ext/com_dotnet/
H A Dcom_extension.c361 php_com_exception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.1/ext/mysqli/
H A Dmysqli.c1307 zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0); in php_mysqli_fetch_into_hash()
1319 …zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZS… in php_mysqli_fetch_into_hash()
1325 …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.1/ext/simplexml/
H A Dsimplexml.c2324 zend_throw_exception(zend_ce_exception, "Data is too long", 0); in SXE_METHOD()
2328 zend_throw_exception(zend_ce_exception, "Namespace is too long", 0); in SXE_METHOD()
2332 zend_throw_exception(zend_ce_exception, "Invalid options", 0); in SXE_METHOD()
2340 zend_throw_exception(zend_ce_exception, "String could not be parsed as XML", 0); in SXE_METHOD()
/PHP-7.1/sapi/cli/
H A Dphp_cli.c1114 msg = zend_read_property(zend_ce_exception, &tmp, "message", sizeof("message")-1, 0, &rv); in do_cli()
/PHP-7.1/ext/dom/
H A Dphp_dom.c617 dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
/PHP-7.1/ext/pgsql/
H A Dpgsql.c2840 zend_throw_exception(zend_ce_exception, "Parameter ctor_params must be an array", 0);
2852 …zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZS…
2860 …zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cann…
/PHP-7.1/ext/snmp/
H A Dsnmp.c1812 zend_throw_exception(zend_ce_exception, "Unknown SNMP protocol version", 0); in PHP_METHOD()
/PHP-7.1/ext/soap/
H A Dsoap.c686 soap_fault_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); in PHP_MINIT_FUNCTION()
3271 …zend_update_property_string(zend_ce_exception, obj, "message", sizeof("message")-1, (fault_string …
/PHP-7.1/ext/phar/
H A Dphar_object.c5437 phar_ce_PharException = zend_register_internal_class_ex(&ce, zend_ce_exception); in phar_object_init()
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c6838 reflection_exception_ptr = zend_register_internal_class_ex(&_reflection_entry, zend_ce_exception); in PHP_MINIT_FUNCTION()

Completed in 109 milliseconds