Lines Matching refs:zend_ce_error

36 ZEND_API zend_class_entry *zend_ce_error;  variable
49 …anceof_function(class_type, zend_ce_exception) || instanceof_function(class_type, zend_ce_error)) { in zend_implement_throwable()
56 ZSTR_VAL(zend_ce_error->name)); in zend_implement_throwable()
63 …turn instanceof_function(Z_OBJCE_P(object), zend_ce_exception) ? zend_ce_exception : zend_ce_error; in i_get_exception_base()
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()
901 …zend_declare_property_string(zend_ce_error, "message", sizeof("message")-1, "", ZEND_ACC_PROTECTED… in zend_register_default_exception()
902 zend_declare_property_string(zend_ce_error, "string", sizeof("string")-1, "", ZEND_ACC_PRIVATE); in zend_register_default_exception()
903 zend_declare_property_long(zend_ce_error, "code", sizeof("code")-1, 0, ZEND_ACC_PROTECTED); 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()
907 zend_declare_property_null(zend_ce_error, "previous", sizeof("previous")-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()
918 zend_ce_arithmetic_error = zend_register_internal_class_ex(&ce, zend_ce_error); in zend_register_default_exception()
1050 …of_function(ce_exception, zend_ce_exception) || instanceof_function(ce_exception, zend_ce_error)) { in zend_exception_error()