Home
last modified time | relevance | path

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

/PHP-7.1/Zend/
H A Dzend_exceptions.c36 ZEND_API zend_class_entry *zend_ce_error; variable
57 ZSTR_VAL(zend_ce_error->name)); in zend_implement_throwable()
862 zend_ce_error = zend_register_internal_class_ex(&ce, NULL); in zend_register_default_exception()
863 zend_ce_error->create_object = zend_default_exception_new; in zend_register_default_exception()
864 zend_class_implements(zend_ce_error, 1, zend_ce_throwable); in zend_register_default_exception()
869 zend_declare_property_null(zend_ce_error, "file", sizeof("file")-1, ZEND_ACC_PROTECTED); in zend_register_default_exception()
870 zend_declare_property_null(zend_ce_error, "line", sizeof("line")-1, ZEND_ACC_PROTECTED); in zend_register_default_exception()
871 zend_declare_property_null(zend_ce_error, "trace", sizeof("trace")-1, ZEND_ACC_PRIVATE); in zend_register_default_exception()
875 zend_ce_parse_error = zend_register_internal_class_ex(&ce, zend_ce_error); in zend_register_default_exception()
879 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.c1341 if (!instanceof_function(exception_ce, zend_ce_error)) { in zend_throw_error()
1343 exception_ce = zend_ce_error; in zend_throw_error()
1346 exception_ce = zend_ce_error; in zend_throw_error()
H A Dzend_execute.c2616 zend_ce_error, in zend_init_dynamic_call_string()
2740 zend_ce_error, in zend_init_dynamic_call_array()
H A Dzend_vm_execute.h5588 zend_ce_error,
7598 zend_ce_error,
9525 zend_ce_error,
11504 zend_ce_error,
19942 zend_ce_error,
21837 zend_ce_error,
24790 zend_ce_error,
27631 zend_ce_error,
29709 zend_ce_error,
30507 zend_ce_error,
[all …]
H A Dzend_vm_def.h3373 zend_ce_error,
/PHP-7.1/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.1/ext/soap/
H A Dsoap.c1501 } else if (instanceof_function(Z_OBJCE(exception_object), zend_ce_error)) { in _soap_server_exception()
1504 …zend_string *msg = zval_get_string(zend_read_property(zend_ce_error, &exception_object, "message",… in _soap_server_exception()
2573 if (EG(exception) && instanceof_function(EG(exception)->ce, zend_ce_error)) {
2579 …msg = zval_get_string(zend_read_property(zend_ce_error, &exception_object, "message", sizeof("mess…

Completed in 208 milliseconds