Lines Matching refs:default_exception_ce
32 static zend_class_entry *default_exception_ce; variable
44 …us) != IS_OBJECT || !instanceof_function(Z_OBJCE_P(add_previous), default_exception_ce TSRMLS_CC))… in zend_exception_set_previous()
49 …previous = zend_read_property(default_exception_ce, exception, "previous", sizeof("previous")-1, 1… in zend_exception_set_previous()
51 …zend_update_property(default_exception_ce, exception, "previous", sizeof("previous")-1, add_previo… in zend_exception_set_previous()
163 …zend_update_property_string(default_exception_ce, &obj, "file", sizeof("file")-1, zend_get_execute… in zend_default_exception_new_ex()
164 …zend_update_property_long(default_exception_ce, &obj, "line", sizeof("line")-1, zend_get_executed_… in zend_default_exception_new_ex()
165 zend_update_property(default_exception_ce, &obj, "trace", sizeof("trace")-1, trace TSRMLS_CC); in zend_default_exception_new_ex()
201 …rgc TSRMLS_CC, "|slO!", &message, &message_len, &code, &previous, default_exception_ce) == FAILURE… in ZEND_METHOD()
208 …zend_update_property_stringl(default_exception_ce, object, "message", sizeof("message")-1, message… in ZEND_METHOD()
212 zend_update_property_long(default_exception_ce, object, "code", sizeof("code")-1, code TSRMLS_CC); in ZEND_METHOD()
216 …zend_update_property(default_exception_ce, object, "previous", sizeof("previous")-1, previous TSRM… in ZEND_METHOD()
224 value = zend_read_property(default_exception_ce, object, name, sizeof(name)-1, 0 TSRMLS_CC); \
257 …, &code, &severity, &filename, &filename_len, &lineno, &previous, default_exception_ce) == FAILURE… in ZEND_METHOD()
264 …zend_update_property_string(default_exception_ce, object, "message", sizeof("message")-1, message … in ZEND_METHOD()
268 zend_update_property_long(default_exception_ce, object, "code", sizeof("code")-1, code TSRMLS_CC); in ZEND_METHOD()
272 …zend_update_property(default_exception_ce, object, "previous", sizeof("previous")-1, previous TSRM… in ZEND_METHOD()
275 …zend_update_property_long(default_exception_ce, object, "severity", sizeof("severity")-1, severity… in ZEND_METHOD()
278 …zend_update_property_string(default_exception_ce, object, "file", sizeof("file")-1, filename TSRML… in ZEND_METHOD()
282 …zend_update_property_long(default_exception_ce, object, "line", sizeof("line")-1, lineno TSRMLS_CC… in ZEND_METHOD()
296 value = zend_read_property(default_exception_ce, object, name, name_len, 0 TSRMLS_CC); in _default_exception_get_entry()
617 …trace = zend_read_property(default_exception_ce, getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_C… in ZEND_METHOD()
645 …previous = zend_read_property(default_exception_ce, getThis(), "previous", sizeof("previous")-1, 1… in ZEND_METHOD()
678 …eption) == IS_OBJECT && instanceof_function(Z_OBJCE_P(exception), default_exception_ce TSRMLS_CC))… in ZEND_METHOD()
722 …exception = zend_read_property(default_exception_ce, exception, "previous", sizeof("previous")-1, … in ZEND_METHOD()
733 …zend_update_property_string(default_exception_ce, getThis(), "string", sizeof("string")-1, str TSR… in ZEND_METHOD()
791 default_exception_ce = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_default_exception()
792 default_exception_ce->create_object = zend_default_exception_new; in zend_register_default_exception()
796 …zend_declare_property_string(default_exception_ce, "message", sizeof("message")-1, "", ZEND_ACC_PR… in zend_register_default_exception()
797 …zend_declare_property_string(default_exception_ce, "string", sizeof("string")-1, "", ZEND_ACC_PRIV… in zend_register_default_exception()
798 …zend_declare_property_long(default_exception_ce, "code", sizeof("code")-1, 0, ZEND_ACC_PROTECTED T… in zend_register_default_exception()
799 …zend_declare_property_null(default_exception_ce, "file", sizeof("file")-1, ZEND_ACC_PROTECTED TSRM… in zend_register_default_exception()
800 …zend_declare_property_null(default_exception_ce, "line", sizeof("line")-1, ZEND_ACC_PROTECTED TSRM… in zend_register_default_exception()
801 …zend_declare_property_null(default_exception_ce, "trace", sizeof("trace")-1, ZEND_ACC_PRIVATE TSRM… in zend_register_default_exception()
802 …zend_declare_property_null(default_exception_ce, "previous", sizeof("previous")-1, ZEND_ACC_PRIVAT… in zend_register_default_exception()
805 error_exception_ce = zend_register_internal_class_ex(&ce, default_exception_ce, NULL TSRMLS_CC); in zend_register_default_exception()
813 return default_exception_ce; in zend_exception_get_default()
829 if (!instanceof_function(exception_ce, default_exception_ce TSRMLS_CC)) { in zend_throw_exception()
831 exception_ce = default_exception_ce; in zend_throw_exception()
834 exception_ce = default_exception_ce; in zend_throw_exception()
840 …zend_update_property_string(default_exception_ce, ex, "message", sizeof("message")-1, message TSRM… in zend_throw_exception()
843 zend_update_property_long(default_exception_ce, ex, "code", sizeof("code")-1, code TSRMLS_CC); in zend_throw_exception()
869 …zend_update_property_long(default_exception_ce, ex, "severity", sizeof("severity")-1, severity TSR… in zend_throw_error_exception()
888 if (instanceof_function(ce_exception, default_exception_ce TSRMLS_CC)) { in zend_exception_error()
898 …zend_update_property_string(default_exception_ce, exception, "string", sizeof("string")-1, EG(exce… in zend_exception_error()
905 if (instanceof_function(ce_exception, default_exception_ce TSRMLS_CC)) { in zend_exception_error()
906 …file = zend_read_property(default_exception_ce, EG(exception), "file", sizeof("file")-1, 1 TSRMLS_… in zend_exception_error()
907 …line = zend_read_property(default_exception_ce, EG(exception), "line", sizeof("line")-1, 1 TSRMLS_… in zend_exception_error()
919 …str = zend_read_property(default_exception_ce, exception, "string", sizeof("string")-1, 1 TSRMLS_C… in zend_exception_error()
920 file = zend_read_property(default_exception_ce, exception, "file", sizeof("file")-1, 1 TSRMLS_CC); in zend_exception_error()
921 line = zend_read_property(default_exception_ce, exception, "line", sizeof("line")-1, 1 TSRMLS_CC); in zend_exception_error()
944 if (!exception_ce || !instanceof_function(exception_ce, default_exception_ce TSRMLS_CC)) { in zend_throw_exception_object()