Home
last modified time | relevance | path

Searched refs:zend_ce_error (Results 1 – 8 of 8) sorted by relevance

/PHP-7.0/Zend/
H A Dzend_exceptions.c36 ZEND_API zend_class_entry *zend_ce_error; variable
56 ZSTR_VAL(zend_ce_error->name)); in zend_implement_throwable()
897 zend_ce_error = zend_register_internal_class_ex(&ce, NULL); in zend_register_default_exception()
898 zend_ce_error->create_object = zend_default_exception_new; in zend_register_default_exception()
899 zend_class_implements(zend_ce_error, 1, zend_ce_throwable); in zend_register_default_exception()
904 zend_declare_property_null(zend_ce_error, "file", sizeof("file")-1, ZEND_ACC_PROTECTED); in zend_register_default_exception()
905 zend_declare_property_null(zend_ce_error, "line", sizeof("line")-1, ZEND_ACC_PROTECTED); in zend_register_default_exception()
906 zend_declare_property_null(zend_ce_error, "trace", sizeof("trace")-1, ZEND_ACC_PRIVATE); in zend_register_default_exception()
910 zend_ce_parse_error = zend_register_internal_class_ex(&ce, zend_ce_error); in zend_register_default_exception()
914 zend_ce_type_error = zend_register_internal_class_ex(&ce, zend_ce_error); in zend_register_default_exception()
[all …]
H A Dzend_exceptions.h32 extern ZEND_API zend_class_entry *zend_ce_error;
H A Dzend.c1321 if (!instanceof_function(exception_ce, zend_ce_error)) { in zend_throw_error()
1323 exception_ce = zend_ce_error; in zend_throw_error()
1326 exception_ce = zend_ce_error; in zend_throw_error()
H A Dzend_vm_def.h3161 zend_ce_error,
3278 zend_ce_error,
3373 zend_ce_error,
H A Dzend_vm_execute.h1983 zend_ce_error,
2078 zend_ce_error,
2414 zend_ce_error,
2509 zend_ce_error,
2678 zend_ce_error,
2773 zend_ce_error,
5781 zend_ce_error,
7819 zend_ce_error,
9576 zend_ce_error,
11426 zend_ce_error,
[all …]
/PHP-7.0/ext/standard/
H A Drandom.c197 zend_throw_exception(zend_ce_error, "Length must be greater than 0", 0); in PHP_FUNCTION()
271 …zend_throw_exception(zend_ce_error, "Minimum value must be less than or equal to the maximum value… in PHP_FUNCTION()
H A Dassert.c113 assertion_error_ce = zend_register_internal_class_ex(&ce, zend_ce_error); in PHP_MINIT_FUNCTION()
/PHP-7.0/ext/soap/
H A Dsoap.c1503 } else if (instanceof_function(Z_OBJCE(exception_object), zend_ce_error)) { in _soap_server_exception()
1506 …zend_string *msg = zval_get_string(zend_read_property(zend_ce_error, &exception_object, "message",… in _soap_server_exception()
2597 if (EG(exception) && instanceof_function(EG(exception)->ce, zend_ce_error)) {
2603 …msg = zval_get_string(zend_read_property(zend_ce_error, &exception_object, "message", sizeof("mess…

Completed in 142 milliseconds