Lines Matching refs:zend_ce_exception
34 ZEND_API zend_class_entry *zend_ce_exception; variable
49 …if (instanceof_function(class_type, zend_ce_exception) || instanceof_function(class_type, zend_ce_… in zend_implement_throwable()
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()
345 zend_update_property_string(zend_ce_exception, object, "message", sizeof("message")-1, message); in ZEND_METHOD()
349 zend_update_property_long(zend_ce_exception, object, "code", sizeof("code")-1, code); in ZEND_METHOD()
353 zend_update_property(zend_ce_exception, object, "previous", sizeof("previous")-1, previous); in ZEND_METHOD()
359 zend_update_property_string(zend_ce_exception, object, "file", sizeof("file")-1, filename); in ZEND_METHOD()
363 zend_update_property_long(zend_ce_exception, object, "line", sizeof("line")-1, lineno); in ZEND_METHOD()
879 zend_ce_exception = zend_register_internal_class_ex(&ce, NULL); in zend_register_default_exception()
880 zend_ce_exception->create_object = zend_default_exception_new; in zend_register_default_exception()
881 zend_class_implements(zend_ce_exception, 1, zend_ce_throwable); in zend_register_default_exception()
883 …zend_declare_property_string(zend_ce_exception, "message", sizeof("message")-1, "", ZEND_ACC_PROTE… in zend_register_default_exception()
884 …zend_declare_property_string(zend_ce_exception, "string", sizeof("string")-1, "", ZEND_ACC_PRIVATE… in zend_register_default_exception()
885 zend_declare_property_long(zend_ce_exception, "code", sizeof("code")-1, 0, ZEND_ACC_PROTECTED); in zend_register_default_exception()
886 zend_declare_property_null(zend_ce_exception, "file", sizeof("file")-1, ZEND_ACC_PROTECTED); in zend_register_default_exception()
887 zend_declare_property_null(zend_ce_exception, "line", sizeof("line")-1, ZEND_ACC_PROTECTED); in zend_register_default_exception()
888 zend_declare_property_null(zend_ce_exception, "trace", sizeof("trace")-1, ZEND_ACC_PRIVATE); in zend_register_default_exception()
889 zend_declare_property_null(zend_ce_exception, "previous", sizeof("previous")-1, ZEND_ACC_PRIVATE); in zend_register_default_exception()
892 zend_ce_error_exception = zend_register_internal_class_ex(&ce, zend_ce_exception); in zend_register_default_exception()
930 return zend_ce_exception; in zend_exception_get_default()
948 exception_ce = zend_ce_exception; in zend_throw_exception()
951 exception_ce = zend_ce_exception; in zend_throw_exception()
1050 …if (instanceof_function(ce_exception, zend_ce_exception) || instanceof_function(ce_exception, zend… in zend_exception_error()