ce 822 Zend/zend.c zend_class_entry *ce; ce 829 Zend/zend.c ZEND_HASH_REVERSE_FOREACH_PTR(GLOBAL_CLASS_TABLE, ce) { ce 830 Zend/zend.c if (ce->type == ZEND_USER_CLASS) { ce 831 Zend/zend.c zend_cleanup_user_class_data(ce); ce 105 Zend/zend.h zend_class_entry *ce; ce 112 Zend/zend.h zend_class_entry *ce; ce 165 Zend/zend.h zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref); ce 167 Zend/zend.h union _zend_function *(*get_static_method)(zend_class_entry *ce, zend_string* method); ce 171 Zend/zend.h int (*unserialize)(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data); ce 650 Zend/zend_API.c zend_class_entry *ce = va_arg(*va, zend_class_entry *); ce 652 Zend/zend_API.c if (!zend_parse_arg_object(arg, p, ce, check_null)) { ce 653 Zend/zend_API.c if (ce) { ce 654 Zend/zend_API.c return ZSTR_VAL(ce->name); ce 989 Zend/zend_API.c zend_class_entry *ce; ce 1007 Zend/zend_API.c ce = va_arg(va, zend_class_entry *); ce 1010 Zend/zend_API.c if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { ce 1012 Zend/zend_API.c ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_function_name(), ZSTR_VAL(ce->name), get_active_function_name()); ce 1028 Zend/zend_API.c zend_class_entry *ce; ce 1039 Zend/zend_API.c ce = va_arg(va, zend_class_entry *); ce 1042 Zend/zend_API.c if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { ce 1045 Zend/zend_API.c ZSTR_VAL(ce->name), get_active_function_name(), ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_function_name()); ce 1130 Zend/zend_API.c zend_class_entry *ce; ce 1144 Zend/zend_API.c ce = class_type; ce 1145 Zend/zend_API.c while (ce) { ce 1146 Zend/zend_API.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) { ce 1147 Zend/zend_API.c if (prop_info->ce == ce) { ce 1155 Zend/zend_API.c *scope = ce; ce 1162 Zend/zend_API.c ce = ce->parent; ce 1196 Zend/zend_API.c if (object->ce->default_properties_count) { ce 1202 Zend/zend_API.c property_info = zend_get_property_info(object->ce, key, 1); ce 1235 Zend/zend_API.c property_info = zend_get_property_info(object->ce, pname, 1); ce 1242 Zend/zend_API.c property_info = zend_get_property_info(object->ce, key, 1); ce 1909 Zend/zend_API.c zend_class_entry *ce; ce 1949 Zend/zend_API.c ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { ce 1950 Zend/zend_API.c if (ce->type == ZEND_INTERNAL_CLASS && ce 1951 Zend/zend_API.c ce->default_static_members_count > 0) { ce 1962 Zend/zend_API.c ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { ce 1963 Zend/zend_API.c if (ce->type == ZEND_INTERNAL_CLASS && ce 1964 Zend/zend_API.c ce->default_static_members_count > 0) { ce 1965 Zend/zend_API.c class_cleanup_handlers[--class_count] = ce; ce 2056 Zend/zend_API.c ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type) /* {{{ */ ce 2068 Zend/zend_API.c zend_error(error_type, "Destructor %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_DESTRUCTOR_FUNC_NAME); ce 2070 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot accept any arguments", ZSTR_VAL(ce->name), ZEND_CLONE_FUNC_NAME); ce 2073 Zend/zend_API.c zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_GET_FUNC_NAME); ce 2075 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), ZEND_GET_FUNC_NAME); ce 2079 Zend/zend_API.c zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ZSTR_VAL(ce->name), ZEND_SET_FUNC_NAME); ce 2081 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), ZEND_SET_FUNC_NAME); ce 2085 Zend/zend_API.c zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_UNSET_FUNC_NAME); ce 2087 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), ZEND_UNSET_FUNC_NAME); ce 2091 Zend/zend_API.c zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_ISSET_FUNC_NAME); ce 2093 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), ZEND_ISSET_FUNC_NAME); ce 2097 Zend/zend_API.c zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ZSTR_VAL(ce->name), ZEND_CALL_FUNC_NAME); ce 2099 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), ZEND_CALL_FUNC_NAME); ce 2105 Zend/zend_API.c zend_error(error_type, "Method %s::__callStatic() must take exactly 2 arguments", ZSTR_VAL(ce->name)); ce 2107 Zend/zend_API.c zend_error(error_type, "Method %s::__callStatic() cannot take arguments by reference", ZSTR_VAL(ce->name)); ce 2112 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_TOSTRING_FUNC_NAME); ce 2115 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_DEBUGINFO_FUNC_NAME); ce 2476 Zend/zend_API.c zend_class_entry *ce = (zend_class_entry *)Z_PTR_P(el); ce 2478 Zend/zend_API.c if (ce->type == ZEND_INTERNAL_CLASS && ce->info.internal.module->module_number == module_number) { ce 2717 Zend/zend_API.c ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce) /* {{{ */ ce 2731 Zend/zend_API.c ce = zend_hash_add_ptr(CG(class_table), lcname, ce); ce 2733 Zend/zend_API.c if (ce) { ce 2734 Zend/zend_API.c ce->refcount++; ce 2830 Zend/zend_API.c zend_class_entry *ce; ce 2878 Zend/zend_API.c } else if ((ce = zend_lookup_class_ex(name, NULL, 1)) != NULL) { ce 2886 Zend/zend_API.c fcc->calling_scope = ce; ce 2891 Zend/zend_API.c instanceof_function(object->ce, scope) && ce 2894 Zend/zend_API.c fcc->called_scope = object->ce; ce 2899 Zend/zend_API.c fcc->called_scope = fcc->object ? fcc->object->ce : fcc->calling_scope; ce 3043 Zend/zend_API.c if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : EG(scope), lmname)) { ce 3093 Zend/zend_API.c instanceof_function(object->ce, fcc->calling_scope)) { ce 3140 Zend/zend_API.c if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : EG(scope), lmname)) { ce 3173 Zend/zend_API.c fcc->called_scope = fcc->object->ce; ce 3214 Zend/zend_API.c fcc->calling_scope = object->ce; ce 3355 Zend/zend_API.c zend_class_entry *ce = Z_OBJCE_P(callable); /* TBFixed: what if it's overloaded? */ ce 3357 Zend/zend_API.c *callable_name = zend_string_alloc(ZSTR_LEN(ce->name) + sizeof("::__invoke") - 1, 0); ce 3358 Zend/zend_API.c memcpy(ZSTR_VAL(*callable_name), ZSTR_VAL(ce->name), ZSTR_LEN(ce->name)); ce 3359 Zend/zend_API.c memcpy(ZSTR_VAL(*callable_name) + ZSTR_LEN(ce->name), "::__invoke", sizeof("::__invoke")); ce 3607 Zend/zend_API.c ZEND_API int zend_declare_property_ex(zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment) /* {{{ */ ce 3611 Zend/zend_API.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 3614 Zend/zend_API.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 3619 Zend/zend_API.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 3627 Zend/zend_API.c if ((property_info_ptr = zend_hash_find_ptr(&ce->properties_info, name)) != NULL && ce 3630 Zend/zend_API.c zval_ptr_dtor(&ce->default_static_members_table[property_info->offset]); ce 3631 Zend/zend_API.c zend_hash_del(&ce->properties_info, name); ce 3633 Zend/zend_API.c property_info->offset = ce->default_static_members_count++; ce 3634 Zend/zend_API.c ce->default_static_members_table = perealloc(ce->default_static_members_table, sizeof(zval) * ce->default_static_members_count, ce->type == ZEND_INTERNAL_CLASS); ce 3636 Zend/zend_API.c ZVAL_COPY_VALUE(&ce->default_static_members_table[property_info->offset], property); ce 3637 Zend/zend_API.c if (ce->type == ZEND_USER_CLASS) { ce 3638 Zend/zend_API.c ce->static_members_table = ce->default_static_members_table; ce 3641 Zend/zend_API.c if ((property_info_ptr = zend_hash_find_ptr(&ce->properties_info, name)) != NULL && ce 3644 Zend/zend_API.c zval_ptr_dtor(&ce->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)]); ce 3645 Zend/zend_API.c zend_hash_del(&ce->properties_info, name); ce 3647 Zend/zend_API.c property_info->offset = OBJ_PROP_TO_OFFSET(ce->default_properties_count); ce 3648 Zend/zend_API.c ce->default_properties_count++; ce 3649 Zend/zend_API.c ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_properties_count, ce->type == ZEND_INTERNAL_CLASS); ce 3651 Zend/zend_API.c ZVAL_COPY_VALUE(&ce->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)], property); ce 3653 Zend/zend_API.c if (ce->type & ZEND_INTERNAL_CLASS) { ce 3667 Zend/zend_API.c property_info->name = zend_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); ce 3670 Zend/zend_API.c property_info->name = zend_mangle_property_name("*", 1, ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); ce 3676 Zend/zend_API.c property_info->ce = ce; ce 3677 Zend/zend_API.c zend_hash_update_ptr(&ce->properties_info, name, property_info); ce 3683 Zend/zend_API.c ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, size_t name_length, zval *property, int access_type) /* {{{ */ ce 3685 Zend/zend_API.c zend_string *key = zend_string_init(name, name_length, ce->type & ZEND_INTERNAL_CLASS); ce 3686 Zend/zend_API.c int ret = zend_declare_property_ex(ce, key, property, access_type, NULL); ce 3692 Zend/zend_API.c ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, size_t name_length, int access_type) /* {{{ */ ce 3697 Zend/zend_API.c return zend_declare_property(ce, name, name_length, &property, access_type); ce 3701 Zend/zend_API.c ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type) /* {{{ */ ce 3706 Zend/zend_API.c return zend_declare_property(ce, name, name_length, &property, access_type); ce 3710 Zend/zend_API.c ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type) /* {{{ */ ce 3715 Zend/zend_API.c return zend_declare_property(ce, name, name_length, &property, access_type); ce 3719 Zend/zend_API.c ZEND_API int zend_declare_property_double(zend_class_entry *ce, const char *name, size_t name_length, double value, int access_type) /* {{{ */ ce 3724 Zend/zend_API.c return zend_declare_property(ce, name, name_length, &property, access_type); ce 3728 Zend/zend_API.c ZEND_API int zend_declare_property_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value, int access_type) /* {{{ */ ce 3732 Zend/zend_API.c ZVAL_NEW_STR(&property, zend_string_init(value, strlen(value), ce->type & ZEND_INTERNAL_CLASS)); ce 3733 Zend/zend_API.c return zend_declare_property(ce, name, name_length, &property, access_type); ce 3737 Zend/zend_API.c ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_len, int access_type) /* {{{ */ ce 3741 Zend/zend_API.c ZVAL_NEW_STR(&property, zend_string_init(value, value_len, ce->type & ZEND_INTERNAL_CLASS)); ce 3742 Zend/zend_API.c return zend_declare_property(ce, name, name_length, &property, access_type); ce 3746 Zend/zend_API.c ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value) /* {{{ */ ce 3749 Zend/zend_API.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 3751 Zend/zend_API.c return zend_hash_str_update(&ce->constants_table, name, name_length, value) ? ce 3756 Zend/zend_API.c ZEND_API int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length) /* {{{ */ ce 3761 Zend/zend_API.c return zend_declare_class_constant(ce, name, name_length, &constant); ce 3765 Zend/zend_API.c ZEND_API int zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long value) /* {{{ */ ce 3770 Zend/zend_API.c return zend_declare_class_constant(ce, name, name_length, &constant); ce 3774 Zend/zend_API.c ZEND_API int zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool value) /* {{{ */ ce 3779 Zend/zend_API.c return zend_declare_class_constant(ce, name, name_length, &constant); ce 3783 Zend/zend_API.c ZEND_API int zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value) /* {{{ */ ce 3788 Zend/zend_API.c return zend_declare_class_constant(ce, name, name_length, &constant); ce 3792 Zend/zend_API.c ZEND_API int zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_length) /* {{{ */ ce 3796 Zend/zend_API.c ZVAL_NEW_STR(&constant, zend_string_init(value, value_length, ce->type & ZEND_INTERNAL_CLASS)); ce 3797 Zend/zend_API.c return zend_declare_class_constant(ce, name, name_length, &constant); ce 3801 Zend/zend_API.c ZEND_API int zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value) /* {{{ */ ce 3803 Zend/zend_API.c return zend_declare_class_constant_stringl(ce, name, name_length, value, strlen(value)); ce 4100 Zend/zend_API.c ZEND_API zend_string* zend_find_alias_name(zend_class_entry *ce, zend_string *name) /* {{{ */ ce 4104 Zend/zend_API.c if ((alias_ptr = ce->trait_aliases)) { ce 4119 Zend/zend_API.c ZEND_API zend_string *zend_resolve_method_name(zend_class_entry *ce, zend_function *f) /* {{{ */ ce 4132 Zend/zend_API.c function_table = &ce->function_table; ce 4149 Zend/zend_API.c ZEND_API const char *zend_get_object_type(const zend_class_entry *ce) /* {{{ */ ce 4151 Zend/zend_API.c if(ce->ce_flags & ZEND_ACC_TRAIT) { ce 4153 Zend/zend_API.c } else if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 238 Zend/zend_API.h # define CE_STATIC_MEMBERS(ce) (((ce)->type==ZEND_USER_CLASS)?(ce)->static_members_table:CG(static_members_table)[(zend_intptr_t)(ce)->static_members_table]) ce 240 Zend/zend_API.h # define CE_STATIC_MEMBERS(ce) ((ce)->static_members_table) ce 287 Zend/zend_API.h ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_function *fptr, int error_type); ce 294 Zend/zend_API.h ZEND_API int zend_register_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce); ce 296 Zend/zend_API.h #define zend_register_class_alias(name, ce) \ ce 297 Zend/zend_API.h zend_register_class_alias_ex(name, sizeof(name)-1, ce) ce 298 Zend/zend_API.h #define zend_register_ns_class_alias(ns, name, ce) \ ce 299 Zend/zend_API.h zend_register_class_alias_ex(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, ce) ce 318 Zend/zend_API.h ZEND_API int zend_declare_property_ex(zend_class_entry *ce, zend_string *name, zval *property, int access_type, zend_string *doc_comment); ce 319 Zend/zend_API.h ZEND_API int zend_declare_property(zend_class_entry *ce, const char *name, size_t name_length, zval *property, int access_type); ce 320 Zend/zend_API.h ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, size_t name_length, int access_type); ce 321 Zend/zend_API.h ZEND_API int zend_declare_property_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type); ce 322 Zend/zend_API.h ZEND_API int zend_declare_property_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long value, int access_type); ce 323 Zend/zend_API.h ZEND_API int zend_declare_property_double(zend_class_entry *ce, const char *name, size_t name_length, double value, int access_type); ce 324 Zend/zend_API.h ZEND_API int zend_declare_property_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value, int access_type); ce 325 Zend/zend_API.h ZEND_API int zend_declare_property_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_len, int access_type); ce 327 Zend/zend_API.h ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length, zval *value); ce 328 Zend/zend_API.h ZEND_API int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length); ce 329 Zend/zend_API.h ZEND_API int zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_length, zend_long value); ce 330 Zend/zend_API.h ZEND_API int zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_length, zend_bool value); ce 331 Zend/zend_API.h ZEND_API int zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t name_length, double value); ce 332 Zend/zend_API.h ZEND_API int zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_length); ce 333 Zend/zend_API.h ZEND_API int zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t name_length, const char *value); ce 378 Zend/zend_API.h #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC) ce 379 Zend/zend_API.h #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (properties) ZEND_FILE_LINE_CC) ce 382 Zend/zend_API.h ZEND_API int _object_init_ex(zval *arg, zend_class_entry *ce ZEND_FILE_LINE_DC); ce 383 Zend/zend_API.h ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *ce, HashTable *properties ZEND_FILE_LINE_DC); ce 544 Zend/zend_API.h ZEND_API zend_string *zend_find_alias_name(zend_class_entry *ce, zend_string *name); ce 545 Zend/zend_API.h ZEND_API zend_string *zend_resolve_method_name(zend_class_entry *ce, zend_function *f); ce 547 Zend/zend_API.h ZEND_API const char *zend_get_object_type(const zend_class_entry *ce); ce 1190 Zend/zend_API.h static zend_always_inline int zend_parse_arg_object(zval *arg, zval **dest, zend_class_entry *ce, int check_null) ce 1193 Zend/zend_API.h (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { ce 975 Zend/zend_builtin_functions.c zend_class_entry *ce = NULL; ce 982 Zend/zend_builtin_functions.c ce = EG(scope); ce 983 Zend/zend_builtin_functions.c if (ce && ce->parent) { ce 984 Zend/zend_builtin_functions.c RETURN_STR_COPY(ce->parent->name); ce 991 Zend/zend_builtin_functions.c ce = Z_OBJ_P(arg)->ce; ce 993 Zend/zend_builtin_functions.c ce = zend_lookup_class(Z_STR_P(arg)); ce 996 Zend/zend_builtin_functions.c if (ce && ce->parent) { ce 997 Zend/zend_builtin_functions.c RETURN_STR_COPY(ce->parent->name); ce 1009 Zend/zend_builtin_functions.c zend_class_entry *ce; ce 1046 Zend/zend_builtin_functions.c ce = zend_lookup_class_ex(class_name, NULL, 0); ce 1047 Zend/zend_builtin_functions.c if (!ce) { ce 1050 Zend/zend_builtin_functions.c if (only_subclass && instance_ce == ce) { ce 1053 Zend/zend_builtin_functions.c retval = instanceof_function(instance_ce, ce); ce 1079 Zend/zend_builtin_functions.c static void add_class_vars(zend_class_entry *ce, int statics, zval *return_value) ce 1085 Zend/zend_builtin_functions.c ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->properties_info, key, prop_info) { ce 1087 Zend/zend_builtin_functions.c prop_info->ce != EG(scope)) || ce 1089 Zend/zend_builtin_functions.c !zend_check_protected(prop_info->ce, EG(scope))) || ce 1091 Zend/zend_builtin_functions.c ce != EG(scope) && ce 1092 Zend/zend_builtin_functions.c prop_info->ce != EG(scope))) { ce 1097 Zend/zend_builtin_functions.c prop = &ce->default_static_members_table[prop_info->offset]; ce 1099 Zend/zend_builtin_functions.c prop = &ce->default_properties_table[OBJ_PROP_TO_NUM(prop_info->offset)]; ce 1132 Zend/zend_builtin_functions.c zend_class_entry *ce; ce 1138 Zend/zend_builtin_functions.c ce = zend_lookup_class(class_name); ce 1139 Zend/zend_builtin_functions.c if (!ce) { ce 1143 Zend/zend_builtin_functions.c if (UNEXPECTED(!(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { ce 1144 Zend/zend_builtin_functions.c if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { ce 1148 Zend/zend_builtin_functions.c add_class_vars(ce, 0, return_value); ce 1149 Zend/zend_builtin_functions.c add_class_vars(ce, 1, return_value); ce 1186 Zend/zend_builtin_functions.c if (!zobj->ce->default_properties_count && properties == zobj->properties) { ce 1246 Zend/zend_builtin_functions.c zend_class_entry *ce = NULL; ce 1255 Zend/zend_builtin_functions.c ce = Z_OBJCE_P(klass); ce 1257 Zend/zend_builtin_functions.c ce = zend_lookup_class(Z_STR_P(klass)); ce 1260 Zend/zend_builtin_functions.c if (!ce) { ce 1266 Zend/zend_builtin_functions.c ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, key, mptr) { ce 1281 Zend/zend_builtin_functions.c mptr->common.scope == ce || ce 1306 Zend/zend_builtin_functions.c zend_class_entry * ce; ce 1319 Zend/zend_builtin_functions.c ce = Z_OBJCE_P(klass); ce 1321 Zend/zend_builtin_functions.c if ((ce = zend_lookup_class(Z_STR_P(klass))) == NULL) { ce 1329 Zend/zend_builtin_functions.c if (zend_hash_exists(&ce->function_table, lcname)) { ce 1364 Zend/zend_builtin_functions.c zend_class_entry *ce; ce 1377 Zend/zend_builtin_functions.c ce = zend_lookup_class(Z_STR_P(object)); ce 1378 Zend/zend_builtin_functions.c if (!ce) { ce 1382 Zend/zend_builtin_functions.c ce = Z_OBJCE_P(object); ce 1388 Zend/zend_builtin_functions.c if ((property_info = zend_hash_find_ptr(&ce->properties_info, property)) != NULL ce 1410 Zend/zend_builtin_functions.c zend_class_entry *ce; ce 1434 Zend/zend_builtin_functions.c ce = zend_hash_find_ptr(EG(class_table), lc_name); ce 1437 Zend/zend_builtin_functions.c ce = zend_lookup_class(class_name); ce 1440 Zend/zend_builtin_functions.c if (ce) { ce 1441 Zend/zend_builtin_functions.c RETURN_BOOL((ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT)) == 0); ce 1453 Zend/zend_builtin_functions.c zend_class_entry *ce; ce 1476 Zend/zend_builtin_functions.c ce = zend_hash_find_ptr(EG(class_table), lc_name); ce 1478 Zend/zend_builtin_functions.c RETURN_BOOL(ce && ce->ce_flags & ZEND_ACC_INTERFACE); ce 1481 Zend/zend_builtin_functions.c ce = zend_lookup_class(iface_name); ce 1482 Zend/zend_builtin_functions.c if (ce) { ce 1483 Zend/zend_builtin_functions.c RETURN_BOOL((ce->ce_flags & ZEND_ACC_INTERFACE) > 0); ce 1495 Zend/zend_builtin_functions.c zend_class_entry *ce; ce 1519 Zend/zend_builtin_functions.c ce = zend_hash_find_ptr(EG(class_table), lc_name); ce 1522 Zend/zend_builtin_functions.c ce = zend_lookup_class(trait_name); ce 1525 Zend/zend_builtin_functions.c if (ce) { ce 1526 Zend/zend_builtin_functions.c RETURN_BOOL((ce->ce_flags & ZEND_ACC_TRAIT) != 0); ce 1577 Zend/zend_builtin_functions.c zend_class_entry *ce; ce 1585 Zend/zend_builtin_functions.c ce = zend_lookup_class_ex(class_name, NULL, autoload); ce 1587 Zend/zend_builtin_functions.c if (ce) { ce 1588 Zend/zend_builtin_functions.c if (ce->type == ZEND_USER_CLASS) { ce 1589 Zend/zend_builtin_functions.c if (zend_register_class_alias_ex(alias_name, alias_name_len, ce) == SUCCESS) { ce 1592 Zend/zend_builtin_functions.c zend_error(E_WARNING, "Cannot declare %s %s, because the name is already in use", zend_get_object_type(ce), alias_name); ce 1840 Zend/zend_builtin_functions.c zend_class_entry *ce = (zend_class_entry *)Z_PTR_P(el); ce 1847 Zend/zend_builtin_functions.c && (comply_mask == (ce->ce_flags & mask))) { ce 1848 Zend/zend_builtin_functions.c if (ce->refcount > 1 && ce 1849 Zend/zend_builtin_functions.c !same_name(hash_key->key, ce->name)) { ce 1852 Zend/zend_builtin_functions.c add_next_index_str(array, zend_string_copy(ce->name)); ce 2378 Zend/zend_builtin_functions.c (object ? object->ce : func->common.scope), func)) : ce 2391 Zend/zend_builtin_functions.c class_name = object->ce->name; ce 2597 Zend/zend_builtin_functions.c (object ? object->ce : func->common.scope), func) : ce 2611 Zend/zend_builtin_functions.c add_assoc_str_ex(&stack_frame, "class", sizeof("class")-1, zend_string_copy(object->ce->name)); ce 192 Zend/zend_closures.c zend_class_entry *ce, *called_scope; ce 202 Zend/zend_closures.c ce = Z_OBJCE_P(scope_arg); ce 204 Zend/zend_closures.c ce = NULL; ce 208 Zend/zend_closures.c ce = closure->func.common.scope; ce 209 Zend/zend_closures.c } else if ((ce = zend_lookup_class_ex(class_name, NULL, 1)) == NULL) { ce 217 Zend/zend_closures.c ce = closure->func.common.scope; ce 220 Zend/zend_closures.c if (!zend_valid_closure_binding(closure, newthis, ce)) { ce 227 Zend/zend_closures.c called_scope = ce; ce 230 Zend/zend_closures.c zend_create_closure(return_value, &closure->func, ce, called_scope, newthis); ce 518 Zend/zend_closures.c zend_class_entry ce; ce 520 Zend/zend_closures.c INIT_CLASS_ENTRY(ce, "Closure", closure_functions); ce 521 Zend/zend_closures.c zend_ce_closure = zend_register_internal_class(&ce); ce 594 Zend/zend_closures.c ZEND_ASSERT(nested->std.ce == zend_ce_closure); ce 981 Zend/zend_compile.c zend_class_entry *ce; ce 991 Zend/zend_compile.c if ((ce = zend_hash_find_ptr(class_table, Z_STR_P(op1))) == NULL) { ce 995 Zend/zend_compile.c ce->refcount++; ce 996 Zend/zend_compile.c if (zend_hash_add_ptr(class_table, Z_STR_P(op2), ce) == NULL) { ce 997 Zend/zend_compile.c ce->refcount--; ce 1004 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", zend_get_object_type(ce), ZSTR_VAL(ce->name)); ce 1008 Zend/zend_compile.c if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLEMENT_INTERFACES|ZEND_ACC_IMPLEMENT_TRAITS))) { ce 1009 Zend/zend_compile.c zend_verify_abstract_class(ce); ce 1011 Zend/zend_compile.c return ce; ce 1018 Zend/zend_compile.c zend_class_entry *ce; ce 1029 Zend/zend_compile.c ce = zend_hash_find_ptr(class_table, Z_STR_P(op1)); ce 1031 Zend/zend_compile.c if (!ce) { ce 1044 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", zend_get_object_type(ce), ZSTR_VAL(ce->name)); ce 1047 Zend/zend_compile.c zend_do_inheritance(ce, parent_ce); ce 1049 Zend/zend_compile.c ce->refcount++; ce 1052 Zend/zend_compile.c if (zend_hash_add_ptr(class_table, Z_STR_P(op2), ce) == NULL) { ce 1053 Zend/zend_compile.c zend_error_noreturn(E_COMPILE_ERROR, "Cannot declare %s %s, because the name is already in use", zend_get_object_type(ce), ZSTR_VAL(ce->name)); ce 1055 Zend/zend_compile.c return ce; ce 1085 Zend/zend_compile.c zend_class_entry *ce; ce 1088 Zend/zend_compile.c if (((ce = zend_lookup_class_ex(Z_STR_P(parent_name), parent_name + 1, 0)) == NULL) || ce 1090 Zend/zend_compile.c (ce->type == ZEND_INTERNAL_CLASS))) { ce 1104 Zend/zend_compile.c if (do_bind_inherited_class(CG(active_op_array), opline, CG(class_table), ce, 1) == NULL) { ce 1164 Zend/zend_compile.c zend_class_entry *ce; ce 1169 Zend/zend_compile.c if ((ce = zend_lookup_class_ex(Z_STR_P(parent_name), parent_name + 1, 0)) != NULL) { ce 1170 Zend/zend_compile.c do_bind_inherited_class(op_array, &op_array->opcodes[opline_num], EG(class_table), ce, 0); ce 1410 Zend/zend_compile.c zend_class_entry *ce = zend_hash_find_ptr_lc(CG(class_table), ZSTR_VAL(class_name), ZSTR_LEN(class_name)); ce 1411 Zend/zend_compile.c if (ce) { ce 1412 Zend/zend_compile.c c = zend_hash_find(&ce->constants_table, name); ce 1603 Zend/zend_compile.c ZEND_API void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers) /* {{{ */ ce 1605 Zend/zend_compile.c zend_bool persistent_hashes = (ce->type == ZEND_INTERNAL_CLASS) ? 1 : 0; ce 1608 Zend/zend_compile.c ce->refcount = 1; ce 1609 Zend/zend_compile.c ce->ce_flags = ZEND_ACC_CONSTANTS_UPDATED; ce 1612 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 1615 Zend/zend_compile.c ce->default_properties_table = NULL; ce 1616 Zend/zend_compile.c ce->default_static_members_table = NULL; ce 1617 Zend/zend_compile.c zend_hash_init_ex(&ce->properties_info, 8, NULL, (persistent_hashes ? zend_destroy_property_info_internal : NULL), persistent_hashes, 0); ce 1618 Zend/zend_compile.c zend_hash_init_ex(&ce->constants_table, 8, NULL, zval_ptr_dtor_func, persistent_hashes, 0); ce 1619 Zend/zend_compile.c zend_hash_init_ex(&ce->function_table, 8, NULL, ZEND_FUNCTION_DTOR, persistent_hashes, 0); ce 1621 Zend/zend_compile.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 1631 Zend/zend_compile.c ce->static_members_table = (zval*)(zend_intptr_t)n; ce 1633 Zend/zend_compile.c ce->static_members_table = NULL; ce 1636 Zend/zend_compile.c ce->static_members_table = ce->default_static_members_table; ce 1637 Zend/zend_compile.c ce->info.user.doc_comment = NULL; ce 1640 Zend/zend_compile.c ce->default_properties_count = 0; ce 1641 Zend/zend_compile.c ce->default_static_members_count = 0; ce 1644 Zend/zend_compile.c ce->constructor = NULL; ce 1645 Zend/zend_compile.c ce->destructor = NULL; ce 1646 Zend/zend_compile.c ce->clone = NULL; ce 1647 Zend/zend_compile.c ce->__get = NULL; ce 1648 Zend/zend_compile.c ce->__set = NULL; ce 1649 Zend/zend_compile.c ce->__unset = NULL; ce 1650 Zend/zend_compile.c ce->__isset = NULL; ce 1651 Zend/zend_compile.c ce->__call = NULL; ce 1652 Zend/zend_compile.c ce->__callstatic = NULL; ce 1653 Zend/zend_compile.c ce->__tostring = NULL; ce 1654 Zend/zend_compile.c ce->create_object = NULL; ce 1655 Zend/zend_compile.c ce->get_iterator = NULL; ce 1656 Zend/zend_compile.c ce->iterator_funcs.funcs = NULL; ce 1657 Zend/zend_compile.c ce->interface_gets_implemented = NULL; ce 1658 Zend/zend_compile.c ce->get_static_method = NULL; ce 1659 Zend/zend_compile.c ce->parent = NULL; ce 1660 Zend/zend_compile.c ce->num_interfaces = 0; ce 1661 Zend/zend_compile.c ce->interfaces = NULL; ce 1662 Zend/zend_compile.c ce->num_traits = 0; ce 1663 Zend/zend_compile.c ce->traits = NULL; ce 1664 Zend/zend_compile.c ce->trait_aliases = NULL; ce 1665 Zend/zend_compile.c ce->trait_precedences = NULL; ce 1666 Zend/zend_compile.c ce->serialize = NULL; ce 1667 Zend/zend_compile.c ce->unserialize = NULL; ce 1668 Zend/zend_compile.c ce->serialize_func = NULL; ce 1669 Zend/zend_compile.c ce->unserialize_func = NULL; ce 1670 Zend/zend_compile.c ce->__debugInfo = NULL; ce 1671 Zend/zend_compile.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 1672 Zend/zend_compile.c ce->info.internal.module = NULL; ce 1673 Zend/zend_compile.c ce->info.internal.builtin_functions = NULL; ce 4630 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); ce 4631 Zend/zend_compile.c zend_bool in_interface = (ce->ce_flags & ZEND_ACC_INTERFACE) != 0; ce 4632 Zend/zend_compile.c zend_bool in_trait = (ce->ce_flags & ZEND_ACC_TRAIT) != 0; ce 4641 Zend/zend_compile.c "%s::%s() must be omitted", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4649 Zend/zend_compile.c in_interface ? "Interface" : "Abstract", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4654 Zend/zend_compile.c in_interface ? "Interface" : "Abstract", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4657 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; ce 4660 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4663 Zend/zend_compile.c op_array->scope = ce; ce 4669 Zend/zend_compile.c if (zend_hash_add_ptr(&ce->function_table, lcname, op_array) == NULL) { ce 4671 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4722 Zend/zend_compile.c if (!in_trait && zend_string_equals_ci(lcname, ce->name)) { ce 4723 Zend/zend_compile.c if (!ce->constructor) { ce 4724 Zend/zend_compile.c ce->constructor = (zend_function *) op_array; ce 4727 Zend/zend_compile.c ce->constructor = (zend_function *) op_array; ce 4729 Zend/zend_compile.c ce->destructor = (zend_function *) op_array; ce 4731 Zend/zend_compile.c ce->clone = (zend_function *) op_array; ce 4737 Zend/zend_compile.c ce->__call = (zend_function *) op_array; ce 4743 Zend/zend_compile.c ce->__callstatic = (zend_function *) op_array; ce 4749 Zend/zend_compile.c ce->__get = (zend_function *) op_array; ce 4750 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 4756 Zend/zend_compile.c ce->__set = (zend_function *) op_array; ce 4757 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 4763 Zend/zend_compile.c ce->__unset = (zend_function *) op_array; ce 4764 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 4770 Zend/zend_compile.c ce->__isset = (zend_function *) op_array; ce 4771 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 4777 Zend/zend_compile.c ce->__tostring = (zend_function *) op_array; ce 4788 Zend/zend_compile.c ce->__debugInfo = (zend_function *) op_array; ce 4926 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); ce 4929 Zend/zend_compile.c if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 4954 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4957 Zend/zend_compile.c if (zend_hash_exists(&ce->properties_info, name)) { ce 4959 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4969 Zend/zend_compile.c zend_declare_property_ex(ce, name, &value_zv, flags, doc_comment); ce 4977 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); ce 4980 Zend/zend_compile.c if ((ce->ce_flags & ZEND_ACC_TRAIT) != 0) { ce 5000 Zend/zend_compile.c if (zend_hash_add(&ce->constants_table, name, &value_zv) == NULL) { ce 5002 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 5006 Zend/zend_compile.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 5018 Zend/zend_compile.c method_ref->ce = NULL; ce 5096 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); ce 5104 Zend/zend_compile.c if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 5106 Zend/zend_compile.c "%s is used in %s", ZSTR_VAL(name), ZSTR_VAL(ce->name)); ce 5125 Zend/zend_compile.c ce->num_traits++; ce 5193 Zend/zend_compile.c zend_class_entry *ce = zend_arena_alloc(&CG(arena), sizeof(zend_class_entry)); ce 5232 Zend/zend_compile.c ce->type = ZEND_USER_CLASS; ce 5233 Zend/zend_compile.c ce->name = name; ce 5234 Zend/zend_compile.c zend_initialize_class_data(ce, 1); ce 5236 Zend/zend_compile.c ce->ce_flags |= decl->flags; ce 5237 Zend/zend_compile.c ce->info.user.filename = zend_get_compiled_filename(); ce 5238 Zend/zend_compile.c ce->info.user.line_start = decl->start_lineno; ce 5239 Zend/zend_compile.c ce->info.user.line_end = decl->end_lineno; ce 5242 Zend/zend_compile.c ce->info.user.doc_comment = zend_string_copy(decl->doc_comment); ce 5247 Zend/zend_compile.c ce->serialize = zend_class_serialize_deny; ce 5248 Zend/zend_compile.c ce->unserialize = zend_class_unserialize_deny; ce 5280 Zend/zend_compile.c zend_hash_update_ptr(CG(class_table), lcname, ce); ce 5296 Zend/zend_compile.c zend_hash_update_ptr(CG(class_table), key, ce); ce 5299 Zend/zend_compile.c CG(active_class_entry) = ce; ce 5310 Zend/zend_compile.c if (ce->num_traits == 0) { ce 5312 Zend/zend_compile.c zend_check_deprecated_constructor(ce); ce 5315 Zend/zend_compile.c if (ce->constructor) { ce 5316 Zend/zend_compile.c ce->constructor->common.fn_flags |= ZEND_ACC_CTOR; ce 5317 Zend/zend_compile.c if (ce->constructor->common.fn_flags & ZEND_ACC_STATIC) { ce 5319 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name)); ce 5321 Zend/zend_compile.c if (ce->constructor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { ce 5324 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name)); ce 5327 Zend/zend_compile.c if (ce->destructor) { ce 5328 Zend/zend_compile.c ce->destructor->common.fn_flags |= ZEND_ACC_DTOR; ce 5329 Zend/zend_compile.c if (ce->destructor->common.fn_flags & ZEND_ACC_STATIC) { ce 5331 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(ce->destructor->common.function_name)); ce 5332 Zend/zend_compile.c } else if (ce->destructor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { ce 5335 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(ce->destructor->common.function_name)); ce 5338 Zend/zend_compile.c if (ce->clone) { ce 5339 Zend/zend_compile.c ce->clone->common.fn_flags |= ZEND_ACC_CLONE; ce 5340 Zend/zend_compile.c if (ce->clone->common.fn_flags & ZEND_ACC_STATIC) { ce 5342 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); ce 5343 Zend/zend_compile.c } else if (ce->clone->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { ce 5346 Zend/zend_compile.c ZSTR_VAL(ce->name), ZSTR_VAL(ce->clone->common.function_name)); ce 5353 Zend/zend_compile.c if (ce->num_traits > 0) { ce 5354 Zend/zend_compile.c ce->traits = NULL; ce 5355 Zend/zend_compile.c ce->num_traits = 0; ce 5356 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_IMPLEMENT_TRAITS; ce 5361 Zend/zend_compile.c if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) ce 5362 Zend/zend_compile.c && (extends_ast || ce->num_interfaces > 0) ce 5364 Zend/zend_compile.c zend_verify_abstract_class(ce); ce 5365 Zend/zend_compile.c if (ce->num_interfaces && !(ce->ce_flags & ZEND_ACC_IMPLEMENT_TRAITS)) { ce 5374 Zend/zend_compile.c if (ce->num_interfaces > 0) { ce 5375 Zend/zend_compile.c ce->interfaces = NULL; ce 5376 Zend/zend_compile.c ce->num_interfaces = 0; ce 5377 Zend/zend_compile.c ce->ce_flags |= ZEND_ACC_IMPLEMENT_INTERFACES; ce 5505 Zend/zend_compile.c zend_class_entry *ce = zend_hash_find_ptr(CG(class_table), lookup_name); ce 5506 Zend/zend_compile.c if (ce && ce->type == ZEND_USER_CLASS ce 5507 Zend/zend_compile.c && ce->info.user.filename == CG(compiled_filename) ce 5708 Zend/zend_compile.c zend_class_entry *ce = CG(active_class_entry); ce 5746 Zend/zend_compile.c } else if (ce) { ce 5748 Zend/zend_compile.c ZVAL_NEW_STR(zv, zend_concat3(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), "::", 2, ce 5751 Zend/zend_compile.c ZVAL_STR_COPY(zv, ce->name); ce 5760 Zend/zend_compile.c if (ce) { ce 5761 Zend/zend_compile.c if ((ce->ce_flags & ZEND_ACC_TRAIT) != 0) { ce 5764 Zend/zend_compile.c ZVAL_STR_COPY(zv, ce->name); ce 5771 Zend/zend_compile.c if (ce && (ce->ce_flags & ZEND_ACC_TRAIT) != 0) { ce 5772 Zend/zend_compile.c ZVAL_STR_COPY(zv, ce->name); ce 287 Zend/zend_compile.h zend_class_entry *ce; ce 734 Zend/zend_compile.h ZEND_API void zend_cleanup_user_class_data(zend_class_entry *ce); ce 735 Zend/zend_compile.h ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce); ce 761 Zend/zend_compile.h ZEND_API void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers); ce 301 Zend/zend_constants.c zend_class_entry *ce = NULL; ce 339 Zend/zend_constants.c ce = scope; ce 349 Zend/zend_constants.c ce = scope->parent; ce 353 Zend/zend_constants.c ce = zend_get_called_scope(EG(current_execute_data)); ce 354 Zend/zend_constants.c if (UNEXPECTED(!ce)) { ce 359 Zend/zend_constants.c ce = zend_fetch_class(class_name, flags); ce 362 Zend/zend_constants.c if (ce) { ce 363 Zend/zend_constants.c ret_constant = zend_hash_find(&ce->constants_table, constant_name); ce 378 Zend/zend_constants.c if (UNEXPECTED(zval_update_constant_ex(ret_constant, 1, ce) != SUCCESS)) { ce 137 Zend/zend_exceptions.c DTRACE_EXCEPTION_THROWN(ZSTR_VAL(Z_OBJ_P(exception)->ce->name)); ce 266 Zend/zend_exceptions.c zend_class_entry *ce; ce 269 Zend/zend_exceptions.c ce = execute_data->called_scope; ce 271 Zend/zend_exceptions.c ce = base_ce; ce 273 Zend/zend_exceptions.c zend_throw_error(NULL, "Wrong parameters for %s([string $message [, long $code [, Throwable $previous = NULL]]])", ZSTR_VAL(ce->name)); ce 328 Zend/zend_exceptions.c zend_class_entry *ce; ce 331 Zend/zend_exceptions.c ce = execute_data->called_scope; ce 333 Zend/zend_exceptions.c ce = zend_ce_error_exception; ce 335 Zend/zend_exceptions.c zend_throw_error(NULL, "Wrong parameters for %s([string $message [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Throwable $previous = NULL]]]]]])", ZSTR_VAL(ce->name)); ce 850 Zend/zend_exceptions.c zend_class_entry ce; ce 857 Zend/zend_exceptions.c INIT_CLASS_ENTRY(ce, "Exception", default_exception_functions); ce 858 Zend/zend_exceptions.c zend_ce_exception = zend_register_internal_class_ex(&ce, NULL); ce 870 Zend/zend_exceptions.c INIT_CLASS_ENTRY(ce, "ErrorException", error_exception_functions); ce 871 Zend/zend_exceptions.c zend_ce_error_exception = zend_register_internal_class_ex(&ce, zend_ce_exception); ce 875 Zend/zend_exceptions.c INIT_CLASS_ENTRY(ce, "Error", default_exception_functions); ce 876 Zend/zend_exceptions.c zend_ce_error = zend_register_internal_class_ex(&ce, NULL); ce 888 Zend/zend_exceptions.c INIT_CLASS_ENTRY(ce, "ParseError", NULL); ce 889 Zend/zend_exceptions.c zend_ce_parse_error = zend_register_internal_class_ex(&ce, zend_ce_error); ce 892 Zend/zend_exceptions.c INIT_CLASS_ENTRY(ce, "TypeError", NULL); ce 893 Zend/zend_exceptions.c zend_ce_type_error = zend_register_internal_class_ex(&ce, zend_ce_error); ce 896 Zend/zend_exceptions.c INIT_CLASS_ENTRY(ce, "ArithmeticError", NULL); ce 897 Zend/zend_exceptions.c zend_ce_arithmetic_error = zend_register_internal_class_ex(&ce, zend_ce_error); ce 900 Zend/zend_exceptions.c INIT_CLASS_ENTRY(ce, "DivisionByZeroError", NULL); ce 901 Zend/zend_exceptions.c zend_ce_division_by_zero_error = zend_register_internal_class_ex(&ce, zend_ce_arithmetic_error); ce 129 Zend/zend_execute.c #define IS_CTOR_CALL(ce) (((zend_uintptr_t)(ce)) & CTOR_CALL_BIT) ce 130 Zend/zend_execute.c #define IS_CTOR_USED(ce) (((zend_uintptr_t)(ce)) & CTOR_USED_BIT) ce 132 Zend/zend_execute.c #define ENCODE_CTOR(ce, used) \ ce 133 Zend/zend_execute.c ((zend_class_entry*)(((zend_uintptr_t)(ce)) | CTOR_CALL_BIT | ((used) ? CTOR_USED_BIT : 0))) ce 134 Zend/zend_execute.c #define DECODE_CTOR(ce) \ ce 135 Zend/zend_execute.c ((zend_class_entry*)(((zend_uintptr_t)(ce)) & ~(CTOR_CALL_BIT|CTOR_USED_BIT))) ce 740 Zend/zend_execute.c zend_class_entry *ce; ce 754 Zend/zend_execute.c need_msg = zend_verify_internal_arg_class_kind((zend_internal_arg_info*)cur_arg_info, &class_name, &ce); ce 755 Zend/zend_execute.c if (!ce || !instanceof_function(Z_OBJCE_P(arg), ce)) { ce 762 Zend/zend_execute.c need_msg = zend_verify_internal_arg_class_kind((zend_internal_arg_info*)cur_arg_info, &class_name, &ce); ce 786 Zend/zend_execute.c zend_class_entry *ce; ce 801 Zend/zend_execute.c ce = (zend_class_entry*)*cache_slot; ce 803 Zend/zend_execute.c ce = zend_verify_arg_class_kind(cur_arg_info); ce 804 Zend/zend_execute.c if (UNEXPECTED(!ce)) { ce 808 Zend/zend_execute.c *cache_slot = (void*)ce; ce 810 Zend/zend_execute.c if (UNEXPECTED(!instanceof_function(Z_OBJCE_P(arg), ce))) { ce 812 Zend/zend_execute.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 814 Zend/zend_execute.c zend_verify_arg_error(zf, arg_num, need_msg, ZSTR_VAL(ce->name), "instance of ", ZSTR_VAL(Z_OBJCE_P(arg)->name), arg); ce 821 Zend/zend_execute.c ce = (zend_class_entry*)*cache_slot; ce 823 Zend/zend_execute.c ce = zend_verify_arg_class_kind(cur_arg_info); ce 824 Zend/zend_execute.c if (UNEXPECTED(!ce)) { ce 832 Zend/zend_execute.c *cache_slot = (void*)ce; ce 835 Zend/zend_execute.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 837 Zend/zend_execute.c zend_verify_arg_error(zf, arg_num, need_msg, ZSTR_VAL(ce->name), zend_zval_type_name(arg), "", arg); ce 860 Zend/zend_execute.c zend_class_entry *ce; ce 873 Zend/zend_execute.c ce = (zend_class_entry*)*cache_slot; ce 875 Zend/zend_execute.c ce = zend_verify_arg_class_kind(cur_arg_info); ce 876 Zend/zend_execute.c if (UNEXPECTED(!ce)) { ce 880 Zend/zend_execute.c *cache_slot = (void*)ce; ce 883 Zend/zend_execute.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 885 Zend/zend_execute.c zend_verify_arg_error(zf, arg_num, need_msg, ZSTR_VAL(ce->name), "none", "", NULL); ce 954 Zend/zend_execute.c zend_class_entry *ce; ce 960 Zend/zend_execute.c need_msg = zend_verify_internal_arg_class_kind((zend_internal_arg_info *)ret_info, &class_name, &ce); ce 961 Zend/zend_execute.c if (!ce || !instanceof_function(Z_OBJCE_P(ret), ce)) { ce 968 Zend/zend_execute.c need_msg = zend_verify_internal_arg_class_kind((zend_internal_arg_info *)ret_info, &class_name, &ce); ce 993 Zend/zend_execute.c zend_class_entry *ce; ce 999 Zend/zend_execute.c ce = (zend_class_entry*)*cache_slot; ce 1001 Zend/zend_execute.c ce = zend_verify_arg_class_kind(ret_info); ce 1002 Zend/zend_execute.c if (UNEXPECTED(!ce)) { ce 1006 Zend/zend_execute.c *cache_slot = (void*)ce; ce 1008 Zend/zend_execute.c if (UNEXPECTED(!instanceof_function(Z_OBJCE_P(ret), ce))) { ce 1010 Zend/zend_execute.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 1012 Zend/zend_execute.c zend_verify_return_error(zf, need_msg, ZSTR_VAL(ce->name), "instance of ", ZSTR_VAL(Z_OBJCE_P(ret)->name)); ce 1018 Zend/zend_execute.c ce = (zend_class_entry*)*cache_slot; ce 1020 Zend/zend_execute.c ce = zend_verify_arg_class_kind(ret_info); ce 1021 Zend/zend_execute.c if (UNEXPECTED(!ce)) { ce 1025 Zend/zend_execute.c *cache_slot = (void*)ce; ce 1028 Zend/zend_execute.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 1030 Zend/zend_execute.c zend_verify_return_error(zf, need_msg, ZSTR_VAL(ce->name), zend_zval_type_name(ret), ""); ce 1049 Zend/zend_execute.c zend_class_entry *ce; ce 1054 Zend/zend_execute.c ce = (zend_class_entry*)*cache_slot; ce 1056 Zend/zend_execute.c ce = zend_verify_arg_class_kind(ret_info); ce 1057 Zend/zend_execute.c if (UNEXPECTED(!ce)) { ce 1061 Zend/zend_execute.c *cache_slot = (void*)ce; ce 1064 Zend/zend_execute.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 1066 Zend/zend_execute.c zend_verify_return_error(zf, need_msg, ZSTR_VAL(ce->name), "none", ""); ce 1159 Zend/zend_execute.c if (!zobj->ce->__set) { ce 1744 Zend/zend_execute.c zend_class_entry *ce = Z_OBJCE_P(container); ce 1747 Zend/zend_execute.c zend_error(E_NOTICE, "Indirect modification of overloaded element of %s has no effect", ZSTR_VAL(ce->name)); ce 1762 Zend/zend_execute.c zend_class_entry *ce = Z_OBJCE_P(container); ce 1763 Zend/zend_execute.c zend_error(E_NOTICE, "Indirect modification of overloaded element of %s has no effect", ZSTR_VAL(ce->name)); ce 296 Zend/zend_execute.h void zend_verify_abstract_class(zend_class_entry *ce); ce 332 Zend/zend_execute.h #define CACHED_POLYMORPHIC_PTR(num, ce) \ ce 333 Zend/zend_execute.h (EXPECTED(((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[0] == (void*)(ce)) ? \ ce 337 Zend/zend_execute.h #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ ce 339 Zend/zend_execute.h slot[0] = (ce); \ ce 350 Zend/zend_execute.h #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ ce 351 Zend/zend_execute.h (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL) ce 353 Zend/zend_execute.h #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ ce 354 Zend/zend_execute.h (slot)[0] = (ce); \ ce 116 Zend/zend_execute_API.c zend_class_entry *ce = Z_PTR_P(zv); ce 117 Zend/zend_execute_API.c return (ce->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_STOP : ZEND_HASH_APPLY_REMOVE; ce 123 Zend/zend_execute_API.c zend_class_entry *ce = Z_PTR_P(zv); ce 124 Zend/zend_execute_API.c return (ce->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE; ce 253 Zend/zend_execute_API.c zend_class_entry *ce; ce 318 Zend/zend_execute_API.c ZEND_HASH_REVERSE_FOREACH_PTR(EG(class_table), ce) { ce 319 Zend/zend_execute_API.c if (ce->type == ZEND_USER_CLASS) { ce 320 Zend/zend_execute_API.c zend_cleanup_user_class_data(ce); ce 322 Zend/zend_execute_API.c zend_cleanup_internal_class_data(ce); ce 332 Zend/zend_execute_API.c ZEND_HASH_REVERSE_FOREACH_PTR(EG(class_table), ce) { ce 333 Zend/zend_execute_API.c if (ce->type != ZEND_USER_CLASS) { ce 336 Zend/zend_execute_API.c zend_cleanup_user_class_data(ce); ce 432 Zend/zend_execute_API.c zend_class_entry *ce = func->common.scope; ce 435 Zend/zend_execute_API.c *space = ce ? "::" : ""; ce 437 Zend/zend_execute_API.c return ce ? ZSTR_VAL(ce->name) : ""; ce 946 Zend/zend_execute_API.c zend_class_entry *ce = NULL; ce 968 Zend/zend_execute_API.c ce = zend_hash_find_ptr(EG(class_table), lc_name); ce 969 Zend/zend_execute_API.c if (ce) { ce 973 Zend/zend_execute_API.c return ce; ce 1045 Zend/zend_execute_API.c ce = zend_hash_find_ptr(EG(class_table), lc_name); ce 1059 Zend/zend_execute_API.c return ce; ce 1331 Zend/zend_execute_API.c zend_class_entry *ce; ce 1351 Zend/zend_execute_API.c ce = zend_get_called_scope(EG(current_execute_data)); ce 1352 Zend/zend_execute_API.c if (UNEXPECTED(!ce)) { ce 1356 Zend/zend_execute_API.c return ce; ce 1368 Zend/zend_execute_API.c } else if ((ce = zend_lookup_class_ex(class_name, NULL, 1)) == NULL) { ce 1380 Zend/zend_execute_API.c return ce; ce 1386 Zend/zend_execute_API.c zend_class_entry *ce; ce 1390 Zend/zend_execute_API.c } else if ((ce = zend_lookup_class_ex(class_name, key, 1)) == NULL) { ce 1402 Zend/zend_execute_API.c return ce; ce 1440 Zend/zend_execute_API.c void zend_verify_abstract_class(zend_class_entry *ce) /* {{{ */ ce 1445 Zend/zend_execute_API.c if ((ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) && !(ce->ce_flags & (ZEND_ACC_TRAIT | ZEND_ACC_EXPLICIT_ABSTRACT_CLASS))) { ce 1448 Zend/zend_execute_API.c ZEND_HASH_FOREACH_PTR(&ce->function_table, func) { ce 1454 Zend/zend_execute_API.c ZSTR_VAL(ce->name), ai.cnt, ce 101 Zend/zend_gc.c obj->ce->name->val, obj->handle); ce 734 Zend/zend_gc.c (obj->ce->destructor != NULL))) { ce 1067 Zend/zend_generators.c zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 1119 Zend/zend_generators.c zend_class_entry ce; ce 1121 Zend/zend_generators.c INIT_CLASS_ENTRY(ce, "Generator", generator_functions); ce 1122 Zend/zend_generators.c zend_ce_generator = zend_register_internal_class(&ce); ce 1140 Zend/zend_generators.c INIT_CLASS_ENTRY(ce, "ClosedGeneratorException", NULL); ce 1141 Zend/zend_generators.c zend_ce_ClosedGeneratorException = zend_register_internal_class_ex(&ce, zend_ce_exception); ce 57 Zend/zend_inheritance.c static zend_function *zend_duplicate_function(zend_function *func, zend_class_entry *ce) /* {{{ */ ce 62 Zend/zend_inheritance.c if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { ce 91 Zend/zend_inheritance.c static void do_inherit_parent_constructor(zend_class_entry *ce) /* {{{ */ ce 93 Zend/zend_inheritance.c ZEND_ASSERT(ce->parent != NULL); ce 96 Zend/zend_inheritance.c ce->create_object = ce->parent->create_object; ce 99 Zend/zend_inheritance.c if (EXPECTED(!ce->get_iterator)) { ce 100 Zend/zend_inheritance.c ce->get_iterator = ce->parent->get_iterator; ce 102 Zend/zend_inheritance.c if (EXPECTED(!ce->iterator_funcs.funcs)) { ce 103 Zend/zend_inheritance.c ce->iterator_funcs.funcs = ce->parent->iterator_funcs.funcs; ce 105 Zend/zend_inheritance.c if (EXPECTED(!ce->__get)) { ce 106 Zend/zend_inheritance.c ce->__get = ce->parent->__get; ce 108 Zend/zend_inheritance.c if (EXPECTED(!ce->__set)) { ce 109 Zend/zend_inheritance.c ce->__set = ce->parent->__set; ce 111 Zend/zend_inheritance.c if (EXPECTED(!ce->__unset)) { ce 112 Zend/zend_inheritance.c ce->__unset = ce->parent->__unset; ce 114 Zend/zend_inheritance.c if (EXPECTED(!ce->__isset)) { ce 115 Zend/zend_inheritance.c ce->__isset = ce->parent->__isset; ce 117 Zend/zend_inheritance.c if (EXPECTED(!ce->__call)) { ce 118 Zend/zend_inheritance.c ce->__call = ce->parent->__call; ce 120 Zend/zend_inheritance.c if (EXPECTED(!ce->__callstatic)) { ce 121 Zend/zend_inheritance.c ce->__callstatic = ce->parent->__callstatic; ce 123 Zend/zend_inheritance.c if (EXPECTED(!ce->__tostring)) { ce 124 Zend/zend_inheritance.c ce->__tostring = ce->parent->__tostring; ce 126 Zend/zend_inheritance.c if (EXPECTED(!ce->clone)) { ce 127 Zend/zend_inheritance.c ce->clone = ce->parent->clone; ce 129 Zend/zend_inheritance.c if (EXPECTED(!ce->serialize)) { ce 130 Zend/zend_inheritance.c ce->serialize = ce->parent->serialize; ce 132 Zend/zend_inheritance.c if (EXPECTED(!ce->unserialize)) { ce 133 Zend/zend_inheritance.c ce->unserialize = ce->parent->unserialize; ce 135 Zend/zend_inheritance.c if (!ce->destructor) { ce 136 Zend/zend_inheritance.c ce->destructor = ce->parent->destructor; ce 138 Zend/zend_inheritance.c if (EXPECTED(!ce->__debugInfo)) { ce 139 Zend/zend_inheritance.c ce->__debugInfo = ce->parent->__debugInfo; ce 142 Zend/zend_inheritance.c if (ce->constructor) { ce 143 Zend/zend_inheritance.c if (ce->parent->constructor && UNEXPECTED(ce->parent->constructor->common.fn_flags & ZEND_ACC_FINAL)) { ce 145 Zend/zend_inheritance.c ZSTR_VAL(ce->parent->name), ZSTR_VAL(ce->parent->constructor->common.function_name), ce 146 Zend/zend_inheritance.c ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name)); ce 151 Zend/zend_inheritance.c ce->constructor = ce->parent->constructor; ce 583 Zend/zend_inheritance.c static zend_function *do_inherit_method(zend_string *key, zend_function *parent, zend_class_entry *ce) /* {{{ */ ce 585 Zend/zend_inheritance.c zval *child = zend_hash_find(&ce->function_table, key); ce 594 Zend/zend_inheritance.c func->common.scope != ce && ce 606 Zend/zend_inheritance.c ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; ce 609 Zend/zend_inheritance.c return zend_duplicate_function(parent, ce); ce 613 Zend/zend_inheritance.c static void do_inherit_property(zend_property_info *parent_info, zend_string *key, zend_class_entry *ce) /* {{{ */ ce 615 Zend/zend_inheritance.c zval *child = zend_hash_find(&ce->properties_info, key); ce 625 Zend/zend_inheritance.c (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ZSTR_VAL(ce->parent->name), ZSTR_VAL(key), ce 626 Zend/zend_inheritance.c (child_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", ZSTR_VAL(ce->name), ZSTR_VAL(key)); ce 634 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "Access level to %s::$%s must be %s (as in class %s)%s", ZSTR_VAL(ce->name), ZSTR_VAL(key), zend_visibility_string(parent_info->flags), ZSTR_VAL(ce->parent->name), (parent_info->flags&ZEND_ACC_PUBLIC) ? "" : " or weaker"); ce 639 Zend/zend_inheritance.c zval_ptr_dtor(&(ce->default_properties_table[parent_num])); ce 640 Zend/zend_inheritance.c ce->default_properties_table[parent_num] = ce->default_properties_table[child_num]; ce 641 Zend/zend_inheritance.c ZVAL_UNDEF(&ce->default_properties_table[child_num]); ce 647 Zend/zend_inheritance.c if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { ce 655 Zend/zend_inheritance.c if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { ce 661 Zend/zend_inheritance.c _zend_hash_append_ptr(&ce->properties_info, key, child_info); ce 666 Zend/zend_inheritance.c static inline void do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) /* {{{ */ ce 668 Zend/zend_inheritance.c if (!(ce->ce_flags & ZEND_ACC_INTERFACE) && iface->interface_gets_implemented && iface->interface_gets_implemented(iface, ce) == FAILURE) { ce 669 Zend/zend_inheritance.c zend_error_noreturn(E_CORE_ERROR, "Class %s could not implement interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); ce 671 Zend/zend_inheritance.c if (UNEXPECTED(ce == iface)) { ce 672 Zend/zend_inheritance.c zend_error_noreturn(E_ERROR, "Interface %s cannot implement itself", ZSTR_VAL(ce->name)); ce 677 Zend/zend_inheritance.c ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface) /* {{{ */ ce 686 Zend/zend_inheritance.c ce_num = ce->num_interfaces; ce 688 Zend/zend_inheritance.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 689 Zend/zend_inheritance.c ce->interfaces = (zend_class_entry **) realloc(ce->interfaces, sizeof(zend_class_entry *) * (ce_num + if_num)); ce 691 Zend/zend_inheritance.c ce->interfaces = (zend_class_entry **) erealloc(ce->interfaces, sizeof(zend_class_entry *) * (ce_num + if_num)); ce 698 Zend/zend_inheritance.c if (ce->interfaces[i] == entry) { ce 703 Zend/zend_inheritance.c ce->interfaces[ce->num_interfaces++] = entry; ce 708 Zend/zend_inheritance.c while (ce_num < ce->num_interfaces) { ce 709 Zend/zend_inheritance.c do_implement_interface(ce, ce->interfaces[ce_num++]); ce 714 Zend/zend_inheritance.c static void do_inherit_class_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *parent_ce) /* {{{ */ ce 716 Zend/zend_inheritance.c if (!zend_hash_exists(&ce->constants_table, name)) { ce 725 Zend/zend_inheritance.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 728 Zend/zend_inheritance.c _zend_hash_append(&ce->constants_table, name, zv); ce 733 Zend/zend_inheritance.c ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce) /* {{{ */ ce 740 Zend/zend_inheritance.c if (UNEXPECTED(ce->ce_flags & ZEND_ACC_INTERFACE)) { ce 743 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "Interface %s may not inherit from class (%s)", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); ce 748 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "Class %s cannot extend from interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); ce 750 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "Class %s cannot extend from trait %s", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); ce 755 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "Class %s may not inherit from final class (%s)", ZSTR_VAL(ce->name), ZSTR_VAL(parent_ce->name)); ce 759 Zend/zend_inheritance.c ce->parent = parent_ce; ce 762 Zend/zend_inheritance.c zend_do_inherit_interfaces(ce, parent_ce); ce 768 Zend/zend_inheritance.c if (ce->default_properties_count) { ce 769 Zend/zend_inheritance.c zval *table = pemalloc(sizeof(zval) * (ce->default_properties_count + parent_ce->default_properties_count), ce->type == ZEND_INTERNAL_CLASS); ce 770 Zend/zend_inheritance.c src = ce->default_properties_table + ce->default_properties_count; ce 772 Zend/zend_inheritance.c dst = end + ce->default_properties_count; ce 773 Zend/zend_inheritance.c ce->default_properties_table = table; ce 779 Zend/zend_inheritance.c pefree(src, ce->type == ZEND_INTERNAL_CLASS); ce 780 Zend/zend_inheritance.c end = ce->default_properties_table; ce 782 Zend/zend_inheritance.c end = pemalloc(sizeof(zval) * parent_ce->default_properties_count, ce->type == ZEND_INTERNAL_CLASS); ce 784 Zend/zend_inheritance.c ce->default_properties_table = end; ce 791 Zend/zend_inheritance.c if (parent_ce->type != ce->type) { ce 794 Zend/zend_inheritance.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 802 Zend/zend_inheritance.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 805 Zend/zend_inheritance.c ce->default_properties_count += parent_ce->default_properties_count; ce 811 Zend/zend_inheritance.c if (ce->default_static_members_count) { ce 812 Zend/zend_inheritance.c zval *table = pemalloc(sizeof(zval) * (ce->default_static_members_count + parent_ce->default_static_members_count), ce->type == ZEND_INTERNAL_CLASS); ce 813 Zend/zend_inheritance.c src = ce->default_static_members_table + ce->default_static_members_count; ce 815 Zend/zend_inheritance.c dst = end + ce->default_static_members_count; ce 816 Zend/zend_inheritance.c ce->default_static_members_table = table; ce 822 Zend/zend_inheritance.c pefree(src, ce->type == ZEND_INTERNAL_CLASS); ce 823 Zend/zend_inheritance.c end = ce->default_static_members_table; ce 825 Zend/zend_inheritance.c end = pemalloc(sizeof(zval) * parent_ce->default_static_members_count, ce->type == ZEND_INTERNAL_CLASS); ce 827 Zend/zend_inheritance.c ce->default_static_members_table = end; ce 843 Zend/zend_inheritance.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 846 Zend/zend_inheritance.c ce->default_static_members_count += parent_ce->default_static_members_count; ce 847 Zend/zend_inheritance.c if (ce->type == ZEND_USER_CLASS) { ce 848 Zend/zend_inheritance.c ce->static_members_table = ce->default_static_members_table; ce 850 Zend/zend_inheritance.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 854 Zend/zend_inheritance.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, property_info) { ce 855 Zend/zend_inheritance.c if (property_info->ce == ce) { ce 865 Zend/zend_inheritance.c zend_hash_extend(&ce->properties_info, ce 866 Zend/zend_inheritance.c zend_hash_num_elements(&ce->properties_info) + ce 870 Zend/zend_inheritance.c do_inherit_property(property_info, key, ce); ce 875 Zend/zend_inheritance.c zend_hash_extend(&ce->constants_table, ce 876 Zend/zend_inheritance.c zend_hash_num_elements(&ce->constants_table) + ce 880 Zend/zend_inheritance.c do_inherit_class_constant(key, zv, ce, parent_ce); ce 885 Zend/zend_inheritance.c zend_hash_extend(&ce->function_table, ce 886 Zend/zend_inheritance.c zend_hash_num_elements(&ce->function_table) + ce 890 Zend/zend_inheritance.c zend_function *new_func = do_inherit_method(key, func, ce); ce 893 Zend/zend_inheritance.c _zend_hash_append_ptr(&ce->function_table, key, new_func); ce 898 Zend/zend_inheritance.c do_inherit_parent_constructor(ce); ce 900 Zend/zend_inheritance.c if (ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS && ce->type == ZEND_INTERNAL_CLASS) { ce 901 Zend/zend_inheritance.c ce->ce_flags |= ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; ce 902 Zend/zend_inheritance.c } else if (!(ce->ce_flags & (ZEND_ACC_IMPLEMENT_INTERFACES|ZEND_ACC_IMPLEMENT_TRAITS))) { ce 904 Zend/zend_inheritance.c zend_verify_abstract_class(ce); ce 906 Zend/zend_inheritance.c ce->ce_flags |= parent_ce->ce_flags & (ZEND_HAS_STATIC_IN_METHODS | ZEND_ACC_USE_GUARDS); ce 926 Zend/zend_inheritance.c static void do_inherit_iface_constant(zend_string *name, zval *zv, zend_class_entry *ce, zend_class_entry *iface) /* {{{ */ ce 928 Zend/zend_inheritance.c if (do_inherit_constant_check(&ce->constants_table, zv, name, iface)) { ce 938 Zend/zend_inheritance.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 940 Zend/zend_inheritance.c zend_hash_update(&ce->constants_table, name, zv); ce 945 Zend/zend_inheritance.c ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface) /* {{{ */ ce 948 Zend/zend_inheritance.c uint32_t current_iface_num = ce->num_interfaces; ce 949 Zend/zend_inheritance.c uint32_t parent_iface_num = ce->parent ? ce->parent->num_interfaces : 0; ce 954 Zend/zend_inheritance.c for (i = 0; i < ce->num_interfaces; i++) { ce 955 Zend/zend_inheritance.c if (ce->interfaces[i] == NULL) { ce 956 Zend/zend_inheritance.c memmove(ce->interfaces + i, ce->interfaces + i + 1, sizeof(zend_class_entry*) * (--ce->num_interfaces - i)); ce 958 Zend/zend_inheritance.c } else if (ce->interfaces[i] == iface) { ce 962 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "Class %s cannot implement previously implemented interface %s", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); ce 968 Zend/zend_inheritance.c ZEND_HASH_FOREACH_STR_KEY_VAL(&ce->constants_table, key, zv) { ce 972 Zend/zend_inheritance.c if (ce->num_interfaces >= current_iface_num) { ce 973 Zend/zend_inheritance.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 974 Zend/zend_inheritance.c ce->interfaces = (zend_class_entry **) realloc(ce->interfaces, sizeof(zend_class_entry *) * (++current_iface_num)); ce 976 Zend/zend_inheritance.c ce->interfaces = (zend_class_entry **) erealloc(ce->interfaces, sizeof(zend_class_entry *) * (++current_iface_num)); ce 979 Zend/zend_inheritance.c ce->interfaces[ce->num_interfaces++] = iface; ce 982 Zend/zend_inheritance.c do_inherit_iface_constant(key, zv, ce, iface); ce 986 Zend/zend_inheritance.c zend_function *new_func = do_inherit_method(key, func, ce); ce 989 Zend/zend_inheritance.c zend_hash_add_new_ptr(&ce->function_table, key, new_func); ce 993 Zend/zend_inheritance.c do_implement_interface(ce, iface); ce 994 Zend/zend_inheritance.c zend_do_inherit_interfaces(ce, iface); ce 999 Zend/zend_inheritance.c ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait) /* {{{ */ ce 1002 Zend/zend_inheritance.c uint32_t current_trait_num = ce->num_traits; ce 1003 Zend/zend_inheritance.c uint32_t parent_trait_num = ce->parent ? ce->parent->num_traits : 0; ce 1005 Zend/zend_inheritance.c for (i = 0; i < ce->num_traits; i++) { ce 1006 Zend/zend_inheritance.c if (ce->traits[i] == NULL) { ce 1007 Zend/zend_inheritance.c memmove(ce->traits + i, ce->traits + i + 1, sizeof(zend_class_entry*) * (--ce->num_traits - i)); ce 1009 Zend/zend_inheritance.c } else if (ce->traits[i] == trait) { ce 1016 Zend/zend_inheritance.c if (ce->num_traits >= current_trait_num) { ce 1017 Zend/zend_inheritance.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 1018 Zend/zend_inheritance.c ce->traits = (zend_class_entry **) realloc(ce->traits, sizeof(zend_class_entry *) * (++current_trait_num)); ce 1020 Zend/zend_inheritance.c ce->traits = (zend_class_entry **) erealloc(ce->traits, sizeof(zend_class_entry *) * (++current_trait_num)); ce 1023 Zend/zend_inheritance.c ce->traits[ce->num_traits++] = trait; ce 1040 Zend/zend_inheritance.c static void zend_add_magic_methods(zend_class_entry* ce, zend_string* mname, zend_function* fe) /* {{{ */ ce 1043 Zend/zend_inheritance.c ce->clone = fe; fe->common.fn_flags |= ZEND_ACC_CLONE; ce 1045 Zend/zend_inheritance.c if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) { ce 1046 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "%s has colliding constructor definitions coming from traits", ZSTR_VAL(ce->name)); ce 1048 Zend/zend_inheritance.c ce->constructor = fe; fe->common.fn_flags |= ZEND_ACC_CTOR; ce 1050 Zend/zend_inheritance.c ce->destructor = fe; fe->common.fn_flags |= ZEND_ACC_DTOR; ce 1052 Zend/zend_inheritance.c ce->__get = fe; ce 1053 Zend/zend_inheritance.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 1055 Zend/zend_inheritance.c ce->__set = fe; ce 1056 Zend/zend_inheritance.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 1058 Zend/zend_inheritance.c ce->__call = fe; ce 1060 Zend/zend_inheritance.c ce->__unset = fe; ce 1061 Zend/zend_inheritance.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 1063 Zend/zend_inheritance.c ce->__isset = fe; ce 1064 Zend/zend_inheritance.c ce->ce_flags |= ZEND_ACC_USE_GUARDS; ce 1066 Zend/zend_inheritance.c ce->__callstatic = fe; ce 1068 Zend/zend_inheritance.c ce->__tostring = fe; ce 1070 Zend/zend_inheritance.c ce->__debugInfo = fe; ce 1071 Zend/zend_inheritance.c } else if (ZSTR_LEN(ce->name) == ZSTR_LEN(mname)) { ce 1072 Zend/zend_inheritance.c zend_string *lowercase_name = zend_string_tolower(ce->name); ce 1075 Zend/zend_inheritance.c if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) { ce 1076 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "%s has colliding constructor definitions coming from traits", ZSTR_VAL(ce->name)); ce 1078 Zend/zend_inheritance.c ce->constructor = fe; ce 1086 Zend/zend_inheritance.c static void zend_add_trait_method(zend_class_entry *ce, const char *name, zend_string *key, zend_function *fn, HashTable **overriden) /* {{{ */ ce 1091 Zend/zend_inheritance.c if ((existing_fn = zend_hash_find_ptr(&ce->function_table, key)) != NULL) { ce 1092 Zend/zend_inheritance.c if (existing_fn->common.scope == ce) { ce 1140 Zend/zend_inheritance.c name, ZSTR_VAL(ce->name)); ce 1144 Zend/zend_inheritance.c ZSTR_VAL(ce->name), name, ce 1158 Zend/zend_inheritance.c fn = zend_hash_update_ptr(&ce->function_table, key, new_fn); ce 1159 Zend/zend_inheritance.c zend_add_magic_methods(ce, key, fn); ce 1163 Zend/zend_inheritance.c static void zend_fixup_trait_method(zend_function *fn, zend_class_entry *ce) /* {{{ */ ce 1167 Zend/zend_inheritance.c fn->common.scope = ce; ce 1170 Zend/zend_inheritance.c ce->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; ce 1173 Zend/zend_inheritance.c ce->ce_flags |= ZEND_HAS_STATIC_IN_METHODS; ce 1179 Zend/zend_inheritance.c static int zend_traits_copy_functions(zend_string *fnname, zend_function *fn, zend_class_entry *ce, HashTable **overriden, HashTable *exclude_table) /* {{{ */ ce 1186 Zend/zend_inheritance.c if (ce->trait_aliases) { ce 1187 Zend/zend_inheritance.c alias_ptr = ce->trait_aliases; ce 1192 Zend/zend_inheritance.c && (!alias->trait_method->ce || fn->common.scope == alias->trait_method->ce) ce 1203 Zend/zend_inheritance.c zend_add_trait_method(ce, ZSTR_VAL(alias->alias), lcname, &fn_copy, overriden); ce 1207 Zend/zend_inheritance.c if (!alias->trait_method->ce) { ce 1208 Zend/zend_inheritance.c alias->trait_method->ce = fn->common.scope; ce 1222 Zend/zend_inheritance.c if (ce->trait_aliases) { ce 1223 Zend/zend_inheritance.c alias_ptr = ce->trait_aliases; ce 1228 Zend/zend_inheritance.c && (!alias->trait_method->ce || fn->common.scope == alias->trait_method->ce) ce 1235 Zend/zend_inheritance.c if (!alias->trait_method->ce) { ce 1236 Zend/zend_inheritance.c alias->trait_method->ce = fn->common.scope; ce 1244 Zend/zend_inheritance.c zend_add_trait_method(ce, ZSTR_VAL(fn->common.function_name), fnname, &fn_copy, overriden); ce 1251 Zend/zend_inheritance.c static void zend_check_trait_usage(zend_class_entry *ce, zend_class_entry *trait) /* {{{ */ ce 1259 Zend/zend_inheritance.c for (i = 0; i < ce->num_traits; i++) { ce 1260 Zend/zend_inheritance.c if (ce->traits[i] == trait) { ce 1264 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "Required Trait %s wasn't added to %s", ZSTR_VAL(trait->name), ZSTR_VAL(ce->name)); ce 1268 Zend/zend_inheritance.c static void zend_traits_init_trait_structures(zend_class_entry *ce) /* {{{ */ ce 1278 Zend/zend_inheritance.c if (ce->trait_precedences) { ce 1280 Zend/zend_inheritance.c precedences = ce->trait_precedences; ce 1281 Zend/zend_inheritance.c ce->trait_precedences = NULL; ce 1286 Zend/zend_inheritance.c if (!(cur_precedence->trait_method->ce = zend_fetch_class(cur_method_ref->class_name, ce 1290 Zend/zend_inheritance.c zend_check_trait_usage(ce, cur_precedence->trait_method->ce); ce 1294 Zend/zend_inheritance.c method_exists = zend_hash_exists(&cur_method_ref->ce->function_table, ce 1300 Zend/zend_inheritance.c ZSTR_VAL(cur_method_ref->ce->name), ce 1314 Zend/zend_inheritance.c if (!(cur_precedence->exclude_from_classes[j].ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_TRAIT |ZEND_FETCH_CLASS_NO_AUTOLOAD))) { ce 1317 Zend/zend_inheritance.c zend_check_trait_usage(ce, cur_precedence->exclude_from_classes[j].ce); ce 1321 Zend/zend_inheritance.c if (cur_precedence->trait_method->ce == cur_precedence->exclude_from_classes[j].ce) { ce 1326 Zend/zend_inheritance.c ZSTR_VAL(cur_precedence->trait_method->ce->name), ce 1327 Zend/zend_inheritance.c ZSTR_VAL(cur_precedence->trait_method->ce->name)); ce 1336 Zend/zend_inheritance.c ce->trait_precedences = precedences; ce 1339 Zend/zend_inheritance.c if (ce->trait_aliases) { ce 1341 Zend/zend_inheritance.c while (ce->trait_aliases[i]) { ce 1343 Zend/zend_inheritance.c if (ce->trait_aliases[i]->trait_method->class_name) { ce 1344 Zend/zend_inheritance.c cur_method_ref = ce->trait_aliases[i]->trait_method; ce 1345 Zend/zend_inheritance.c if (!(cur_method_ref->ce = zend_fetch_class(cur_method_ref->class_name, ZEND_FETCH_CLASS_TRAIT|ZEND_FETCH_CLASS_NO_AUTOLOAD))) { ce 1348 Zend/zend_inheritance.c zend_check_trait_usage(ce, cur_method_ref->ce); ce 1352 Zend/zend_inheritance.c method_exists = zend_hash_exists(&cur_method_ref->ce->function_table, ce 1357 Zend/zend_inheritance.c zend_error_noreturn(E_COMPILE_ERROR, "An alias was defined for %s::%s but this method does not exist", ZSTR_VAL(cur_method_ref->ce->name), ZSTR_VAL(cur_method_ref->method_name)); ce 1376 Zend/zend_inheritance.c while (precedences[i]->exclude_from_classes[j].ce) { ce 1377 Zend/zend_inheritance.c if (precedences[i]->exclude_from_classes[j].ce == trait) { ce 1394 Zend/zend_inheritance.c static void zend_do_traits_method_binding(zend_class_entry *ce) /* {{{ */ ce 1401 Zend/zend_inheritance.c for (i = 0; i < ce->num_traits; i++) { ce 1402 Zend/zend_inheritance.c if (ce->trait_precedences) { ce 1409 Zend/zend_inheritance.c precedences = ce->trait_precedences; ce 1410 Zend/zend_inheritance.c ce->trait_precedences = NULL; ce 1411 Zend/zend_inheritance.c zend_traits_compile_exclude_table(&exclude_table, precedences, ce->traits[i]); ce 1414 Zend/zend_inheritance.c ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->traits[i]->function_table, key, fn) { ce 1415 Zend/zend_inheritance.c zend_traits_copy_functions(key, fn, ce, &overriden, &exclude_table); ce 1419 Zend/zend_inheritance.c ce->trait_precedences = precedences; ce 1421 Zend/zend_inheritance.c ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->traits[i]->function_table, key, fn) { ce 1422 Zend/zend_inheritance.c zend_traits_copy_functions(key, fn, ce, &overriden, NULL); ce 1427 Zend/zend_inheritance.c ZEND_HASH_FOREACH_PTR(&ce->function_table, fn) { ce 1428 Zend/zend_inheritance.c zend_fixup_trait_method(fn, ce); ce 1431 Zend/zend_inheritance.c if (ce->trait_precedences) { ce 1433 Zend/zend_inheritance.c while (ce->trait_precedences[i]) { ce 1434 Zend/zend_inheritance.c if (ce->trait_precedences[i]->exclude_from_classes) { ce 1435 Zend/zend_inheritance.c efree(ce->trait_precedences[i]->exclude_from_classes); ce 1436 Zend/zend_inheritance.c ce->trait_precedences[i]->exclude_from_classes = NULL; ce 1449 Zend/zend_inheritance.c static zend_class_entry* find_first_definition(zend_class_entry *ce, size_t current_trait, zend_string *prop_name, zend_class_entry *coliding_ce) /* {{{ */ ce 1453 Zend/zend_inheritance.c if (coliding_ce == ce) { ce 1455 Zend/zend_inheritance.c if (zend_hash_exists(&ce->traits[i]->properties_info, prop_name)) { ce 1456 Zend/zend_inheritance.c return ce->traits[i]; ce 1465 Zend/zend_inheritance.c static void zend_do_traits_property_binding(zend_class_entry *ce) /* {{{ */ ce 1483 Zend/zend_inheritance.c for (i = 0; i < ce->num_traits; i++) { ce 1484 Zend/zend_inheritance.c ZEND_HASH_FOREACH_PTR(&ce->traits[i]->properties_info, property_info) { ce 1502 Zend/zend_inheritance.c if ((coliding_prop = zend_hash_find_ptr(&ce->properties_info, prop_name)) != NULL) { ce 1508 Zend/zend_inheritance.c zend_hash_del(&ce->properties_info, prop_name); ce 1516 Zend/zend_inheritance.c &ce->default_static_members_table[coliding_prop->offset], ce 1517 Zend/zend_inheritance.c &ce->traits[i]->default_static_members_table[property_info->offset])) ce 1521 Zend/zend_inheritance.c &ce->default_properties_table[OBJ_PROP_TO_NUM(coliding_prop->offset)], ce 1522 Zend/zend_inheritance.c &ce->traits[i]->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)])) ce 1533 Zend/zend_inheritance.c ZSTR_VAL(find_first_definition(ce, i, prop_name, coliding_prop->ce)->name), ce 1534 Zend/zend_inheritance.c ZSTR_VAL(property_info->ce->name), ce 1536 Zend/zend_inheritance.c ZSTR_VAL(ce->name)); ce 1546 Zend/zend_inheritance.c prop_value = &ce->traits[i]->default_static_members_table[property_info->offset]; ce 1548 Zend/zend_inheritance.c prop_value = &ce->traits[i]->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)]; ce 1553 Zend/zend_inheritance.c zend_declare_property_ex(ce, prop_name, ce 1562 Zend/zend_inheritance.c static void zend_do_check_for_inconsistent_traits_aliasing(zend_class_entry *ce) /* {{{ */ ce 1568 Zend/zend_inheritance.c if (ce->trait_aliases) { ce 1569 Zend/zend_inheritance.c while (ce->trait_aliases[i]) { ce 1570 Zend/zend_inheritance.c cur_alias = ce->trait_aliases[i]; ce 1573 Zend/zend_inheritance.c if (!cur_alias->trait_method->ce) { ce 1591 Zend/zend_inheritance.c if (zend_hash_exists(&ce->function_table, ce 1612 Zend/zend_inheritance.c ZEND_API void zend_do_bind_traits(zend_class_entry *ce) /* {{{ */ ce 1615 Zend/zend_inheritance.c if (ce->num_traits <= 0) { ce 1620 Zend/zend_inheritance.c zend_traits_init_trait_structures(ce); ce 1623 Zend/zend_inheritance.c zend_do_traits_method_binding(ce); ce 1626 Zend/zend_inheritance.c zend_do_check_for_inconsistent_traits_aliasing(ce); ce 1629 Zend/zend_inheritance.c zend_do_traits_property_binding(ce); ce 1632 Zend/zend_inheritance.c zend_verify_abstract_class(ce); ce 1635 Zend/zend_inheritance.c zend_check_deprecated_constructor(ce); ce 1638 Zend/zend_inheritance.c if (ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) { ce 1639 Zend/zend_inheritance.c ce->ce_flags -= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; ce 1645 Zend/zend_inheritance.c static zend_bool zend_has_deprecated_constructor(const zend_class_entry *ce) /* {{{ */ ce 1648 Zend/zend_inheritance.c if (!ce->constructor) { ce 1651 Zend/zend_inheritance.c constructor_name = ce->constructor->common.function_name; ce 1653 Zend/zend_inheritance.c ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ce 1659 Zend/zend_inheritance.c void zend_check_deprecated_constructor(const zend_class_entry *ce) /* {{{ */ ce 1661 Zend/zend_inheritance.c if (zend_has_deprecated_constructor(ce)) { ce 1662 Zend/zend_inheritance.c zend_error(E_DEPRECATED, "Methods with the same name as their class will not be constructors in a future version of PHP; %s has a deprecated constructor", ZSTR_VAL(ce->name)); ce 27 Zend/zend_inheritance.h ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface); ce 28 Zend/zend_inheritance.h ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface); ce 30 Zend/zend_inheritance.h ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait); ce 31 Zend/zend_inheritance.h ZEND_API void zend_do_bind_traits(zend_class_entry *ce); ce 33 Zend/zend_inheritance.h ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce); ce 36 Zend/zend_inheritance.h void zend_check_deprecated_constructor(const zend_class_entry *ce); ce 134 Zend/zend_interfaces.c ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *retval) ce 136 Zend/zend_interfaces.c zend_call_method_with_0_params(object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", retval); ce 172 Zend/zend_interfaces.c zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &more); ce 190 Zend/zend_interfaces.c zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current", &iter->value); ce 213 Zend/zend_interfaces.c zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval); ce 219 Zend/zend_interfaces.c zend_error(E_WARNING, "Nothing returned from %s::key()", ZSTR_VAL(iter->ce->name)); ce 234 Zend/zend_interfaces.c zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL); ce 245 Zend/zend_interfaces.c zend_call_method_with_0_params(object, iter->ce, &iter->ce->iterator_funcs.zf_rewind, "rewind", NULL); ce 260 Zend/zend_interfaces.c static zend_object_iterator *zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_ref) ce 274 Zend/zend_interfaces.c iterator->it.funcs = ce->iterator_funcs.funcs; ce 275 Zend/zend_interfaces.c iterator->ce = Z_OBJCE_P(object); ce 282 Zend/zend_interfaces.c ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref) ce 288 Zend/zend_interfaces.c zend_user_it_new_iterator(ce, object, &iterator); ce 293 Zend/zend_interfaces.c zend_throw_exception_ex(NULL, 0, "Objects returned by %s::getIterator() must be traversable or implement interface Iterator", ce ? ZSTR_VAL(ce->name) : ZSTR_VAL(Z_OBJCE_P(object)->name)); ce 415 Zend/zend_interfaces.c zend_class_entry * ce = Z_OBJCE_P(object); ce 419 Zend/zend_interfaces.c zend_call_method_with_0_params(object, ce, &ce->serialize_func, "serialize", &retval); ce 443 Zend/zend_interfaces.c zend_throw_exception_ex(NULL, 0, "%s::serialize() must return a string or NULL", ZSTR_VAL(ce->name)); ce 450 Zend/zend_interfaces.c ZEND_API int zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data) ce 454 Zend/zend_interfaces.c if (UNEXPECTED(object_init_ex(object, ce) != SUCCESS)) { ce 460 Zend/zend_interfaces.c zend_call_method_with_1_params(object, ce, &ce->unserialize_func, "unserialize", NULL, &zdata); ce 474 Zend/zend_interfaces.c zend_class_entry *ce = Z_OBJCE_P(object); ce 475 Zend/zend_interfaces.c zend_throw_exception_ex(NULL, 0, "Serialization of '%s' is not allowed", ZSTR_VAL(ce->name)); ce 480 Zend/zend_interfaces.c ZEND_API int zend_class_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data) /* {{{ */ ce 482 Zend/zend_interfaces.c zend_throw_exception_ex(NULL, 0, "Unserialization of '%s' is not allowed", ZSTR_VAL(ce->name)); ce 37 Zend/zend_interfaces.h zend_class_entry *ce; ce 54 Zend/zend_interfaces.h zend_class_entry ce;\ ce 55 Zend/zend_interfaces.h INIT_CLASS_ENTRY(ce, # class_name_str, zend_funcs_ ## class_name) \ ce 56 Zend/zend_interfaces.h zend_ce_ ## class_name = zend_register_internal_interface(&ce);\ ce 70 Zend/zend_interfaces.h ZEND_API void zend_user_it_new_iterator(zend_class_entry *ce, zval *object, zval *iterator); ce 71 Zend/zend_interfaces.h ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, int by_ref); ce 76 Zend/zend_interfaces.h ZEND_API int zend_user_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data); ce 79 Zend/zend_interfaces.h ZEND_API int zend_class_unserialize_deny(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data); ce 77 Zend/zend_object_handlers.c zend_class_entry *ce = zobj->ce; ce 80 Zend/zend_object_handlers.c zend_hash_init(zobj->properties, ce->default_properties_count, NULL, ZVAL_PTR_DTOR, 0); ce 81 Zend/zend_object_handlers.c if (ce->default_properties_count) { ce 84 Zend/zend_object_handlers.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) { ce 96 Zend/zend_object_handlers.c while (ce->parent && ce->parent->default_properties_count) { ce 97 Zend/zend_object_handlers.c ce = ce->parent; ce 98 Zend/zend_object_handlers.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) { ce 99 Zend/zend_object_handlers.c if (prop_info->ce == ce && ce 144 Zend/zend_object_handlers.c *n = zobj->ce->default_properties_count; ce 153 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 157 Zend/zend_object_handlers.c if (!ce->__debugInfo) { ce 164 Zend/zend_object_handlers.c zend_call_method_with_0_params(object, ce, &ce->__debugInfo, ZEND_DEBUGINFO_FUNC_NAME, &retval); ce 193 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 202 Zend/zend_object_handlers.c zend_call_method_with_1_params(object, ce, &ce->__get, ZEND_GET_FUNC_NAME, retval, member); ce 212 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 223 Zend/zend_object_handlers.c zend_call_method_with_2_params(object, ce, &ce->__set, ZEND_SET_FUNC_NAME, &retval, member, value); ce 240 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 248 Zend/zend_object_handlers.c zend_call_method_with_1_params(object, ce, &ce->__unset, ZEND_UNSET_FUNC_NAME, NULL, member); ce 256 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 266 Zend/zend_object_handlers.c zend_call_method_with_1_params(object, ce, &ce->__isset, ZEND_ISSET_FUNC_NAME, retval, member); ce 272 Zend/zend_object_handlers.c static zend_always_inline int zend_verify_property_access(zend_property_info *property_info, zend_class_entry *ce) /* {{{ */ ce 277 Zend/zend_object_handlers.c return (ce == EG(scope) || property_info->ce == EG(scope)); ce 279 Zend/zend_object_handlers.c return zend_check_protected(property_info->ce, EG(scope)); ce 299 Zend/zend_object_handlers.c static zend_always_inline uint32_t zend_get_property_offset(zend_class_entry *ce, zend_string *member, int silent, void **cache_slot) /* {{{ */ ce 305 Zend/zend_object_handlers.c if (cache_slot && EXPECTED(ce == CACHED_PTR_EX(cache_slot))) { ce 320 Zend/zend_object_handlers.c if (UNEXPECTED(zend_hash_num_elements(&ce->properties_info) == 0)) { ce 324 Zend/zend_object_handlers.c zv = zend_hash_find(&ce->properties_info, member); ce 332 Zend/zend_object_handlers.c if (EXPECTED(zend_verify_property_access(property_info, ce) != 0)) { ce 337 Zend/zend_object_handlers.c zend_error(E_NOTICE, "Accessing static property %s::$%s as non static", ZSTR_VAL(ce->name), ZSTR_VAL(member)); ce 350 Zend/zend_object_handlers.c if (EG(scope) != ce ce 352 Zend/zend_object_handlers.c && is_derived_class(ce, EG(scope)) ce 362 Zend/zend_object_handlers.c CACHE_POLYMORPHIC_PTR_EX(cache_slot, ce, (void*)(intptr_t)ZEND_DYNAMIC_PROPERTY_OFFSET); ce 368 Zend/zend_object_handlers.c zend_throw_error(NULL, "Cannot access %s property %s::$%s", zend_visibility_string(flags), ZSTR_VAL(ce->name), ZSTR_VAL(member)); ce 375 Zend/zend_object_handlers.c CACHE_POLYMORPHIC_PTR_EX(cache_slot, ce, (void*)(intptr_t)property_info->offset); ce 381 Zend/zend_object_handlers.c ZEND_API zend_property_info *zend_get_property_info(zend_class_entry *ce, zend_string *member, int silent) /* {{{ */ ce 398 Zend/zend_object_handlers.c if (UNEXPECTED(zend_hash_num_elements(&ce->properties_info) == 0)) { ce 402 Zend/zend_object_handlers.c zv = zend_hash_find(&ce->properties_info, member); ce 410 Zend/zend_object_handlers.c if (EXPECTED(zend_verify_property_access(property_info, ce) != 0)) { ce 415 Zend/zend_object_handlers.c zend_error(E_NOTICE, "Accessing static property %s::$%s as non static", ZSTR_VAL(ce->name), ZSTR_VAL(member)); ce 427 Zend/zend_object_handlers.c if (EG(scope) != ce ce 429 Zend/zend_object_handlers.c && is_derived_class(ce, EG(scope)) ce 439 Zend/zend_object_handlers.c zend_throw_error(NULL, "Cannot access %s property %s::$%s", zend_visibility_string(flags), ZSTR_VAL(ce->name), ZSTR_VAL(member)); ce 463 Zend/zend_object_handlers.c property_info = zend_get_property_info(zobj->ce, member, 1); ce 484 Zend/zend_object_handlers.c return zend_verify_property_access(property_info, zobj->ce) ? SUCCESS : FAILURE; ce 500 Zend/zend_object_handlers.c guards = Z_PTR(zobj->properties_table[zobj->ce->default_properties_count]); ce 508 Zend/zend_object_handlers.c Z_PTR(zobj->properties_table[zobj->ce->default_properties_count]) = guards; ce 538 Zend/zend_object_handlers.c property_offset = zend_get_property_offset(zobj->ce, Z_STR_P(member), (type == BP_VAR_IS) || (zobj->ce->__get != NULL), cache_slot); ce 556 Zend/zend_object_handlers.c if (zobj->ce->__get) { ce 573 Zend/zend_object_handlers.c zend_error(E_NOTICE, "Indirect modification of overloaded property %s::$%s has no effect", ZSTR_VAL(zobj->ce->name), Z_STRVAL_P(member)); ce 596 Zend/zend_object_handlers.c zend_error(E_NOTICE,"Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), Z_STRVAL_P(member)); ce 625 Zend/zend_object_handlers.c property_offset = zend_get_property_offset(zobj->ce, Z_STR_P(member), (zobj->ce->__set != NULL), cache_slot); ce 651 Zend/zend_object_handlers.c if (zobj->ce->__set) { ce 709 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 712 Zend/zend_object_handlers.c if (EXPECTED(instanceof_function_ex(ce, zend_ce_arrayaccess, 1) != 0)) { ce 720 Zend/zend_object_handlers.c zend_call_method_with_1_params(object, ce, NULL, "offsetget", rv, offset); ce 726 Zend/zend_object_handlers.c zend_throw_error(NULL, "Undefined offset for object of type %s used as array", ZSTR_VAL(ce->name)); ce 732 Zend/zend_object_handlers.c zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); ce 740 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 743 Zend/zend_object_handlers.c if (EXPECTED(instanceof_function_ex(ce, zend_ce_arrayaccess, 1) != 0)) { ce 750 Zend/zend_object_handlers.c zend_call_method_with_2_params(object, ce, NULL, "offsetset", NULL, offset, value); ce 753 Zend/zend_object_handlers.c zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); ce 760 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 764 Zend/zend_object_handlers.c if (EXPECTED(instanceof_function_ex(ce, zend_ce_arrayaccess, 1) != 0)) { ce 766 Zend/zend_object_handlers.c zend_call_method_with_1_params(object, ce, NULL, "offsetexists", &retval, offset); ce 771 Zend/zend_object_handlers.c zend_call_method_with_1_params(object, ce, NULL, "offsetget", &retval, offset); ce 782 Zend/zend_object_handlers.c zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); ce 807 Zend/zend_object_handlers.c property_offset = zend_get_property_offset(zobj->ce, name, (zobj->ce->__get != NULL), cache_slot); ce 813 Zend/zend_object_handlers.c if (EXPECTED(!zobj->ce->__get) || ce 819 Zend/zend_object_handlers.c zend_error(E_NOTICE, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name)); ce 841 Zend/zend_object_handlers.c if (EXPECTED(!zobj->ce->__get) || ce 850 Zend/zend_object_handlers.c zend_error(E_NOTICE, "Undefined property: %s::$%s", ZSTR_VAL(zobj->ce->name), ZSTR_VAL(name)); ce 878 Zend/zend_object_handlers.c property_offset = zend_get_property_offset(zobj->ce, Z_STR_P(member), (zobj->ce->__unset != NULL), cache_slot); ce 908 Zend/zend_object_handlers.c if (zobj->ce->__unset) { ce 941 Zend/zend_object_handlers.c zend_class_entry *ce = Z_OBJCE_P(object); ce 943 Zend/zend_object_handlers.c if (instanceof_function_ex(ce, zend_ce_arrayaccess, 1)) { ce 945 Zend/zend_object_handlers.c zend_call_method_with_1_params(object, ce, NULL, "offsetunset", NULL, offset); ce 948 Zend/zend_object_handlers.c zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); ce 957 Zend/zend_object_handlers.c static inline zend_function *zend_check_private_int(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) /* {{{ */ ce 961 Zend/zend_object_handlers.c if (!ce) { ce 971 Zend/zend_object_handlers.c if (fbc->common.scope == ce && EG(scope) == ce) { ce 978 Zend/zend_object_handlers.c ce = ce->parent; ce 979 Zend/zend_object_handlers.c while (ce) { ce 980 Zend/zend_object_handlers.c if (ce == EG(scope)) { ce 981 Zend/zend_object_handlers.c if ((func = zend_hash_find(&ce->function_table, function_name))) { ce 990 Zend/zend_object_handlers.c ce = ce->parent; ce 996 Zend/zend_object_handlers.c ZEND_API int zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) /* {{{ */ ce 998 Zend/zend_object_handlers.c return zend_check_private_int(fbc, ce, function_name) != NULL; ce 1004 Zend/zend_object_handlers.c ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) /* {{{ */ ce 1006 Zend/zend_object_handlers.c zend_class_entry *fbc_scope = ce; ce 1022 Zend/zend_object_handlers.c if (scope==ce) { ce 1031 Zend/zend_object_handlers.c ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_name, int is_static) /* {{{ */ ce 1034 Zend/zend_object_handlers.c zend_function *fbc = is_static ? ce->__callstatic : ce->__call; ce 1075 Zend/zend_object_handlers.c static zend_always_inline zend_function *zend_get_user_call_function(zend_class_entry *ce, zend_string *method_name) /* {{{ */ ce 1077 Zend/zend_object_handlers.c return zend_get_call_trampoline_func(ce, method_name, 0); ce 1099 Zend/zend_object_handlers.c if (UNEXPECTED((func = zend_hash_find(&zobj->ce->function_table, lc_method_name)) == NULL)) { ce 1103 Zend/zend_object_handlers.c if (zobj->ce->__call) { ce 1104 Zend/zend_object_handlers.c return zend_get_user_call_function(zobj->ce, method_name); ce 1118 Zend/zend_object_handlers.c updated_fbc = zend_check_private_int(fbc, zobj->ce, lc_method_name); ce 1122 Zend/zend_object_handlers.c if (zobj->ce->__call) { ce 1123 Zend/zend_object_handlers.c fbc = zend_get_user_call_function(zobj->ce, method_name); ce 1149 Zend/zend_object_handlers.c if (zobj->ce->__call) { ce 1150 Zend/zend_object_handlers.c fbc = zend_get_user_call_function(zobj->ce, method_name); ce 1166 Zend/zend_object_handlers.c static zend_always_inline zend_function *zend_get_user_callstatic_function(zend_class_entry *ce, zend_string *method_name) /* {{{ */ ce 1168 Zend/zend_object_handlers.c return zend_get_call_trampoline_func(ce, method_name, 1); ce 1172 Zend/zend_object_handlers.c ZEND_API zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name, const zval *key) /* {{{ */ ce 1185 Zend/zend_object_handlers.c if (ZSTR_LEN(function_name) == ZSTR_LEN(ce->name) && ce->constructor) { ce 1186 Zend/zend_object_handlers.c lc_class_name = zend_str_tolower_dup(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name)); ce 1190 Zend/zend_object_handlers.c if (!memcmp(lc_class_name, ZSTR_VAL(lc_function_name), ZSTR_LEN(function_name)) && memcmp(ZSTR_VAL(ce->constructor->common.function_name), "__", sizeof("__") - 1)) { ce 1191 Zend/zend_object_handlers.c fbc = ce->constructor; ce 1197 Zend/zend_object_handlers.c zval *func = zend_hash_find(&ce->function_table, lc_function_name); ce 1204 Zend/zend_object_handlers.c if (ce->__call && ce 1206 Zend/zend_object_handlers.c instanceof_function(object->ce, ce)) { ce 1210 Zend/zend_object_handlers.c zend_class_entry *call_ce = object->ce; ce 1216 Zend/zend_object_handlers.c } else if (ce->__callstatic) { ce 1217 Zend/zend_object_handlers.c return zend_get_user_callstatic_function(ce, function_name); ce 1242 Zend/zend_object_handlers.c if (ce->__callstatic) { ce 1243 Zend/zend_object_handlers.c fbc = zend_get_user_callstatic_function(ce, function_name); ce 1253 Zend/zend_object_handlers.c if (ce->__callstatic) { ce 1254 Zend/zend_object_handlers.c fbc = zend_get_user_callstatic_function(ce, function_name); ce 1270 Zend/zend_object_handlers.c ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_bool silent) /* {{{ */ ce 1272 Zend/zend_object_handlers.c zend_property_info *property_info = zend_hash_find_ptr(&ce->properties_info, property_name); ce 1279 Zend/zend_object_handlers.c if (UNEXPECTED(!zend_verify_property_access(property_info, ce))) { ce 1281 Zend/zend_object_handlers.c zend_throw_error(NULL, "Cannot access %s property %s::$%s", zend_visibility_string(property_info->flags), ZSTR_VAL(ce->name), ZSTR_VAL(property_name)); ce 1290 Zend/zend_object_handlers.c if (UNEXPECTED(!(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { ce 1291 Zend/zend_object_handlers.c if (UNEXPECTED(zend_update_class_constants(ce)) != SUCCESS) { ce 1295 Zend/zend_object_handlers.c ret = CE_STATIC_MEMBERS(ce) + property_info->offset; ce 1298 Zend/zend_object_handlers.c if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 1301 Zend/zend_object_handlers.c zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(property_name)); ce 1310 Zend/zend_object_handlers.c ZEND_API ZEND_COLD zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name) /* {{{ */ ce 1312 Zend/zend_object_handlers.c zend_throw_error(NULL, "Attempt to unset static property %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(property_name)); ce 1319 Zend/zend_object_handlers.c zend_function *constructor = zobj->ce->constructor; ce 1364 Zend/zend_object_handlers.c if (zobj1->ce != zobj2->ce) { ce 1370 Zend/zend_object_handlers.c if (!zobj1->ce->default_properties_count) { ce 1375 Zend/zend_object_handlers.c end = p1 + zobj1->ce->default_properties_count; ce 1440 Zend/zend_object_handlers.c property_offset = zend_get_property_offset(zobj->ce, Z_STR_P(member), 1, cache_slot); ce 1471 Zend/zend_object_handlers.c if ((has_set_exists != 2) && zobj->ce->__isset) { ce 1486 Zend/zend_object_handlers.c if (EXPECTED(!EG(exception)) && zobj->ce->__get && !((*guard) & IN_GET)) { ce 1516 Zend/zend_object_handlers.c return zend_string_copy(zobj->ce->name); ce 1523 Zend/zend_object_handlers.c zend_class_entry *ce; ce 1527 Zend/zend_object_handlers.c ce = Z_OBJCE_P(readobj); ce 1528 Zend/zend_object_handlers.c if (ce->__tostring && ce 1529 Zend/zend_object_handlers.c (zend_call_method_with_0_params(readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(exception))) { ce 1542 Zend/zend_object_handlers.c ZSTR_VAL(ce->name), ZSTR_VAL(Z_OBJCE(ex)->name), Z_STRVAL_P(msg)); ce 1557 Zend/zend_object_handlers.c zend_error(E_RECOVERABLE_ERROR, "Method %s::__toString() must return a string value", ZSTR_VAL(ce->name)); ce 1566 Zend/zend_object_handlers.c ce = Z_OBJCE_P(readobj); ce 1567 Zend/zend_object_handlers.c zend_error(E_NOTICE, "Object of class %s could not be converted to int", ZSTR_VAL(ce->name)); ce 1574 Zend/zend_object_handlers.c ce = Z_OBJCE_P(readobj); ce 1575 Zend/zend_object_handlers.c zend_error(E_NOTICE, "Object of class %s could not be converted to float", ZSTR_VAL(ce->name)); ce 1592 Zend/zend_object_handlers.c zend_class_entry *ce; ce 1598 Zend/zend_object_handlers.c ce = Z_OBJCE_P(obj); ce 1600 Zend/zend_object_handlers.c if ((func = zend_hash_str_find(&ce->function_table, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1)) == NULL) { ce 1605 Zend/zend_object_handlers.c *ce_ptr = ce; ce 164 Zend/zend_object_handlers.h ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name_strval, const zval *key); ce 165 Zend/zend_object_handlers.h ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, zend_bool silent); ce 166 Zend/zend_object_handlers.h ZEND_API ZEND_COLD zend_bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_name); ce 168 Zend/zend_object_handlers.h ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zend_string *member, int silent); ce 175 Zend/zend_object_handlers.h ZEND_API int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, zend_string *function_name); ce 177 Zend/zend_object_handlers.h ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); ce 181 Zend/zend_object_handlers.h ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend_string *method_name, int is_static); ce 30 Zend/zend_objects.c ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce) ce 36 Zend/zend_objects.c object->ce = ce; ce 40 Zend/zend_objects.c if (EXPECTED(ce->default_properties_count != 0)) { ce 41 Zend/zend_objects.c end = p + ce->default_properties_count; ce 47 Zend/zend_objects.c if (UNEXPECTED(ce->ce_flags & ZEND_ACC_USE_GUARDS)) { ce 66 Zend/zend_objects.c if (EXPECTED(object->ce->default_properties_count)) { ce 67 Zend/zend_objects.c end = p + object->ce->default_properties_count; ce 84 Zend/zend_objects.c zend_function *destructor = object ? object->ce->destructor : NULL; ce 94 Zend/zend_objects.c if (object->ce != EG(scope)) { ce 95 Zend/zend_objects.c zend_class_entry *ce = object->ce; ce 100 Zend/zend_objects.c ZSTR_VAL(ce->name), ce 105 Zend/zend_objects.c ZSTR_VAL(ce->name), ce 114 Zend/zend_objects.c zend_class_entry *ce = object->ce; ce 119 Zend/zend_objects.c ZSTR_VAL(ce->name), ce 124 Zend/zend_objects.c ZSTR_VAL(ce->name), ce 148 Zend/zend_objects.c zend_call_method_with_0_params(&obj, object->ce, &destructor, ZEND_DESTRUCTOR_FUNC_NAME, NULL); ce 160 Zend/zend_objects.c ZEND_API zend_object *zend_objects_new(zend_class_entry *ce) ce 162 Zend/zend_objects.c zend_object *object = emalloc(sizeof(zend_object) + zend_object_properties_size(ce)); ce 164 Zend/zend_objects.c zend_object_std_init(object, ce); ce 171 Zend/zend_objects.c if (old_object->ce->default_properties_count) { ce 174 Zend/zend_objects.c zval *end = src + old_object->ce->default_properties_count; ce 183 Zend/zend_objects.c } else if (old_object->properties && !old_object->ce->clone) { ce 226 Zend/zend_objects.c if (old_object->ce->clone) { ce 231 Zend/zend_objects.c zend_call_method_with_0_params(&new_obj, old_object->ce, &old_object->ce->clone, ZEND_CLONE_FUNC_NAME, NULL); ce 244 Zend/zend_objects.c new_object = zend_objects_new(old_object->ce); ce 28 Zend/zend_objects.h ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce); ce 30 Zend/zend_objects.h ZEND_API zend_object *zend_objects_new(zend_class_entry *ce); ce 84 Zend/zend_objects_API.h static zend_always_inline size_t zend_object_properties_size(zend_class_entry *ce) ce 87 Zend/zend_objects_API.h (ce->default_properties_count - ce 88 Zend/zend_objects_API.h ((ce->ce_flags & ZEND_ACC_USE_GUARDS) ? 0 : 1)); ce 144 Zend/zend_opcode.c ZEND_API void zend_cleanup_user_class_data(zend_class_entry *ce) ce 149 Zend/zend_opcode.c if (ce->ce_flags & ZEND_HAS_STATIC_IN_METHODS) { ce 152 Zend/zend_opcode.c ZEND_HASH_FOREACH_PTR(&ce->function_table, func) { ce 158 Zend/zend_opcode.c if (ce->static_members_table) { ce 159 Zend/zend_opcode.c zval *static_members = ce->static_members_table; ce 161 Zend/zend_opcode.c zval *end = p + ce->default_static_members_count; ce 164 Zend/zend_opcode.c ce->default_static_members_count = 0; ce 165 Zend/zend_opcode.c ce->default_static_members_table = ce->static_members_table = NULL; ce 174 Zend/zend_opcode.c ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce) ce 176 Zend/zend_opcode.c if (CE_STATIC_MEMBERS(ce)) { ce 177 Zend/zend_opcode.c zval *static_members = CE_STATIC_MEMBERS(ce); ce 179 Zend/zend_opcode.c zval *end = p + ce->default_static_members_count; ce 182 Zend/zend_opcode.c CG(static_members_table)[(zend_intptr_t)(ce->static_members_table)] = NULL; ce 184 Zend/zend_opcode.c ce->static_members_table = NULL; ce 186 Zend/zend_opcode.c ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; ce 195 Zend/zend_opcode.c void _destroy_zend_class_traits_info(zend_class_entry *ce) ce 197 Zend/zend_opcode.c if (ce->num_traits > 0 && ce->traits) { ce 198 Zend/zend_opcode.c efree(ce->traits); ce 201 Zend/zend_opcode.c if (ce->trait_aliases) { ce 203 Zend/zend_opcode.c while (ce->trait_aliases[i]) { ce 204 Zend/zend_opcode.c if (ce->trait_aliases[i]->trait_method) { ce 205 Zend/zend_opcode.c if (ce->trait_aliases[i]->trait_method->method_name) { ce 206 Zend/zend_opcode.c zend_string_release(ce->trait_aliases[i]->trait_method->method_name); ce 208 Zend/zend_opcode.c if (ce->trait_aliases[i]->trait_method->class_name) { ce 209 Zend/zend_opcode.c zend_string_release(ce->trait_aliases[i]->trait_method->class_name); ce 211 Zend/zend_opcode.c efree(ce->trait_aliases[i]->trait_method); ce 214 Zend/zend_opcode.c if (ce->trait_aliases[i]->alias) { ce 215 Zend/zend_opcode.c zend_string_release(ce->trait_aliases[i]->alias); ce 218 Zend/zend_opcode.c efree(ce->trait_aliases[i]); ce 222 Zend/zend_opcode.c efree(ce->trait_aliases); ce 225 Zend/zend_opcode.c if (ce->trait_precedences) { ce 228 Zend/zend_opcode.c while (ce->trait_precedences[i]) { ce 229 Zend/zend_opcode.c zend_string_release(ce->trait_precedences[i]->trait_method->method_name); ce 230 Zend/zend_opcode.c zend_string_release(ce->trait_precedences[i]->trait_method->class_name); ce 231 Zend/zend_opcode.c efree(ce->trait_precedences[i]->trait_method); ce 233 Zend/zend_opcode.c if (ce->trait_precedences[i]->exclude_from_classes) { ce 235 Zend/zend_opcode.c zend_trait_precedence *cur_precedence = ce->trait_precedences[i]; ce 240 Zend/zend_opcode.c efree(ce->trait_precedences[i]->exclude_from_classes); ce 242 Zend/zend_opcode.c efree(ce->trait_precedences[i]); ce 245 Zend/zend_opcode.c efree(ce->trait_precedences); ce 252 Zend/zend_opcode.c zend_class_entry *ce = Z_PTR_P(zv); ce 254 Zend/zend_opcode.c if (--ce->refcount > 0) { ce 257 Zend/zend_opcode.c switch (ce->type) { ce 259 Zend/zend_opcode.c if (ce->default_properties_table) { ce 260 Zend/zend_opcode.c zval *p = ce->default_properties_table; ce 261 Zend/zend_opcode.c zval *end = p + ce->default_properties_count; ce 267 Zend/zend_opcode.c efree(ce->default_properties_table); ce 269 Zend/zend_opcode.c if (ce->default_static_members_table) { ce 270 Zend/zend_opcode.c zval *p = ce->default_static_members_table; ce 271 Zend/zend_opcode.c zval *end = p + ce->default_static_members_count; ce 277 Zend/zend_opcode.c efree(ce->default_static_members_table); ce 279 Zend/zend_opcode.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop_info) { ce 280 Zend/zend_opcode.c if (prop_info->ce == ce || (prop_info->flags & ZEND_ACC_SHADOW)) { ce 287 Zend/zend_opcode.c zend_hash_destroy(&ce->properties_info); ce 288 Zend/zend_opcode.c zend_string_release(ce->name); ce 289 Zend/zend_opcode.c zend_hash_destroy(&ce->function_table); ce 290 Zend/zend_opcode.c zend_hash_destroy(&ce->constants_table); ce 291 Zend/zend_opcode.c if (ce->num_interfaces > 0 && ce->interfaces) { ce 292 Zend/zend_opcode.c efree(ce->interfaces); ce 294 Zend/zend_opcode.c if (ce->info.user.doc_comment) { ce 295 Zend/zend_opcode.c zend_string_release(ce->info.user.doc_comment); ce 298 Zend/zend_opcode.c _destroy_zend_class_traits_info(ce); ce 302 Zend/zend_opcode.c if (ce->default_properties_table) { ce 303 Zend/zend_opcode.c zval *p = ce->default_properties_table; ce 304 Zend/zend_opcode.c zval *end = p + ce->default_properties_count; ce 310 Zend/zend_opcode.c free(ce->default_properties_table); ce 312 Zend/zend_opcode.c if (ce->default_static_members_table) { ce 313 Zend/zend_opcode.c zval *p = ce->default_static_members_table; ce 314 Zend/zend_opcode.c zval *end = p + ce->default_static_members_count; ce 320 Zend/zend_opcode.c free(ce->default_static_members_table); ce 322 Zend/zend_opcode.c zend_hash_destroy(&ce->properties_info); ce 323 Zend/zend_opcode.c zend_string_release(ce->name); ce 324 Zend/zend_opcode.c zend_hash_destroy(&ce->function_table); ce 325 Zend/zend_opcode.c zend_hash_destroy(&ce->constants_table); ce 326 Zend/zend_opcode.c if (ce->num_interfaces > 0) { ce 327 Zend/zend_opcode.c free(ce->interfaces); ce 329 Zend/zend_opcode.c free(ce); ce 336 Zend/zend_opcode.c zend_class_entry *ce = Z_PTR_P(zv); ce 338 Zend/zend_opcode.c ce->refcount++; ce 2073 Zend/zend_operators.c static zend_bool ZEND_FASTCALL instanceof_interface_only(const zend_class_entry *instance_ce, const zend_class_entry *ce) /* {{{ */ ce 2078 Zend/zend_operators.c if (instanceof_interface_only(instance_ce->interfaces[i], ce)) { ce 2086 Zend/zend_operators.c static zend_always_inline zend_bool instanceof_class(const zend_class_entry *instance_ce, const zend_class_entry *ce) /* {{{ */ ce 2089 Zend/zend_operators.c if (instance_ce == ce) { ce 2098 Zend/zend_operators.c static zend_bool ZEND_FASTCALL instanceof_interface(const zend_class_entry *instance_ce, const zend_class_entry *ce) /* {{{ */ ce 2103 Zend/zend_operators.c if (instanceof_interface(instance_ce->interfaces[i], ce)) { ce 2107 Zend/zend_operators.c return instanceof_class(instance_ce, ce); ce 2111 Zend/zend_operators.c ZEND_API zend_bool ZEND_FASTCALL instanceof_function_ex(const zend_class_entry *instance_ce, const zend_class_entry *ce, zend_bool interfaces_only) /* {{{ */ ce 2113 Zend/zend_operators.c if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 2115 Zend/zend_operators.c if (instanceof_interface_only(instance_ce, ce)) { ce 2119 Zend/zend_operators.c return instanceof_interface(instance_ce, ce); ce 2123 Zend/zend_operators.c return instanceof_class(instance_ce, ce); ce 2129 Zend/zend_operators.c ZEND_API zend_bool ZEND_FASTCALL instanceof_function(const zend_class_entry *instance_ce, const zend_class_entry *ce) /* {{{ */ ce 2131 Zend/zend_operators.c if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 2132 Zend/zend_operators.c return instanceof_interface(instance_ce, ce); ce 2134 Zend/zend_operators.c return instanceof_class(instance_ce, ce); ce 2387 Zend/zend_operators.c zend_error(E_RECOVERABLE_ERROR, "Object of class %s could not be converted to boolean", ZSTR_VAL(Z_OBJ_P(op)->ce->name)); ce 73 Zend/zend_operators.h ZEND_API zend_bool ZEND_FASTCALL instanceof_function_ex(const zend_class_entry *instance_ce, const zend_class_entry *ce, zend_bool interfaces_only); ce 74 Zend/zend_operators.h ZEND_API zend_bool ZEND_FASTCALL instanceof_function(const zend_class_entry *instance_ce, const zend_class_entry *ce); ce 113 Zend/zend_types.h zend_class_entry *ce; ce 278 Zend/zend_types.h zend_class_entry *ce; ce 542 Zend/zend_types.h #define Z_OBJCE(zval) (Z_OBJ(zval)->ce) ce 578 Zend/zend_types.h #define Z_CE(zval) (zval).value.ce ce 1498 Zend/zend_vm_def.h zend_class_entry *ce; ce 1501 Zend/zend_vm_def.h if (OP1_TYPE == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 1505 Zend/zend_vm_def.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 1506 Zend/zend_vm_def.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 1512 Zend/zend_vm_def.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 1513 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 1514 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 1521 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 1524 Zend/zend_vm_def.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 1526 Zend/zend_vm_def.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 1529 Zend/zend_vm_def.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 1530 Zend/zend_vm_def.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 1538 Zend/zend_vm_def.h retval = zend_std_get_static_property(ce, name, 0); ce 1547 Zend/zend_vm_def.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 1833 Zend/zend_vm_def.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 1967 Zend/zend_vm_def.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 2863 Zend/zend_vm_def.h zend_class_entry *ce = CACHED_PTR(Z_CACHE_SLOT_P(class_name)); ce 2865 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 2866 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(class_name), EX_CONSTANT(opline->op2) + 1, opline->extended_value); ce 2867 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(class_name), ce); ce 2869 Zend/zend_vm_def.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 2962 Zend/zend_vm_def.h called_scope = obj->ce; ce 2979 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 3017 Zend/zend_vm_def.h zend_class_entry *ce; ce 3026 Zend/zend_vm_def.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 3027 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 3028 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 3029 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 3036 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 3039 Zend/zend_vm_def.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 3048 Zend/zend_vm_def.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 3075 Zend/zend_vm_def.h if (ce->get_static_method) { ce 3076 Zend/zend_vm_def.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 3078 Zend/zend_vm_def.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), ((OP2_TYPE == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 3082 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 3093 Zend/zend_vm_def.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 3100 Zend/zend_vm_def.h if (UNEXPECTED(ce->constructor == NULL)) { ce 3104 Zend/zend_vm_def.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 3105 Zend/zend_vm_def.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 3108 Zend/zend_vm_def.h fbc = ce->constructor; ce 3113 Zend/zend_vm_def.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 3115 Zend/zend_vm_def.h ce = object->ce; ce 3142 Zend/zend_vm_def.h ce = EX(called_scope); ce 3147 Zend/zend_vm_def.h fbc, opline->extended_value, ce, object); ce 3358 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(object->ce->name), Z_STRVAL_P(method)); ce 4142 Zend/zend_vm_def.h zend_class_entry *ce, *catch_ce; ce 4158 Zend/zend_vm_def.h ce = EG(exception)->ce; ce 4162 Zend/zend_vm_def.h DTRACE_EXCEPTION_CAUGHT((char *)ce->name); ce 4166 Zend/zend_vm_def.h if (ce != catch_ce) { ce 4167 Zend/zend_vm_def.h if (!catch_ce || !instanceof_function(ce, catch_ce)) { ce 4460 Zend/zend_vm_def.h zend_class_entry *ce = Z_OBJCE_P(args); ce 4463 Zend/zend_vm_def.h if (!ce || !ce->get_iterator) { ce 4467 Zend/zend_vm_def.h iter = ce->get_iterator(ce, args, 0); ce 4472 Zend/zend_vm_def.h NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name) ce 4918 Zend/zend_vm_def.h zend_class_entry *ce; ce 4922 Zend/zend_vm_def.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 4923 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 4924 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 4925 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 4928 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 4931 Zend/zend_vm_def.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 4933 Zend/zend_vm_def.h if (UNEXPECTED(object_init_ex(&object_zval, ce) != SUCCESS)) { ce 4952 Zend/zend_vm_def.h ce, ce 4970 Zend/zend_vm_def.h zend_class_entry *ce; ce 5003 Zend/zend_vm_def.h ce = Z_OBJCE_P(obj); ce 5004 Zend/zend_vm_def.h clone = ce ? ce->clone : NULL; ce 5007 Zend/zend_vm_def.h if (ce) { ce 5008 Zend/zend_vm_def.h zend_throw_error(NULL, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name)); ce 5016 Zend/zend_vm_def.h if (ce && clone) { ce 5020 Zend/zend_vm_def.h if (UNEXPECTED(ce != EG(scope))) { ce 5021 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 5029 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 5088 Zend/zend_vm_def.h zend_class_entry *ce; ce 5097 Zend/zend_vm_def.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 5101 Zend/zend_vm_def.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 5103 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 5104 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 5110 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 5113 Zend/zend_vm_def.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 5114 Zend/zend_vm_def.h if ((value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce)) != NULL) { ce 5120 Zend/zend_vm_def.h if (EXPECTED((value = zend_hash_find(&ce->constants_table, Z_STR_P(EX_CONSTANT(opline->op2)))) != NULL)) { ce 5123 Zend/zend_vm_def.h EG(scope) = ce; ce 5133 Zend/zend_vm_def.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce, value); ce 5141 Zend/zend_vm_def.h if (ce->type == ZEND_INTERNAL_CLASS) { ce 5561 Zend/zend_vm_def.h zend_class_entry *ce; ce 5564 Zend/zend_vm_def.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 5565 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 5566 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 5567 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 5577 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 5580 Zend/zend_vm_def.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 5582 Zend/zend_vm_def.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 5792 Zend/zend_vm_def.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 5793 Zend/zend_vm_def.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0); ce 5799 Zend/zend_vm_def.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 5937 Zend/zend_vm_def.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 5938 Zend/zend_vm_def.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1); ce 5948 Zend/zend_vm_def.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 6424 Zend/zend_vm_def.h zend_class_entry *ce; ce 6427 Zend/zend_vm_def.h if (OP1_TYPE == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 6431 Zend/zend_vm_def.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 6436 Zend/zend_vm_def.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 6437 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 6438 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 6441 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 6444 Zend/zend_vm_def.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 6446 Zend/zend_vm_def.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 6449 Zend/zend_vm_def.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 6457 Zend/zend_vm_def.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 6460 Zend/zend_vm_def.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 6925 Zend/zend_vm_def.h zend_class_entry *ce; ce 6929 Zend/zend_vm_def.h ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2))); ce 6930 Zend/zend_vm_def.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 6931 Zend/zend_vm_def.h ZEND_ASSERT(ce != NULL); ce 6933 Zend/zend_vm_def.h if (ce->ce_flags & ZEND_ACC_ANON_BOUND) { ce 6937 Zend/zend_vm_def.h if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLEMENT_INTERFACES|ZEND_ACC_IMPLEMENT_TRAITS))) { ce 6938 Zend/zend_vm_def.h zend_verify_abstract_class(ce); ce 6940 Zend/zend_vm_def.h ce->ce_flags |= ZEND_ACC_ANON_BOUND; ce 6946 Zend/zend_vm_def.h zend_class_entry *ce; ce 6950 Zend/zend_vm_def.h ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2))); ce 6951 Zend/zend_vm_def.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 6952 Zend/zend_vm_def.h ZEND_ASSERT(ce != NULL); ce 6954 Zend/zend_vm_def.h if (ce->ce_flags & ZEND_ACC_ANON_BOUND) { ce 6958 Zend/zend_vm_def.h zend_do_inheritance(ce, Z_CE_P(EX_VAR(opline->extended_value))); ce 6959 Zend/zend_vm_def.h ce->ce_flags |= ZEND_ACC_ANON_BOUND; ce 6999 Zend/zend_vm_def.h zend_class_entry *ce; ce 7002 Zend/zend_vm_def.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 7003 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 7004 Zend/zend_vm_def.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD); ce 7005 Zend/zend_vm_def.h if (UNEXPECTED(ce == NULL)) { ce 7010 Zend/zend_vm_def.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 7013 Zend/zend_vm_def.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 7015 Zend/zend_vm_def.h result = ce && instanceof_function(Z_OBJCE_P(expr), ce); ce 7048 Zend/zend_vm_def.h zend_class_entry *ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 7062 Zend/zend_vm_def.h zend_error_noreturn(E_ERROR, "%s cannot implement %s - it is not an interface", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); ce 7064 Zend/zend_vm_def.h zend_do_implement_interface(ce, iface); ce 7072 Zend/zend_vm_def.h zend_class_entry *ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 7085 Zend/zend_vm_def.h zend_error_noreturn(E_ERROR, "%s cannot use %s - it is not a trait", ZSTR_VAL(ce->name), ZSTR_VAL(trait->name)); ce 7090 Zend/zend_vm_def.h zend_do_implement_trait(ce, trait); ce 7098 Zend/zend_vm_def.h zend_class_entry *ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 7101 Zend/zend_vm_def.h zend_do_bind_traits(ce); ce 7463 Zend/zend_vm_def.h zend_class_entry *ce = Z_OBJCE_P(val); ce 7464 Zend/zend_vm_def.h if (ce == zend_ce_generator) { ce 7489 Zend/zend_vm_def.h zend_object_iterator *iter = ce->get_iterator(ce, val, 0); ce 7494 Zend/zend_vm_def.h zend_throw_error(NULL, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 7753 Zend/zend_vm_def.h zend_class_entry *ce = Z_OBJCE_P(value); ce 7755 Zend/zend_vm_def.h if (UNEXPECTED(ZSTR_LEN(ce->name) != sizeof("__PHP_Incomplete_Class") - 1) || ce 7756 Zend/zend_vm_def.h EXPECTED(memcmp(ZSTR_VAL(ce->name), "__PHP_Incomplete_Class", sizeof("__PHP_Incomplete_Class") - 1) != 0)) { ce 1001 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(args); ce 1004 Zend/zend_vm_execute.h if (!ce || !ce->get_iterator) { ce 1008 Zend/zend_vm_execute.h iter = ce->get_iterator(ce, args, 0); ce 1013 Zend/zend_vm_execute.h NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name) ce 1364 Zend/zend_vm_execute.h zend_class_entry *ce; ce 1368 Zend/zend_vm_execute.h ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2))); ce 1369 Zend/zend_vm_execute.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 1370 Zend/zend_vm_execute.h ZEND_ASSERT(ce != NULL); ce 1372 Zend/zend_vm_execute.h if (ce->ce_flags & ZEND_ACC_ANON_BOUND) { ce 1376 Zend/zend_vm_execute.h if (!(ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLEMENT_INTERFACES|ZEND_ACC_IMPLEMENT_TRAITS))) { ce 1377 Zend/zend_vm_execute.h zend_verify_abstract_class(ce); ce 1379 Zend/zend_vm_execute.h ce->ce_flags |= ZEND_ACC_ANON_BOUND; ce 1385 Zend/zend_vm_execute.h zend_class_entry *ce; ce 1389 Zend/zend_vm_execute.h ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2))); ce 1390 Zend/zend_vm_execute.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 1391 Zend/zend_vm_execute.h ZEND_ASSERT(ce != NULL); ce 1393 Zend/zend_vm_execute.h if (ce->ce_flags & ZEND_ACC_ANON_BOUND) { ce 1397 Zend/zend_vm_execute.h zend_do_inheritance(ce, Z_CE_P(EX_VAR(opline->extended_value))); ce 1398 Zend/zend_vm_execute.h ce->ce_flags |= ZEND_ACC_ANON_BOUND; ce 1443 Zend/zend_vm_execute.h zend_class_entry *ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 1456 Zend/zend_vm_execute.h zend_error_noreturn(E_ERROR, "%s cannot use %s - it is not a trait", ZSTR_VAL(ce->name), ZSTR_VAL(trait->name)); ce 1461 Zend/zend_vm_execute.h zend_do_implement_trait(ce, trait); ce 1469 Zend/zend_vm_execute.h zend_class_entry *ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 1472 Zend/zend_vm_execute.h zend_do_bind_traits(ce); ce 1872 Zend/zend_vm_execute.h zend_class_entry *ce = CACHED_PTR(Z_CACHE_SLOT_P(class_name)); ce 1874 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 1875 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(class_name), EX_CONSTANT(opline->op2) + 1, opline->extended_value); ce 1876 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(class_name), ce); ce 1878 Zend/zend_vm_execute.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 2104 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(object->ce->name), Z_STRVAL_P(method)); ce 2245 Zend/zend_vm_execute.h zend_class_entry *ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 2259 Zend/zend_vm_execute.h zend_error_noreturn(E_ERROR, "%s cannot implement %s - it is not an interface", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name)); ce 2261 Zend/zend_vm_execute.h zend_do_implement_interface(ce, iface); ce 2280 Zend/zend_vm_execute.h zend_class_entry *ce = CACHED_PTR(Z_CACHE_SLOT_P(class_name)); ce 2282 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 2283 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(class_name), EX_CONSTANT(opline->op2) + 1, opline->extended_value); ce 2284 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(class_name), ce); ce 2286 Zend/zend_vm_execute.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 2322 Zend/zend_vm_execute.h zend_class_entry *ce = CACHED_PTR(Z_CACHE_SLOT_P(class_name)); ce 2324 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 2325 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(class_name), EX_CONSTANT(opline->op2) + 1, opline->extended_value); ce 2326 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(class_name), ce); ce 2328 Zend/zend_vm_execute.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 2527 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(object->ce->name), Z_STRVAL_P(method)); ce 2577 Zend/zend_vm_execute.h zend_class_entry *ce = CACHED_PTR(Z_CACHE_SLOT_P(class_name)); ce 2579 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 2580 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(class_name), EX_CONSTANT(opline->op2) + 1, opline->extended_value); ce 2581 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(class_name), ce); ce 2583 Zend/zend_vm_execute.h Z_CE_P(EX_VAR(opline->result.var)) = ce; ce 2783 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(object->ce->name), Z_STRVAL_P(method)); ce 3348 Zend/zend_vm_execute.h zend_class_entry *ce; ce 3352 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 3353 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 3354 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 3355 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 3358 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 3361 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 3363 Zend/zend_vm_execute.h if (UNEXPECTED(object_init_ex(&object_zval, ce) != SUCCESS)) { ce 3382 Zend/zend_vm_execute.h ce, ce 3400 Zend/zend_vm_execute.h zend_class_entry *ce; ce 3433 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); ce 3434 Zend/zend_vm_execute.h clone = ce ? ce->clone : NULL; ce 3437 Zend/zend_vm_execute.h if (ce) { ce 3438 Zend/zend_vm_execute.h zend_throw_error(NULL, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name)); ce 3446 Zend/zend_vm_execute.h if (ce && clone) { ce 3450 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { ce 3451 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 3459 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 3757 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 3758 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0); ce 3764 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 3899 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 3900 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1); ce 3910 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 4130 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(val); ce 4131 Zend/zend_vm_execute.h if (ce == zend_ce_generator) { ce 4155 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, val, 0); ce 4159 Zend/zend_vm_execute.h zend_throw_error(NULL, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 4254 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(value); ce 4256 Zend/zend_vm_execute.h if (UNEXPECTED(ZSTR_LEN(ce->name) != sizeof("__PHP_Incomplete_Class") - 1) || ce 4257 Zend/zend_vm_execute.h EXPECTED(memcmp(ZSTR_VAL(ce->name), "__PHP_Incomplete_Class", sizeof("__PHP_Incomplete_Class") - 1) != 0)) { ce 4961 Zend/zend_vm_execute.h zend_class_entry *ce; ce 4964 Zend/zend_vm_execute.h if (IS_CONST == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 4968 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 4969 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 4975 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 4976 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 4977 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 4984 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 4987 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 4989 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 4992 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 4993 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 5001 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 5010 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 5228 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 5300 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 5558 Zend/zend_vm_execute.h called_scope = obj->ce; ce 5575 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 5611 Zend/zend_vm_execute.h zend_class_entry *ce; ce 5620 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 5621 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 5622 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 5623 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 5630 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 5633 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 5642 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 5669 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 5670 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 5672 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), ((IS_CONST == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 5676 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 5687 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 5694 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 5698 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 5699 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 5702 Zend/zend_vm_execute.h fbc = ce->constructor; ce 5707 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 5709 Zend/zend_vm_execute.h ce = object->ce; ce 5736 Zend/zend_vm_execute.h ce = EX(called_scope); ce 5741 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 5922 Zend/zend_vm_execute.h zend_class_entry *ce; ce 5931 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 5935 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 5937 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 5938 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 5944 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 5947 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 5948 Zend/zend_vm_execute.h if ((value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce)) != NULL) { ce 5954 Zend/zend_vm_execute.h if (EXPECTED((value = zend_hash_find(&ce->constants_table, Z_STR_P(EX_CONSTANT(opline->op2)))) != NULL)) { ce 5957 Zend/zend_vm_execute.h EG(scope) = ce; ce 5967 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce, value); ce 5975 Zend/zend_vm_execute.h if (ce->type == ZEND_INTERNAL_CLASS) { ce 6164 Zend/zend_vm_execute.h zend_class_entry *ce; ce 6167 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 6168 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 6169 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 6170 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 6180 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 6183 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 6185 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 6236 Zend/zend_vm_execute.h zend_class_entry *ce; ce 6239 Zend/zend_vm_execute.h if (IS_CONST == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 6243 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 6248 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 6249 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 6250 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 6253 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 6256 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 6258 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 6261 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 6269 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 6272 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 6895 Zend/zend_vm_execute.h zend_class_entry *ce; ce 6898 Zend/zend_vm_execute.h if (IS_CONST == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 6902 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 6903 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 6909 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 6910 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 6911 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 6918 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 6921 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 6923 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 6926 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 6927 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 6935 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 6944 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 7102 Zend/zend_vm_execute.h zend_class_entry *ce; ce 7105 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 7106 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7107 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 7108 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7118 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 7121 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 7123 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 7174 Zend/zend_vm_execute.h zend_class_entry *ce; ce 7177 Zend/zend_vm_execute.h if (IS_CONST == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 7181 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 7186 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 7187 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 7188 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7191 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 7194 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 7196 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 7199 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 7207 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 7210 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 7401 Zend/zend_vm_execute.h zend_class_entry *ce; ce 7404 Zend/zend_vm_execute.h if (IS_CONST == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 7408 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 7409 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 7415 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 7416 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 7417 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7424 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 7427 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 7429 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 7432 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 7433 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 7441 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 7450 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 7607 Zend/zend_vm_execute.h zend_class_entry *ce; ce 7616 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 7617 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7618 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 7619 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7626 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 7629 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 7638 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 7665 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 7666 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 7668 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), ((IS_UNUSED == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 7672 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 7683 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 7690 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 7694 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 7695 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 7698 Zend/zend_vm_execute.h fbc = ce->constructor; ce 7703 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 7705 Zend/zend_vm_execute.h ce = object->ce; ce 7732 Zend/zend_vm_execute.h ce = EX(called_scope); ce 7737 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 7978 Zend/zend_vm_execute.h zend_class_entry *ce; ce 7981 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 7982 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7983 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 7984 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 7994 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 7997 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 7999 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 8050 Zend/zend_vm_execute.h zend_class_entry *ce; ce 8053 Zend/zend_vm_execute.h if (IS_CONST == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 8057 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 8062 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 8063 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 8064 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 8067 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 8070 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 8072 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 8075 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 8083 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 8086 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 9018 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 9090 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 9304 Zend/zend_vm_execute.h called_scope = obj->ce; ce 9321 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 9357 Zend/zend_vm_execute.h zend_class_entry *ce; ce 9366 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 9367 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 9368 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 9369 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 9376 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 9379 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 9388 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 9415 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 9416 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 9418 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), ((IS_CV == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 9422 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 9433 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 9440 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 9444 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 9445 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 9448 Zend/zend_vm_execute.h fbc = ce->constructor; ce 9453 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 9455 Zend/zend_vm_execute.h ce = object->ce; ce 9482 Zend/zend_vm_execute.h ce = EX(called_scope); ce 9487 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 9555 Zend/zend_vm_execute.h zend_class_entry *ce, *catch_ce; ce 9571 Zend/zend_vm_execute.h ce = EG(exception)->ce; ce 9575 Zend/zend_vm_execute.h DTRACE_EXCEPTION_CAUGHT((char *)ce->name); ce 9579 Zend/zend_vm_execute.h if (ce != catch_ce) { ce 9580 Zend/zend_vm_execute.h if (!catch_ce || !instanceof_function(ce, catch_ce)) { ce 10838 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 10911 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 11126 Zend/zend_vm_execute.h called_scope = obj->ce; ce 11143 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 11180 Zend/zend_vm_execute.h zend_class_entry *ce; ce 11189 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 11190 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 11191 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 11192 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 11199 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 11202 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 11211 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 11238 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 11239 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 11241 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), (((IS_TMP_VAR|IS_VAR) == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 11245 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 11256 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 11263 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 11267 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 11268 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 11271 Zend/zend_vm_execute.h fbc = ce->constructor; ce 11276 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 11278 Zend/zend_vm_execute.h ce = object->ce; ce 11305 Zend/zend_vm_execute.h ce = EX(called_scope); ce 11310 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 12161 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 12162 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0); ce 12168 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 12304 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 12305 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1); ce 12315 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 12518 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(val); ce 12519 Zend/zend_vm_execute.h if (ce == zend_ce_generator) { ce 12543 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, val, 0); ce 12548 Zend/zend_vm_execute.h zend_throw_error(NULL, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 12600 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(value); ce 12602 Zend/zend_vm_execute.h if (UNEXPECTED(ZSTR_LEN(ce->name) != sizeof("__PHP_Incomplete_Class") - 1) || ce 12603 Zend/zend_vm_execute.h EXPECTED(memcmp(ZSTR_VAL(ce->name), "__PHP_Incomplete_Class", sizeof("__PHP_Incomplete_Class") - 1) != 0)) { ce 12740 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 14013 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 14526 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 15407 Zend/zend_vm_execute.h zend_class_entry *ce; ce 15411 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 15412 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 15413 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 15414 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 15417 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 15420 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 15422 Zend/zend_vm_execute.h if (UNEXPECTED(object_init_ex(&object_zval, ce) != SUCCESS)) { ce 15441 Zend/zend_vm_execute.h ce, ce 15610 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 15611 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0); ce 15617 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 15755 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 15756 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1); ce 15766 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 16338 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(val); ce 16339 Zend/zend_vm_execute.h if (ce == zend_ce_generator) { ce 16364 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, val, 0); ce 16369 Zend/zend_vm_execute.h zend_throw_error(NULL, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 16421 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(value); ce 16423 Zend/zend_vm_execute.h if (UNEXPECTED(ZSTR_LEN(ce->name) != sizeof("__PHP_Incomplete_Class") - 1) || ce 16424 Zend/zend_vm_execute.h EXPECTED(memcmp(ZSTR_VAL(ce->name), "__PHP_Incomplete_Class", sizeof("__PHP_Incomplete_Class") - 1) != 0)) { ce 17195 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 17532 Zend/zend_vm_execute.h zend_class_entry *ce; ce 17541 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 17542 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 17543 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 17544 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 17551 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 17554 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 17563 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 17590 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 17591 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 17593 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), ((IS_CONST == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 17597 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 17608 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 17615 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 17619 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 17620 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 17623 Zend/zend_vm_execute.h fbc = ce->constructor; ce 17628 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 17630 Zend/zend_vm_execute.h ce = object->ce; ce 17657 Zend/zend_vm_execute.h ce = EX(called_scope); ce 17662 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 17711 Zend/zend_vm_execute.h zend_class_entry *ce; ce 17720 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 17724 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 17726 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 17727 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 17733 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 17736 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 17737 Zend/zend_vm_execute.h if ((value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce)) != NULL) { ce 17743 Zend/zend_vm_execute.h if (EXPECTED((value = zend_hash_find(&ce->constants_table, Z_STR_P(EX_CONSTANT(opline->op2)))) != NULL)) { ce 17746 Zend/zend_vm_execute.h EG(scope) = ce; ce 17756 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce, value); ce 17764 Zend/zend_vm_execute.h if (ce->type == ZEND_INTERNAL_CLASS) { ce 19167 Zend/zend_vm_execute.h zend_class_entry *ce; ce 19176 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 19177 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 19178 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 19179 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 19186 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 19189 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 19198 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 19225 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 19226 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 19228 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), ((IS_UNUSED == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 19232 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 19243 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 19250 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 19254 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 19255 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 19258 Zend/zend_vm_execute.h fbc = ce->constructor; ce 19263 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 19265 Zend/zend_vm_execute.h ce = object->ce; ce 19292 Zend/zend_vm_execute.h ce = EX(called_scope); ce 19297 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 20399 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 20795 Zend/zend_vm_execute.h zend_class_entry *ce; ce 20804 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 20805 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 20806 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 20807 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 20814 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 20817 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 20826 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 20853 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 20854 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 20856 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), ((IS_CV == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 20860 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 20871 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 20878 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 20882 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 20883 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 20886 Zend/zend_vm_execute.h fbc = ce->constructor; ce 20891 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 20893 Zend/zend_vm_execute.h ce = object->ce; ce 20920 Zend/zend_vm_execute.h ce = EX(called_scope); ce 20925 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 22062 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 22372 Zend/zend_vm_execute.h zend_class_entry *ce; ce 22381 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 22382 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 22383 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 22384 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 22391 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 22394 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 22403 Zend/zend_vm_execute.h (fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce))) { ce 22430 Zend/zend_vm_execute.h if (ce->get_static_method) { ce 22431 Zend/zend_vm_execute.h fbc = ce->get_static_method(ce, Z_STR_P(function_name)); ce 22433 Zend/zend_vm_execute.h fbc = zend_std_get_static_method(ce, Z_STR_P(function_name), (((IS_TMP_VAR|IS_VAR) == IS_CONST) ? (EX_CONSTANT(opline->op2) + 1) : NULL)); ce 22437 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(ce->name), Z_STRVAL_P(function_name)); ce 22448 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), ce, fbc); ce 22455 Zend/zend_vm_execute.h if (UNEXPECTED(ce->constructor == NULL)) { ce 22459 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { ce 22460 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call private %s::__construct()", ZSTR_VAL(ce->name)); ce 22463 Zend/zend_vm_execute.h fbc = ce->constructor; ce 22468 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && instanceof_function(Z_OBJCE(EX(This)), ce)) { ce 22470 Zend/zend_vm_execute.h ce = object->ce; ce 22497 Zend/zend_vm_execute.h ce = EX(called_scope); ce 22502 Zend/zend_vm_execute.h fbc, opline->extended_value, ce, object); ce 22787 Zend/zend_vm_execute.h zend_class_entry *ce; ce 22820 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); ce 22821 Zend/zend_vm_execute.h clone = ce ? ce->clone : NULL; ce 22824 Zend/zend_vm_execute.h if (ce) { ce 22825 Zend/zend_vm_execute.h zend_throw_error(NULL, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name)); ce 22833 Zend/zend_vm_execute.h if (ce && clone) { ce 22837 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { ce 22838 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 22846 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 23460 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 23593 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 23834 Zend/zend_vm_execute.h called_scope = obj->ce; ce 23851 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 23925 Zend/zend_vm_execute.h zend_class_entry *ce; ce 23934 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 23938 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1))); ce 23940 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op1)), EX_CONSTANT(opline->op1) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 23941 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 23947 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce); ce 23950 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op1.var)); ce 23951 Zend/zend_vm_execute.h if ((value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce)) != NULL) { ce 23957 Zend/zend_vm_execute.h if (EXPECTED((value = zend_hash_find(&ce->constants_table, Z_STR_P(EX_CONSTANT(opline->op2)))) != NULL)) { ce 23960 Zend/zend_vm_execute.h EG(scope) = ce; ce 23970 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce, value); ce 23978 Zend/zend_vm_execute.h if (ce->type == ZEND_INTERNAL_CLASS) { ce 25875 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 26008 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 26249 Zend/zend_vm_execute.h called_scope = obj->ce; ce 26266 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 27365 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 27499 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 27741 Zend/zend_vm_execute.h called_scope = obj->ce; ce 27758 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 28971 Zend/zend_vm_execute.h zend_class_entry *ce; ce 29004 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); ce 29005 Zend/zend_vm_execute.h clone = ce ? ce->clone : NULL; ce 29008 Zend/zend_vm_execute.h if (ce) { ce 29009 Zend/zend_vm_execute.h zend_throw_error(NULL, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name)); ce 29017 Zend/zend_vm_execute.h if (ce && clone) { ce 29021 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { ce 29022 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 29030 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 29328 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 29329 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0); ce 29335 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 29470 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(array_ptr); ce 29471 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1); ce 29481 Zend/zend_vm_execute.h zend_throw_exception_ex(NULL, 0, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 29701 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(val); ce 29702 Zend/zend_vm_execute.h if (ce == zend_ce_generator) { ce 29726 Zend/zend_vm_execute.h zend_object_iterator *iter = ce->get_iterator(ce, val, 0); ce 29730 Zend/zend_vm_execute.h zend_throw_error(NULL, "Object of type %s did not create an Iterator", ZSTR_VAL(ce->name)); ce 29825 Zend/zend_vm_execute.h zend_class_entry *ce = Z_OBJCE_P(value); ce 29827 Zend/zend_vm_execute.h if (UNEXPECTED(ZSTR_LEN(ce->name) != sizeof("__PHP_Incomplete_Class") - 1) || ce 29828 Zend/zend_vm_execute.h EXPECTED(memcmp(ZSTR_VAL(ce->name), "__PHP_Incomplete_Class", sizeof("__PHP_Incomplete_Class") - 1) != 0)) { ce 31079 Zend/zend_vm_execute.h zend_class_entry *ce; ce 31082 Zend/zend_vm_execute.h if (IS_CV == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 31086 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 31087 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 31093 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 31094 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 31095 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 31102 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 31105 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 31107 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 31110 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 31111 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 31119 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 31128 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 31413 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 31546 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 31999 Zend/zend_vm_execute.h called_scope = obj->ce; ce 32016 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 32299 Zend/zend_vm_execute.h zend_class_entry *ce; ce 32302 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 32303 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 32304 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 32305 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 32315 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 32318 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 32320 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 32512 Zend/zend_vm_execute.h zend_class_entry *ce; ce 32515 Zend/zend_vm_execute.h if (IS_CV == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 32519 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 32524 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 32525 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 32526 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 32529 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 32532 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 32534 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 32537 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 32545 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 32548 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 32768 Zend/zend_vm_execute.h zend_class_entry *ce; ce 32771 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 32772 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 32773 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD); ce 32774 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 32779 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 32782 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 32784 Zend/zend_vm_execute.h result = ce && instanceof_function(Z_OBJCE_P(expr), ce); ce 33298 Zend/zend_vm_execute.h zend_class_entry *ce; ce 33301 Zend/zend_vm_execute.h if (IS_CV == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 33305 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 33306 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 33312 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 33313 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 33314 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 33321 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 33324 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 33326 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 33329 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 33330 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 33338 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 33347 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 33592 Zend/zend_vm_execute.h zend_class_entry *ce; ce 33595 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 33596 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 33597 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 33598 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 33608 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 33611 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 33613 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 33664 Zend/zend_vm_execute.h zend_class_entry *ce; ce 33667 Zend/zend_vm_execute.h if (IS_CV == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 33671 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 33676 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 33677 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 33678 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 33681 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 33684 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 33686 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 33689 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 33697 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 33700 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 33737 Zend/zend_vm_execute.h zend_class_entry *ce; ce 33740 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 33741 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 33742 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD); ce 33743 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 33748 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 33751 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 33753 Zend/zend_vm_execute.h result = ce && instanceof_function(Z_OBJCE_P(expr), ce); ce 34245 Zend/zend_vm_execute.h zend_class_entry *ce; ce 34248 Zend/zend_vm_execute.h if (IS_CV == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 34252 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 34253 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 34259 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 34260 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 34261 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 34268 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 34271 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 34273 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 34276 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 34277 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 34285 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 34294 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 34831 Zend/zend_vm_execute.h zend_class_entry *ce; ce 34834 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 34835 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 34836 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 34837 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 34847 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 34850 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 34852 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 34903 Zend/zend_vm_execute.h zend_class_entry *ce; ce 34906 Zend/zend_vm_execute.h if (IS_CV == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 34910 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 34915 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 34916 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 34917 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 34920 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 34923 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 34925 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 34928 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 34936 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 34939 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 36483 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 36616 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 37083 Zend/zend_vm_execute.h called_scope = obj->ce; ce 37100 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 39147 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 39281 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 39663 Zend/zend_vm_execute.h called_scope = obj->ce; ce 39680 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 40553 Zend/zend_vm_execute.h zend_class_entry *ce; ce 40586 Zend/zend_vm_execute.h ce = Z_OBJCE_P(obj); ce 40587 Zend/zend_vm_execute.h clone = ce ? ce->clone : NULL; ce 40590 Zend/zend_vm_execute.h if (ce) { ce 40591 Zend/zend_vm_execute.h zend_throw_error(NULL, "Trying to clone an uncloneable object of class %s", ZSTR_VAL(ce->name)); ce 40599 Zend/zend_vm_execute.h if (ce && clone) { ce 40603 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { ce 40604 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 40612 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); ce 41456 Zend/zend_vm_execute.h zend_class_entry *ce; ce 41459 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 41463 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 41464 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 41470 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 41471 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 41472 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 41479 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 41482 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 41484 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 41487 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 41488 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 41496 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 41505 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 41682 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 41898 Zend/zend_vm_execute.h called_scope = obj->ce; ce 41915 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 42069 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42072 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 42073 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42074 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 42075 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42085 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42088 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42090 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 42141 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42144 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 42148 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42153 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 42154 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 42155 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42158 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42161 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42163 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 42166 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42174 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 42177 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 42398 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42401 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 42402 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42403 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD); ce 42404 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42409 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42412 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42414 Zend/zend_vm_execute.h result = ce && instanceof_function(Z_OBJCE_P(expr), ce); ce 42455 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42458 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 42462 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42463 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 42469 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 42470 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 42471 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42478 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42481 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42483 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 42486 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42487 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 42495 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 42504 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 42663 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42666 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 42667 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42668 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 42669 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42679 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42682 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42684 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 42735 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42738 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 42742 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42747 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 42748 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 42749 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42752 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42755 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42757 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 42760 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42768 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 42771 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 42809 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42812 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 42813 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42814 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD); ce 42815 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42820 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42823 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42825 Zend/zend_vm_execute.h result = ce && instanceof_function(Z_OBJCE_P(expr), ce); ce 42866 Zend/zend_vm_execute.h zend_class_entry *ce; ce 42869 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 42873 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42874 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 42880 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 42881 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 42882 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 42889 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 42892 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 42894 Zend/zend_vm_execute.h (retval = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 42897 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 42898 Zend/zend_vm_execute.h zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 42906 Zend/zend_vm_execute.h retval = zend_std_get_static_property(ce, name, 0); ce 42915 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval); ce 43074 Zend/zend_vm_execute.h zend_class_entry *ce; ce 43077 Zend/zend_vm_execute.h ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2))); ce 43078 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 43079 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 43080 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 43090 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 43093 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 43095 Zend/zend_vm_execute.h zend_std_unset_static_property(ce, Z_STR_P(varname)); ce 43146 Zend/zend_vm_execute.h zend_class_entry *ce; ce 43149 Zend/zend_vm_execute.h if ((IS_TMP_VAR|IS_VAR) == IS_CONST && EXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)))) != NULL)) { ce 43153 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 43158 Zend/zend_vm_execute.h } else if (UNEXPECTED((ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) == NULL)) { ce 43159 Zend/zend_vm_execute.h ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)), EX_CONSTANT(opline->op2) + 1, ZEND_FETCH_CLASS_DEFAULT | ZEND_FETCH_CLASS_EXCEPTION); ce 43160 Zend/zend_vm_execute.h if (UNEXPECTED(ce == NULL)) { ce 43163 Zend/zend_vm_execute.h CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), ce); ce 43166 Zend/zend_vm_execute.h ce = Z_CE_P(EX_VAR(opline->op2.var)); ce 43168 Zend/zend_vm_execute.h (value = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce)) != NULL) { ce 43171 Zend/zend_vm_execute.h if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { ce 43179 Zend/zend_vm_execute.h value = zend_std_get_static_property(ce, Z_STR_P(varname), 1); ce 43182 Zend/zend_vm_execute.h CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, value); ce 43874 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 44046 Zend/zend_vm_execute.h called_scope = obj->ce; ce 44063 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 45019 Zend/zend_vm_execute.h EXPECTED(zobj->ce == CACHED_PTR(Z_CACHE_SLOT_P(offset)))) { ce 45192 Zend/zend_vm_execute.h called_scope = obj->ce; ce 45209 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to undefined method %s::%s()", ZSTR_VAL(obj->ce->name), Z_STRVAL_P(function_name)); ce 355 ext/com_dotnet/com_extension.c zend_class_entry ce, *tmp; ce 360 ext/com_dotnet/com_extension.c INIT_CLASS_ENTRY(ce, "com_exception", NULL); ce 361 ext/com_dotnet/com_extension.c php_com_exception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); ce 365 ext/com_dotnet/com_extension.c INIT_CLASS_ENTRY(ce, "com_safearray_proxy", NULL); ce 366 ext/com_dotnet/com_extension.c php_com_saproxy_class_entry = zend_register_internal_class(&ce); ce 371 ext/com_dotnet/com_extension.c INIT_CLASS_ENTRY(ce, "variant", NULL); ce 372 ext/com_dotnet/com_extension.c ce.create_object = php_com_object_new; ce 373 ext/com_dotnet/com_extension.c php_com_variant_class_entry = zend_register_internal_class(&ce); ce 376 ext/com_dotnet/com_extension.c INIT_CLASS_ENTRY(ce, "com", NULL); ce 377 ext/com_dotnet/com_extension.c ce.create_object = php_com_object_new; ce 378 ext/com_dotnet/com_extension.c tmp = zend_register_internal_class_ex(&ce, php_com_variant_class_entry); ce 384 ext/com_dotnet/com_extension.c INIT_CLASS_ENTRY(ce, "dotnet", NULL); ce 385 ext/com_dotnet/com_extension.c ce.create_object = php_com_object_new; ce 386 ext/com_dotnet/com_extension.c tmp = zend_register_internal_class_ex(&ce, php_com_variant_class_entry); ce 278 ext/com_dotnet/com_handlers.c f.scope = obj->ce; ce 402 ext/com_dotnet/com_handlers.c f.function_name = obj->ce->name; \ ce 403 ext/com_dotnet/com_handlers.c f.scope = obj->ce; \ ce 410 ext/com_dotnet/com_handlers.c switch (obj->ce->name->val[0]) { ce 431 ext/com_dotnet/com_handlers.c return zend_string_copy(obj->ce->name); ce 646 ext/com_dotnet/com_handlers.c zend_object* php_com_object_new(zend_class_entry *ce) ce 656 ext/com_dotnet/com_handlers.c obj->ce = ce; ce 658 ext/com_dotnet/com_handlers.c zend_object_std_init(&obj->zo, ce); ce 138 ext/com_dotnet/com_iterator.c zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref) ce 57 ext/com_dotnet/com_misc.c obj->ce = php_com_variant_class_entry; ce 58 ext/com_dotnet/com_misc.c obj->zo.ce = php_com_variant_class_entry; ce 80 ext/com_dotnet/com_misc.c obj->ce = php_com_variant_class_entry; ce 81 ext/com_dotnet/com_misc.c obj->zo.ce = php_com_variant_class_entry; ce 722 ext/com_dotnet/com_persist.c zend_object_std_init(&clone->std, object->std.ce); ce 739 ext/com_dotnet/com_persist.c static zend_object* helper_new(zend_class_entry *ce) ce 754 ext/com_dotnet/com_persist.c zend_class_entry ce; ce 760 ext/com_dotnet/com_persist.c INIT_CLASS_ENTRY(ce, "COMPersistHelper", com_persist_helper_methods); ce 761 ext/com_dotnet/com_persist.c ce.create_object = helper_new; ce 762 ext/com_dotnet/com_persist.c helper_ce = zend_register_internal_class(&ce); ce 538 ext/com_dotnet/com_saproxy.c zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref) ce 44 ext/com_dotnet/php_com_dotnet_internal.h zend_class_entry *ce; ce 59 ext/com_dotnet/php_com_dotnet_internal.h zend_class_entry *ce = Z_OBJCE_P(zv); ce 60 ext/com_dotnet/php_com_dotnet_internal.h return strcmp("com", ce->name->val) == 0 || ce 61 ext/com_dotnet/php_com_dotnet_internal.h strcmp("dotnet", ce->name->val) == 0 || ce 62 ext/com_dotnet/php_com_dotnet_internal.h strcmp("variant", ce->name->val) == 0; ce 79 ext/com_dotnet/php_com_dotnet_internal.h zend_object* php_com_object_new(zend_class_entry *ce); ce 86 ext/com_dotnet/php_com_dotnet_internal.h zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref); ce 182 ext/com_dotnet/php_com_dotnet_internal.h zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref); ce 169 ext/curl/curl_file.c zend_class_entry ce; ce 170 ext/curl/curl_file.c INIT_CLASS_ENTRY( ce, "CURLFile", curlfile_funcs ); ce 171 ext/curl/curl_file.c curl_CURLFile_class = zend_register_internal_class(&ce); ce 1943 ext/date/php_date.c zend_object_iterator *date_object_period_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 2104 ext/date/php_date.c php_date_obj *new_obj = php_date_obj_from_obj(date_object_new_date_ex(old_obj->std.ce, 0)); ce 2235 ext/date/php_date.c php_timezone_obj *new_obj = php_timezone_obj_from_obj(date_object_new_timezone_ex(old_obj->std.ce, 0)); ce 2326 ext/date/php_date.c php_interval_obj *new_obj = php_interval_obj_from_obj(date_object_new_interval_ex(old_obj->std.ce, 0)); ce 2408 ext/date/php_date.c php_period_obj *new_obj = php_period_obj_from_obj(date_object_new_period_ex(old_obj->std.ce, 0)); ce 2238 ext/dom/document.c zend_class_entry *basece = dom_node_class_entry, *ce = NULL; ce 2241 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "OCC!", &id, dom_document_class_entry, &basece, &ce) == FAILURE) { ce 2245 ext/dom/document.c if (ce == NULL || instanceof_function(ce, basece)) { ce 2248 ext/dom/document.c if (dom_set_doc_classmap(intern->document, basece, ce) == FAILURE) { ce 2249 ext/dom/document.c php_error_docref(NULL, E_ERROR, "Class %s could not be registered.", ZSTR_VAL(ce->name)); ce 2253 ext/dom/document.c php_error_docref(NULL, E_ERROR, "Class %s is not derived from %s.", ZSTR_VAL(ce->name), ZSTR_VAL(basece->name)); ce 255 ext/dom/dom_iterators.c zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 209 ext/dom/php_dom.c int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce) ce 216 ext/dom/php_dom.c if (ce == NULL) { ce 222 ext/dom/php_dom.c if (ce) { ce 223 ext/dom/php_dom.c zend_hash_update_ptr(doc_props->classmap, basece->name, ce); ce 238 ext/dom/php_dom.c zend_class_entry *ce = zend_hash_find_ptr(doc_props->classmap, basece->name); ce 239 ext/dom/php_dom.c if (ce) { ce 240 ext/dom/php_dom.c return ce; ce 339 ext/dom/php_dom.c } else if (instanceof_function(obj->std.ce, dom_node_class_entry)) { ce 340 ext/dom/php_dom.c php_error(E_WARNING, "Couldn't fetch %s. Node no longer exists", ZSTR_VAL(obj->std.ce->name)); ce 507 ext/dom/php_dom.c dom_object *clone = dom_objects_set_class(intern->std.ce, 0); ce 511 ext/dom/php_dom.c if (instanceof_function(intern->std.ce, dom_node_class_entry)) { ce 596 ext/dom/php_dom.c zend_class_entry ce; ce 617 ext/dom/php_dom.c INIT_CLASS_ENTRY(ce, "DOMException", php_dom_domexception_class_functions); ce 618 ext/dom/php_dom.c dom_domexception_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); ce 622 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMStringList", NULL, php_dom_domstringlist_class_functions, dom_domstringlist_class_entry); ce 626 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_domstringlist_prop_handlers); ce 628 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMNameList", NULL, php_dom_namelist_class_functions, dom_namelist_class_entry); ce 632 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_namelist_prop_handlers); ce 634 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMImplementationList", NULL, php_dom_domimplementationlist_class_functions, dom_domimplementationlist_class_entry); ce 638 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_domimplementationlist_prop_handlers); ce 640 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMImplementationSource", NULL, php_dom_domimplementationsource_class_functions, dom_domimplementationsource_class_entry); ce 641 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMImplementation", NULL, php_dom_domimplementation_class_functions, dom_domimplementation_class_entry); ce 643 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMNode", NULL, php_dom_node_class_functions, dom_node_class_entry); ce 662 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_node_prop_handlers); ce 664 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMNameSpaceNode", NULL, NULL, dom_namespace_node_class_entry); ce 675 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_namespace_node_prop_handlers); ce 677 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMDocumentFragment", dom_node_class_entry, php_dom_documentfragment_class_functions, dom_documentfragment_class_entry); ce 678 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_node_prop_handlers); ce 680 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMDocument", dom_node_class_entry, php_dom_document_class_functions, dom_document_class_entry); ce 703 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_document_prop_handlers); ce 705 ext/dom/php_dom.c INIT_CLASS_ENTRY(ce, "DOMNodeList", php_dom_nodelist_class_functions); ce 706 ext/dom/php_dom.c ce.create_object = dom_nnodemap_objects_new; ce 707 ext/dom/php_dom.c dom_nodelist_class_entry = zend_register_internal_class_ex(&ce, NULL); ce 713 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_nodelist_prop_handlers); ce 715 ext/dom/php_dom.c INIT_CLASS_ENTRY(ce, "DOMNamedNodeMap", php_dom_namednodemap_class_functions); ce 716 ext/dom/php_dom.c ce.create_object = dom_nnodemap_objects_new; ce 717 ext/dom/php_dom.c dom_namednodemap_class_entry = zend_register_internal_class_ex(&ce, NULL); ce 723 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_namednodemap_prop_handlers); ce 725 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMCharacterData", dom_node_class_entry, php_dom_characterdata_class_functions, dom_characterdata_class_entry); ce 731 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_characterdata_prop_handlers); ce 733 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMAttr", dom_node_class_entry, php_dom_attr_class_functions, dom_attr_class_entry); ce 742 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_attr_prop_handlers); ce 744 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMElement", dom_node_class_entry, php_dom_element_class_functions, dom_element_class_entry); ce 750 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_element_prop_handlers); ce 752 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMText", dom_characterdata_class_entry, php_dom_text_class_functions, dom_text_class_entry); ce 757 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_text_prop_handlers); ce 759 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMComment", dom_characterdata_class_entry, php_dom_comment_class_functions, dom_comment_class_entry); ce 760 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_characterdata_prop_handlers); ce 762 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMTypeinfo", NULL, php_dom_typeinfo_class_functions, dom_typeinfo_class_entry); ce 767 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_typeinfo_prop_handlers); ce 769 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMUserDataHandler", NULL, php_dom_userdatahandler_class_functions, dom_userdatahandler_class_entry); ce 770 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMDomError", NULL, php_dom_domerror_class_functions, dom_domerror_class_entry); ce 779 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_domerror_prop_handlers); ce 781 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMErrorHandler", NULL, php_dom_domerrorhandler_class_functions, dom_domerrorhandler_class_entry); ce 782 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMLocator", NULL, php_dom_domlocator_class_functions, dom_domlocator_class_entry); ce 790 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_domlocator_prop_handlers); ce 792 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMConfiguration", NULL, php_dom_domconfiguration_class_functions, dom_domconfiguration_class_entry); ce 793 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMCdataSection", dom_text_class_entry, php_dom_cdatasection_class_functions, dom_cdatasection_class_entry); ce 794 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_text_prop_handlers); ce 796 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMDocumentType", dom_node_class_entry, php_dom_documenttype_class_functions, dom_documenttype_class_entry); ce 806 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_documenttype_prop_handlers); ce 808 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMNotation", dom_node_class_entry, php_dom_notation_class_functions, dom_notation_class_entry); ce 814 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_notation_prop_handlers); ce 816 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMEntity", dom_node_class_entry, php_dom_entity_class_functions, dom_entity_class_entry); ce 826 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_entity_prop_handlers); ce 828 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMEntityReference", dom_node_class_entry, php_dom_entityreference_class_functions, dom_entityreference_class_entry); ce 829 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_node_prop_handlers); ce 831 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMProcessingInstruction", dom_node_class_entry, php_dom_processinginstruction_class_functions, dom_processinginstruction_class_entry); ce 837 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_processinginstruction_prop_handlers); ce 839 ext/dom/php_dom.c REGISTER_DOM_CLASS(ce, "DOMStringExtend", NULL, php_dom_string_extend_class_functions, dom_string_extend_class_entry); ce 846 ext/dom/php_dom.c INIT_CLASS_ENTRY(ce, "DOMXPath", php_dom_xpath_class_functions); ce 847 ext/dom/php_dom.c ce.create_object = dom_xpath_objects_new; ce 848 ext/dom/php_dom.c dom_xpath_class_entry = zend_register_internal_class_ex(&ce, NULL); ce 852 ext/dom/php_dom.c zend_hash_add_ptr(&classes, ce.name, &dom_xpath_prop_handlers); ce 1179 ext/dom/php_dom.c zend_class_entry *ce; ce 1182 ext/dom/php_dom.c ce = dom_namednodemap_class_entry; ce 1184 ext/dom/php_dom.c ce = dom_nodelist_class_entry; ce 1187 ext/dom/php_dom.c object_init_ex(return_value, ce); ce 1194 ext/dom/php_dom.c zend_class_entry *ce; ce 1212 ext/dom/php_dom.c ce = dom_document_class_entry; ce 1218 ext/dom/php_dom.c ce = dom_documenttype_class_entry; ce 1223 ext/dom/php_dom.c ce = dom_element_class_entry; ce 1228 ext/dom/php_dom.c ce = dom_attr_class_entry; ce 1233 ext/dom/php_dom.c ce = dom_text_class_entry; ce 1238 ext/dom/php_dom.c ce = dom_comment_class_entry; ce 1243 ext/dom/php_dom.c ce = dom_processinginstruction_class_entry; ce 1248 ext/dom/php_dom.c ce = dom_entityreference_class_entry; ce 1254 ext/dom/php_dom.c ce = dom_entity_class_entry; ce 1259 ext/dom/php_dom.c ce = dom_cdatasection_class_entry; ce 1264 ext/dom/php_dom.c ce = dom_documentfragment_class_entry; ce 1269 ext/dom/php_dom.c ce = dom_notation_class_entry; ce 1274 ext/dom/php_dom.c ce = dom_namespace_node_class_entry; ce 1284 ext/dom/php_dom.c ce = dom_get_doc_classmap(domobj->document, ce); ce 1286 ext/dom/php_dom.c object_init_ex(return_value, ce); ce 127 ext/dom/php_dom.h zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref); ce 128 ext/dom/php_dom.h int dom_set_doc_classmap(php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce); ce 132 ext/dom/php_dom.h #define REGISTER_DOM_CLASS(ce, name, parent_ce, funcs, entry) \ ce 133 ext/dom/php_dom.h INIT_CLASS_ENTRY(ce, name, funcs); \ ce 134 ext/dom/php_dom.h ce.create_object = dom_objects_new; \ ce 135 ext/dom/php_dom.h entry = zend_register_internal_class_ex(&ce, parent_ce); ce 140 ext/dom/php_dom.h php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\ ce 70 ext/dom/xml_common.h ZSTR_VAL(__intern->std.ce->name));\ ce 79 ext/dom/xml_common.h php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\ ce 1032 ext/fileinfo/libmagic/cdf.c ce[i].f = CAST(t, CDF_TOLE(cep->f)) ce 1043 ext/fileinfo/libmagic/cdf.c cdf_catalog_entry_t *ce; ce 1055 ext/fileinfo/libmagic/cdf.c malloc(sizeof(cdf_catalog_t) + nr * sizeof(*ce))); ce 1057 ext/fileinfo/libmagic/cdf.c ce = (*cat)->cat_e; ce 1058 ext/fileinfo/libmagic/cdf.c memset(ce, 0, nr * sizeof(*ce)); ce 1061 ext/fileinfo/libmagic/cdf.c cdf_catalog_entry_t *cep = &ce[i]; ce 1419 ext/fileinfo/libmagic/cdf.c const cdf_catalog_entry_t *ce = cat->cat_e; ce 1426 ext/fileinfo/libmagic/cdf.c cdf_timestamp_to_timespec(&ts, ce[i].ce_timestamp); ce 1427 ext/fileinfo/libmagic/cdf.c printf("\t%d %s %s", ce[i].ce_num, ce 1428 ext/fileinfo/libmagic/cdf.c cdf_u16tos8(sbuf, ce[i].ce_namlen, ce[i].ce_name), ce 260 ext/fileinfo/libmagic/readcdf.c cdf_catalog_entry_t *ce; ce 267 ext/fileinfo/libmagic/readcdf.c ce = cat->cat_e; ce 271 ext/fileinfo/libmagic/readcdf.c cdf_u16tos8(buf, ce[i].ce_namlen, ce[i].ce_name), ce 387 ext/filter/filter.c zend_class_entry *ce; ce 389 ext/filter/filter.c ce = Z_OBJCE_P(value); ce 390 ext/filter/filter.c if (!ce->__tostring) { ce 382 ext/gmp/gmp.c static inline zend_object *gmp_create_object_ex(zend_class_entry *ce, mpz_ptr *gmpnum_target) /* {{{ */ ce 384 ext/gmp/gmp.c gmp_object *intern = emalloc(sizeof(gmp_object) + zend_object_properties_size(ce)); ce 386 ext/gmp/gmp.c zend_object_std_init(&intern->std, ce); ce 387 ext/gmp/gmp.c object_properties_init(&intern->std, ce); ce 397 ext/gmp/gmp.c static zend_object *gmp_create_object(zend_class_entry *ce) /* {{{ */ ce 400 ext/gmp/gmp.c return gmp_create_object_ex(ce, &gmpnum_dummy); ce 584 ext/gmp/gmp.c static int gmp_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buf, size_t buf_len, zend_unserialize_data *data) /* {{{ */ ce 39 ext/intl/breakiterator/breakiterator_iterators.h zend_class_entry *ce, zval *object, int by_ref); ce 57 ext/intl/collator/collator_class.c zend_object *Collator_object_create(zend_class_entry *ce ) ce 61 ext/intl/collator/collator_class.c intern = ecalloc(1, sizeof(Collator_object) + zend_object_properties_size(ce)); ce 63 ext/intl/collator/collator_class.c zend_object_std_init(&intern->zo, ce ); ce 64 ext/intl/collator/collator_class.c object_properties_init(&intern->zo, ce); ce 128 ext/intl/collator/collator_class.c zend_class_entry ce; ce 131 ext/intl/collator/collator_class.c INIT_CLASS_ENTRY( ce, "Collator", Collator_class_functions ); ce 132 ext/intl/collator/collator_class.c ce.create_object = Collator_object_create; ce 133 ext/intl/collator/collator_class.c Collator_ce_ptr = zend_register_internal_class( &ce ); ce 348 ext/intl/converter/converter.c if (objval->obj.ce == php_converter_ce) { ce 1018 ext/intl/converter/converter.c static zend_object *php_converter_object_ctor(zend_class_entry *ce, php_converter_object **pobjval) { ce 1021 ext/intl/converter/converter.c objval = ecalloc(1, sizeof(php_converter_object) + zend_object_properties_size(ce)); ce 1023 ext/intl/converter/converter.c zend_object_std_init(&objval->obj, ce ); ce 1032 ext/intl/converter/converter.c static zend_object *php_converter_create_object(zend_class_entry *ce) { ce 1034 ext/intl/converter/converter.c zend_object *retval = php_converter_object_ctor(ce, &objval); ce 1036 ext/intl/converter/converter.c object_properties_init(&(objval->obj), ce); ce 1081 ext/intl/converter/converter.c zend_class_entry ce; ce 1083 ext/intl/converter/converter.c INIT_CLASS_ENTRY(ce, "UConverter", php_converter_methods); ce 1084 ext/intl/converter/converter.c php_converter_ce = zend_register_internal_class(&ce); ce 60 ext/intl/dateformat/dateformat_class.c zend_object *IntlDateFormatter_object_create(zend_class_entry *ce) ce 64 ext/intl/dateformat/dateformat_class.c intern = ecalloc( 1, sizeof(IntlDateFormatter_object) + zend_object_properties_size(ce)); ce 66 ext/intl/dateformat/dateformat_class.c zend_object_std_init( &intern->zo, ce ); ce 67 ext/intl/dateformat/dateformat_class.c object_properties_init(&intern->zo, ce); ce 192 ext/intl/dateformat/dateformat_class.c zend_class_entry ce; ce 195 ext/intl/dateformat/dateformat_class.c INIT_CLASS_ENTRY( ce, "IntlDateFormatter", IntlDateFormatter_class_functions ); ce 196 ext/intl/dateformat/dateformat_class.c ce.create_object = IntlDateFormatter_object_create; ce 197 ext/intl/dateformat/dateformat_class.c IntlDateFormatter_ce_ptr = zend_register_internal_class( &ce ); ce 55 ext/intl/formatter/formatter_class.c zend_object *NumberFormatter_object_create(zend_class_entry *ce) ce 59 ext/intl/formatter/formatter_class.c intern = ecalloc( 1, sizeof(NumberFormatter_object) + zend_object_properties_size(ce)); ce 61 ext/intl/formatter/formatter_class.c zend_object_std_init( &intern->zo, ce ); ce 62 ext/intl/formatter/formatter_class.c object_properties_init(&intern->zo, ce); ce 187 ext/intl/formatter/formatter_class.c zend_class_entry ce; ce 190 ext/intl/formatter/formatter_class.c INIT_CLASS_ENTRY( ce, "NumberFormatter", NumberFormatter_class_functions ); ce 191 ext/intl/formatter/formatter_class.c ce.create_object = NumberFormatter_object_create; ce 192 ext/intl/formatter/formatter_class.c NumberFormatter_ce_ptr = zend_register_internal_class( &ce ); ce 235 ext/intl/intl_error.c zend_class_entry ce; ce 238 ext/intl/intl_error.c INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); ce 239 ext/intl/intl_error.c IntlException_ce_ptr = zend_register_internal_class_ex( &ce, ce 97 ext/intl/locale/locale_class.c zend_class_entry ce; ce 100 ext/intl/locale/locale_class.c INIT_CLASS_ENTRY( ce, "Locale", Locale_class_functions ); ce 101 ext/intl/locale/locale_class.c ce.create_object = NULL; ce 102 ext/intl/locale/locale_class.c Locale_ce_ptr = zend_register_internal_class( &ce ); ce 55 ext/intl/msgformat/msgformat_class.c zend_object *MessageFormatter_object_create(zend_class_entry *ce) ce 59 ext/intl/msgformat/msgformat_class.c intern = ecalloc( 1, sizeof(MessageFormatter_object) + zend_object_properties_size(ce)); ce 61 ext/intl/msgformat/msgformat_class.c zend_object_std_init( &intern->zo, ce ); ce 62 ext/intl/msgformat/msgformat_class.c object_properties_init(&intern->zo, ce); ce 155 ext/intl/msgformat/msgformat_class.c zend_class_entry ce; ce 158 ext/intl/msgformat/msgformat_class.c INIT_CLASS_ENTRY( ce, "MessageFormatter", MessageFormatter_class_functions ); ce 159 ext/intl/msgformat/msgformat_class.c ce.create_object = MessageFormatter_object_create; ce 160 ext/intl/msgformat/msgformat_class.c MessageFormatter_ce_ptr = zend_register_internal_class( &ce ); ce 56 ext/intl/normalizer/normalizer_class.c zend_class_entry ce; ce 59 ext/intl/normalizer/normalizer_class.c INIT_CLASS_ENTRY( ce, "Normalizer", Normalizer_class_functions ); ce 60 ext/intl/normalizer/normalizer_class.c ce.create_object = NULL; ce 61 ext/intl/normalizer/normalizer_class.c Normalizer_ce_ptr = zend_register_internal_class( &ce ); ce 56 ext/intl/resourcebundle/resourcebundle_class.c static zend_object *ResourceBundle_object_create( zend_class_entry *ce ) ce 60 ext/intl/resourcebundle/resourcebundle_class.c rb = ecalloc( 1, sizeof(ResourceBundle_object) + zend_object_properties_size(ce)); ce 62 ext/intl/resourcebundle/resourcebundle_class.c zend_object_std_init( &rb->zend, ce ); ce 63 ext/intl/resourcebundle/resourcebundle_class.c object_properties_init( &rb->zend, ce); ce 428 ext/intl/resourcebundle/resourcebundle_class.c zend_class_entry ce; ce 430 ext/intl/resourcebundle/resourcebundle_class.c INIT_CLASS_ENTRY( ce, "ResourceBundle", ResourceBundle_class_functions ); ce 432 ext/intl/resourcebundle/resourcebundle_class.c ce.create_object = ResourceBundle_object_create; ce 433 ext/intl/resourcebundle/resourcebundle_class.c ce.get_iterator = resourcebundle_get_iterator; ce 435 ext/intl/resourcebundle/resourcebundle_class.c ResourceBundle_ce_ptr = zend_register_internal_class( &ce ); ce 150 ext/intl/resourcebundle/resourcebundle_iterator.c zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref ) ce 34 ext/intl/resourcebundle/resourcebundle_iterator.h zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref ); ce 52 ext/intl/spoofchecker/spoofchecker_class.c zend_class_entry *ce) ce 56 ext/intl/spoofchecker/spoofchecker_class.c intern = ecalloc(1, sizeof(Spoofchecker_object) + zend_object_properties_size(ce)); ce 58 ext/intl/spoofchecker/spoofchecker_class.c zend_object_std_init(&intern->zo, ce); ce 59 ext/intl/spoofchecker/spoofchecker_class.c object_properties_init(&intern->zo, ce); ce 139 ext/intl/spoofchecker/spoofchecker_class.c zend_class_entry ce; ce 142 ext/intl/spoofchecker/spoofchecker_class.c INIT_CLASS_ENTRY(ce, "Spoofchecker", Spoofchecker_class_functions); ce 143 ext/intl/spoofchecker/spoofchecker_class.c ce.create_object = Spoofchecker_object_create; ce 144 ext/intl/spoofchecker/spoofchecker_class.c Spoofchecker_ce_ptr = zend_register_internal_class(&ce); ce 121 ext/intl/transliterator/transliterator_class.c zend_class_entry *ce ) ce 125 ext/intl/transliterator/transliterator_class.c intern = ecalloc( 1, sizeof( Transliterator_object ) + zend_object_properties_size(ce)); ce 127 ext/intl/transliterator/transliterator_class.c zend_object_std_init( &intern->zo, ce ); ce 128 ext/intl/transliterator/transliterator_class.c object_properties_init( &intern->zo, ce ); ce 345 ext/intl/transliterator/transliterator_class.c zend_class_entry ce; ce 348 ext/intl/transliterator/transliterator_class.c INIT_CLASS_ENTRY( ce, "Transliterator", Transliterator_class_functions ); ce 349 ext/intl/transliterator/transliterator_class.c ce.create_object = Transliterator_object_create; ce 350 ext/intl/transliterator/transliterator_class.c Transliterator_ce_ptr = zend_register_internal_class( &ce ); ce 727 ext/intl/uchar/uchar.c zend_class_entry tmp, *ce; ce 730 ext/intl/uchar/uchar.c ce = zend_register_internal_class(&tmp); ce 733 ext/intl/uchar/uchar.c zend_declare_class_constant_long(ce, name, strlen(name), val); ce 735 ext/intl/uchar/uchar.c zend_declare_class_constant_string(ce, "UNICODE_VERSION", sizeof("UNICODE_VERISON")-1, U_UNICODE_VERSION); ce 103 ext/json/json.c zend_class_entry ce; ce 105 ext/json/json.c INIT_CLASS_ENTRY(ce, "JsonSerializable", json_serializable_interface); ce 106 ext/json/json.c php_json_serializable_ce = zend_register_internal_interface(&ce); ce 448 ext/json/json_encoder.c zend_class_entry *ce = Z_OBJCE_P(val); ce 467 ext/json/json_encoder.c zend_throw_exception_ex(NULL, 0, "Failed calling %s::jsonSerialize()", ZSTR_VAL(ce->name)); ce 792 ext/libxml/libxml.c zend_class_entry ce; ce 845 ext/libxml/libxml.c INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); ce 846 ext/libxml/libxml.c libxmlerror_class_entry = zend_register_internal_class(&ce); ce 1164 ext/libxml/libxml.c zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function) ce 1172 ext/libxml/libxml.c return zend_hash_add_mem(&php_libxml_exports, ce->name, &export_hnd, sizeof(export_hnd)); ce 1177 ext/libxml/libxml.c zend_class_entry *ce = NULL; ce 1182 ext/libxml/libxml.c ce = Z_OBJCE_P(object); ce 1183 ext/libxml/libxml.c while (ce->parent != NULL) { ce 1184 ext/libxml/libxml.c ce = ce->parent; ce 1186 ext/libxml/libxml.c if ((export_hnd = zend_hash_find_ptr(&php_libxml_exports, ce->name))) { ce 101 ext/libxml/php_libxml.h PHP_LIBXML_API zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function); ce 494 ext/mysqli/mysqli.c php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name)); ce 565 ext/mysqli/mysqli.c zend_class_entry *ce,cex; ce 616 ext/mysqli/mysqli.c ce = mysqli_driver_class_entry; ce 619 ext/mysqli/mysqli.c zend_declare_property_null(ce, "client_info", sizeof("client_info") - 1, ZEND_ACC_PUBLIC); ce 620 ext/mysqli/mysqli.c zend_declare_property_null(ce, "client_version", sizeof("client_version") - 1, ZEND_ACC_PUBLIC); ce 621 ext/mysqli/mysqli.c zend_declare_property_null(ce, "driver_version", sizeof("driver_version") - 1, ZEND_ACC_PUBLIC); ce 622 ext/mysqli/mysqli.c zend_declare_property_null(ce, "embedded", sizeof("embedded") - 1, ZEND_ACC_PUBLIC); ce 623 ext/mysqli/mysqli.c zend_declare_property_null(ce, "reconnect", sizeof("reconnect") - 1, ZEND_ACC_PUBLIC); ce 624 ext/mysqli/mysqli.c zend_declare_property_null(ce, "report_mode", sizeof("report_mode") - 1, ZEND_ACC_PUBLIC); ce 625 ext/mysqli/mysqli.c ce->ce_flags |= ZEND_ACC_FINAL; ce 626 ext/mysqli/mysqli.c zend_hash_add_ptr(&classes, ce->name, &mysqli_driver_properties); ce 629 ext/mysqli/mysqli.c ce = mysqli_link_class_entry; ce 632 ext/mysqli/mysqli.c zend_declare_property_null(ce, "affected_rows", sizeof("affected_rows") - 1, ZEND_ACC_PUBLIC); ce 633 ext/mysqli/mysqli.c zend_declare_property_null(ce, "client_info", sizeof("client_info") - 1, ZEND_ACC_PUBLIC); ce 634 ext/mysqli/mysqli.c zend_declare_property_null(ce, "client_version", sizeof("client_version") - 1, ZEND_ACC_PUBLIC); ce 635 ext/mysqli/mysqli.c zend_declare_property_null(ce, "connect_errno", sizeof("connect_errno") - 1, ZEND_ACC_PUBLIC); ce 636 ext/mysqli/mysqli.c zend_declare_property_null(ce, "connect_error", sizeof("connect_error") - 1, ZEND_ACC_PUBLIC); ce 637 ext/mysqli/mysqli.c zend_declare_property_null(ce, "errno", sizeof("errno") - 1, ZEND_ACC_PUBLIC); ce 638 ext/mysqli/mysqli.c zend_declare_property_null(ce, "error", sizeof("error") - 1, ZEND_ACC_PUBLIC); ce 639 ext/mysqli/mysqli.c zend_declare_property_null(ce, "error_list", sizeof("error_list") - 1, ZEND_ACC_PUBLIC); ce 640 ext/mysqli/mysqli.c zend_declare_property_null(ce, "field_count", sizeof("field_count") - 1, ZEND_ACC_PUBLIC); ce 641 ext/mysqli/mysqli.c zend_declare_property_null(ce, "host_info", sizeof("host_info") - 1, ZEND_ACC_PUBLIC); ce 642 ext/mysqli/mysqli.c zend_declare_property_null(ce, "info", sizeof("info") - 1, ZEND_ACC_PUBLIC); ce 643 ext/mysqli/mysqli.c zend_declare_property_null(ce, "insert_id", sizeof("insert_id") - 1, ZEND_ACC_PUBLIC); ce 644 ext/mysqli/mysqli.c zend_declare_property_null(ce, "server_info", sizeof("server_info") - 1, ZEND_ACC_PUBLIC); ce 645 ext/mysqli/mysqli.c zend_declare_property_null(ce, "server_version", sizeof("server_version") - 1, ZEND_ACC_PUBLIC); ce 646 ext/mysqli/mysqli.c zend_declare_property_null(ce, "stat", sizeof("stat") - 1, ZEND_ACC_PUBLIC); ce 647 ext/mysqli/mysqli.c zend_declare_property_null(ce, "sqlstate", sizeof("sqlstate") - 1, ZEND_ACC_PUBLIC); ce 648 ext/mysqli/mysqli.c zend_declare_property_null(ce, "protocol_version", sizeof("protocol_version") - 1, ZEND_ACC_PUBLIC); ce 649 ext/mysqli/mysqli.c zend_declare_property_null(ce, "thread_id", sizeof("thread_id") - 1, ZEND_ACC_PUBLIC); ce 650 ext/mysqli/mysqli.c zend_declare_property_null(ce, "warning_count", sizeof("warning_count") - 1, ZEND_ACC_PUBLIC); ce 651 ext/mysqli/mysqli.c zend_hash_add_ptr(&classes, ce->name, &mysqli_link_properties); ce 654 ext/mysqli/mysqli.c ce = mysqli_warning_class_entry; ce 655 ext/mysqli/mysqli.c ce->ce_flags |= ZEND_ACC_FINAL; ce 658 ext/mysqli/mysqli.c zend_declare_property_null(ce, "message", sizeof("message") - 1, ZEND_ACC_PUBLIC); ce 659 ext/mysqli/mysqli.c zend_declare_property_null(ce, "sqlstate", sizeof("sqlstate") - 1, ZEND_ACC_PUBLIC); ce 660 ext/mysqli/mysqli.c zend_declare_property_null(ce, "errno", sizeof("errno") - 1, ZEND_ACC_PUBLIC); ce 661 ext/mysqli/mysqli.c zend_hash_add_ptr(&classes, ce->name, &mysqli_warning_properties); ce 664 ext/mysqli/mysqli.c ce = mysqli_result_class_entry; ce 667 ext/mysqli/mysqli.c zend_declare_property_null(ce, "current_field", sizeof("current_field") - 1,ZEND_ACC_PUBLIC); ce 668 ext/mysqli/mysqli.c zend_declare_property_null(ce, "field_count", sizeof("field_count") - 1, ZEND_ACC_PUBLIC); ce 669 ext/mysqli/mysqli.c zend_declare_property_null(ce, "lengths", sizeof("lengths") - 1, ZEND_ACC_PUBLIC); ce 670 ext/mysqli/mysqli.c zend_declare_property_null(ce, "num_rows", sizeof("num_rows") - 1, ZEND_ACC_PUBLIC); ce 671 ext/mysqli/mysqli.c zend_declare_property_null(ce, "type", sizeof("type") - 1, ZEND_ACC_PUBLIC); ce 675 ext/mysqli/mysqli.c zend_hash_add_ptr(&classes, ce->name, &mysqli_result_properties); ce 678 ext/mysqli/mysqli.c ce = mysqli_stmt_class_entry; ce 681 ext/mysqli/mysqli.c zend_declare_property_null(ce, "affected_rows", sizeof("affected_rows") - 1, ZEND_ACC_PUBLIC); ce 682 ext/mysqli/mysqli.c zend_declare_property_null(ce, "insert_id", sizeof("insert_id") - 1, ZEND_ACC_PUBLIC); ce 683 ext/mysqli/mysqli.c zend_declare_property_null(ce, "num_rows", sizeof("num_rows") - 1, ZEND_ACC_PUBLIC); ce 684 ext/mysqli/mysqli.c zend_declare_property_null(ce, "param_count", sizeof("param_count") - 1, ZEND_ACC_PUBLIC); ce 685 ext/mysqli/mysqli.c zend_declare_property_null(ce, "field_count", sizeof("field_count") - 1, ZEND_ACC_PUBLIC); ce 686 ext/mysqli/mysqli.c zend_declare_property_null(ce, "errno", sizeof("errno") - 1, ZEND_ACC_PUBLIC); ce 687 ext/mysqli/mysqli.c zend_declare_property_null(ce, "error", sizeof("error") - 1, ZEND_ACC_PUBLIC); ce 688 ext/mysqli/mysqli.c zend_declare_property_null(ce, "error_list", sizeof("error_list") - 1, ZEND_ACC_PUBLIC); ce 689 ext/mysqli/mysqli.c zend_declare_property_null(ce, "sqlstate", sizeof("sqlstate") - 1, ZEND_ACC_PUBLIC); ce 690 ext/mysqli/mysqli.c zend_declare_property_null(ce, "id", sizeof("id") - 1, ZEND_ACC_PUBLIC); ce 691 ext/mysqli/mysqli.c zend_hash_add_ptr(&classes, ce->name, &mysqli_stmt_properties); ce 1237 ext/mysqli/mysqli.c zend_class_entry *ce = NULL; ce 1246 ext/mysqli/mysqli.c ce = zend_standard_class_def; ce 1248 ext/mysqli/mysqli.c ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_AUTO); ce 1250 ext/mysqli/mysqli.c if (!ce) { ce 1284 ext/mysqli/mysqli.c object_and_properties_init(return_value, ce, NULL); ce 1285 ext/mysqli/mysqli.c if (!ce->default_properties_count && !ce->__set) { ce 1292 ext/mysqli/mysqli.c if (ce->constructor) { ce 1294 ext/mysqli/mysqli.c fci.function_table = &ce->function_table; ce 1317 ext/mysqli/mysqli.c fcc.function_handler = ce->constructor; ce 1323 ext/mysqli/mysqli.c zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name)); ce 1331 ext/mysqli/mysqli.c zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cannot use ctor_params", ZSTR_VAL(ce->name)); ce 658 ext/mysqli/mysqli_nonapi.c php_error_docref(NULL, E_WARNING, "[%d] Couldn't fetch %s", i, ZSTR_VAL(intern->zo.ce->name)); ce 663 ext/mysqli/mysqli_nonapi.c php_error_docref(NULL, E_WARNING, "Invalid object %d or resource %s", i, ZSTR_VAL(intern->zo.ce->name)); ce 694 ext/mysqli/mysqli_nonapi.c php_error_docref(NULL, E_WARNING, "[%d] Couldn't fetch %s", i, ZSTR_VAL(intern->zo.ce->name)); ce 44 ext/mysqli/mysqli_prop.c php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name));\ ce 55 ext/mysqli/mysqli_prop.c php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name));\ ce 67 ext/mysqli/mysqli_prop.c php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(obj->zo.ce->name));\ ce 47 ext/mysqli/mysqli_result_iterator.c zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref) ce 268 ext/mysqli/mysqli_warning.c if (obj->zo.ce == mysqli_link_class_entry) { ce 281 ext/mysqli/mysqli_warning.c } else if (obj->zo.ce == mysqli_stmt_class_entry) { ce 215 ext/mysqli/php_mysqli_structs.h extern zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref); ce 234 ext/mysqli/php_mysqli_structs.h zend_class_entry ce; \ ce 235 ext/mysqli/php_mysqli_structs.h INIT_CLASS_ENTRY(ce, name,class_functions); \ ce 236 ext/mysqli/php_mysqli_structs.h ce.create_object = mysqli_objects_new; \ ce 237 ext/mysqli/php_mysqli_structs.h mysqli_entry = zend_register_internal_class(&ce); \ ce 262 ext/mysqli/php_mysqli_structs.h php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\ ce 267 ext/mysqli/php_mysqli_structs.h php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)); \ ce 276 ext/mysqli/php_mysqli_structs.h php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", ZSTR_VAL(intern->zo.ce->name));\ ce 281 ext/mysqli/php_mysqli_structs.h php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)); \ ce 291 ext/mysqli/php_mysqli_structs.h php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)); \ ce 301 ext/mysqli/php_mysqli_structs.h php_error_docref(NULL, E_WARNING, "invalid object or resource %s\n", ZSTR_VAL(intern->zo.ce->name)); \ ce 294 ext/opcache/Optimizer/pass1_5.c zend_class_entry *ce = NULL; ce 302 ext/opcache/Optimizer/pass1_5.c ce = op_array->scope; ce 304 ext/opcache/Optimizer/pass1_5.c if ((ce = zend_hash_find_ptr(EG(class_table), ce 306 ext/opcache/Optimizer/pass1_5.c (ce->type == ZEND_INTERNAL_CLASS && ce 307 ext/opcache/Optimizer/pass1_5.c ce->info.internal.module->type != MODULE_PERSISTENT) || ce 308 ext/opcache/Optimizer/pass1_5.c (ce->type == ZEND_USER_CLASS && ce 309 ext/opcache/Optimizer/pass1_5.c ZEND_CE_FILENAME(ce) != op_array->filename)) { ce 320 ext/opcache/Optimizer/pass1_5.c ce = op_array->scope; ce 323 ext/opcache/Optimizer/pass1_5.c if (ce) { ce 327 ext/opcache/Optimizer/pass1_5.c if ((c = zend_hash_find(&ce->constants_table, ce 673 ext/opcache/Optimizer/zend_optimizer.c zend_class_entry *ce; ce 693 ext/opcache/Optimizer/zend_optimizer.c ce = (zend_class_entry*)Z_PTR(p->val); ce 694 ext/opcache/Optimizer/zend_optimizer.c for (j = 0; j < ce->function_table.nNumUsed; j++) { ce 695 ext/opcache/Optimizer/zend_optimizer.c q = ce->function_table.arData + j; ce 698 ext/opcache/Optimizer/zend_optimizer.c if (op_array->scope == ce) { ce 724 ext/opcache/Optimizer/zend_optimizer.c ce = (zend_class_entry*)Z_PTR(p->val); ce 725 ext/opcache/Optimizer/zend_optimizer.c for (j = 0; j < ce->function_table.nNumUsed; j++) { ce 726 ext/opcache/Optimizer/zend_optimizer.c q = ce->function_table.arData + j; ce 729 ext/opcache/Optimizer/zend_optimizer.c if (op_array->scope == ce) { ce 521 ext/opcache/ZendAccelerator.c zend_class_entry *ce; ce 525 ext/opcache/ZendAccelerator.c ce = (zend_class_entry*)Z_PTR(p->val); ce 531 ext/opcache/ZendAccelerator.c if (ce->name) { ce 532 ext/opcache/ZendAccelerator.c ce->name = accel_new_interned_string(ce->name); ce 535 ext/opcache/ZendAccelerator.c for (j = 0; j < ce->properties_info.nNumUsed; j++) { ce 538 ext/opcache/ZendAccelerator.c q = ce->properties_info.arData + j; ce 552 ext/opcache/ZendAccelerator.c for (j = 0; j < ce->function_table.nNumUsed; j++) { ce 553 ext/opcache/ZendAccelerator.c q = ce->function_table.arData + j; ce 563 ext/opcache/ZendAccelerator.c for (j = 0; j < ce->constants_table.nNumUsed; j++) { ce 564 ext/opcache/ZendAccelerator.c q = ce->constants_table.arData + j; ce 2217 ext/opcache/ZendAccelerator.c zend_class_entry *ce = Z_PTR(_p->val); ce 2219 ext/opcache/ZendAccelerator.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 2222 ext/opcache/ZendAccelerator.c if (ce->ce_flags & ZEND_HAS_STATIC_IN_METHODS) { ce 2225 ext/opcache/ZendAccelerator.c ZEND_HASH_FOREACH_PTR(&ce->function_table, func) { ce 2238 ext/opcache/ZendAccelerator.c if (ce->static_members_table) { ce 2241 ext/opcache/ZendAccelerator.c for (i = 0; i < ce->default_static_members_count; i++) { ce 2242 ext/opcache/ZendAccelerator.c zval *zv = &ce->static_members_table[i]; ce 2243 ext/opcache/ZendAccelerator.c ZVAL_UNDEF(&ce->static_members_table[i]); ce 2248 ext/opcache/ZendAccelerator.c ce->static_members_table = NULL; ce 2269 ext/opcache/ZendAccelerator.c zend_class_entry *ce = Z_PTR(_p->val); ce 2271 ext/opcache/ZendAccelerator.c if (ce->type == ZEND_INTERNAL_CLASS) { ce 356 ext/opcache/ZendAccelerator.h # define ZEND_CE_FILENAME(ce) (ce)->info.user.filename ce 357 ext/opcache/ZendAccelerator.h # define ZEND_CE_DOC_COMMENT(ce) (ce)->info.user.doc_comment ce 358 ext/opcache/ZendAccelerator.h # define ZEND_CE_DOC_COMMENT_LEN(ce) (ce)->info.user.doc_comment_len ce 65 ext/opcache/zend_accelerator_util_funcs.c zend_class_entry *ce = Z_PTR_P(zv); ce 66 ext/opcache/zend_accelerator_util_funcs.c ce->function_table.pDestructor = zend_accel_destroy_zend_function; ce 273 ext/opcache/zend_accelerator_util_funcs.c static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce) ce 376 ext/opcache/zend_accelerator_util_funcs.c if ((void*)prop_info->ce >= ZCG(current_persistent_script)->arena_mem && ce 377 ext/opcache/zend_accelerator_util_funcs.c (void*)prop_info->ce < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_persistent_script)->arena_size)) { ce 378 ext/opcache/zend_accelerator_util_funcs.c prop_info->ce = ARENA_REALLOC(prop_info->ce); ce 385 ext/opcache/zend_accelerator_util_funcs.c if (ce->handler != NULL) { \ ce 386 ext/opcache/zend_accelerator_util_funcs.c ce->handler = ARENA_REALLOC(ce->handler); \ ce 393 ext/opcache/zend_accelerator_util_funcs.c zend_class_entry *ce = *pce; ce 394 ext/opcache/zend_accelerator_util_funcs.c zend_class_entry *old_ce = ce; ce 397 ext/opcache/zend_accelerator_util_funcs.c *pce = ce = ARENA_REALLOC(old_ce); ce 398 ext/opcache/zend_accelerator_util_funcs.c ce->refcount = 1; ce 401 ext/opcache/zend_accelerator_util_funcs.c ce->default_properties_table = emalloc(sizeof(zval) * old_ce->default_properties_count); ce 404 ext/opcache/zend_accelerator_util_funcs.c dst = ce->default_properties_table; ce 411 ext/opcache/zend_accelerator_util_funcs.c zend_hash_clone_methods(&ce->function_table, &old_ce->function_table, old_ce, ce); ce 415 ext/opcache/zend_accelerator_util_funcs.c ce->default_static_members_table = emalloc(sizeof(zval) * old_ce->default_static_members_count); ce 418 ext/opcache/zend_accelerator_util_funcs.c dst = ce->default_static_members_table; ce 424 ext/opcache/zend_accelerator_util_funcs.c ce->static_members_table = ce->default_static_members_table; ce 427 ext/opcache/zend_accelerator_util_funcs.c zend_hash_clone_prop_info(&ce->properties_info, &old_ce->properties_info, old_ce); ce 430 ext/opcache/zend_accelerator_util_funcs.c zend_hash_clone_constants(&ce->constants_table, &old_ce->constants_table); ce 431 ext/opcache/zend_accelerator_util_funcs.c ce->constants_table.u.flags &= ~HASH_FLAG_APPLY_PROTECTION; ce 434 ext/opcache/zend_accelerator_util_funcs.c if (ce->num_interfaces) { ce 435 ext/opcache/zend_accelerator_util_funcs.c ce->interfaces = emalloc(sizeof(zend_class_entry *) * ce->num_interfaces); ce 436 ext/opcache/zend_accelerator_util_funcs.c memset(ce->interfaces, 0, sizeof(zend_class_entry *) * ce->num_interfaces); ce 438 ext/opcache/zend_accelerator_util_funcs.c ce->interfaces = NULL; ce 441 ext/opcache/zend_accelerator_util_funcs.c if (ce->parent) { ce 442 ext/opcache/zend_accelerator_util_funcs.c ce->parent = ARENA_REALLOC(ce->parent); ce 464 ext/opcache/zend_accelerator_util_funcs.c if (ce->trait_aliases) { ce 468 ext/opcache/zend_accelerator_util_funcs.c while (ce->trait_aliases[i]) { ce 473 ext/opcache/zend_accelerator_util_funcs.c while (ce->trait_aliases[i]) { ce 475 ext/opcache/zend_accelerator_util_funcs.c memcpy(trait_aliases[i], ce->trait_aliases[i], sizeof(zend_trait_alias)); ce 477 ext/opcache/zend_accelerator_util_funcs.c memcpy(trait_aliases[i]->trait_method, ce->trait_aliases[i]->trait_method, sizeof(zend_trait_method_reference)); ce 481 ext/opcache/zend_accelerator_util_funcs.c ce->trait_aliases = trait_aliases; ce 484 ext/opcache/zend_accelerator_util_funcs.c if (ce->trait_precedences) { ce 488 ext/opcache/zend_accelerator_util_funcs.c while (ce->trait_precedences[i]) { ce 493 ext/opcache/zend_accelerator_util_funcs.c while (ce->trait_precedences[i]) { ce 495 ext/opcache/zend_accelerator_util_funcs.c memcpy(trait_precedences[i], ce->trait_precedences[i], sizeof(zend_trait_precedence)); ce 497 ext/opcache/zend_accelerator_util_funcs.c memcpy(trait_precedences[i]->trait_method, ce->trait_precedences[i]->trait_method, sizeof(zend_trait_method_reference)); ce 519 ext/opcache/zend_accelerator_util_funcs.c ce->trait_precedences = trait_precedences; ce 500 ext/opcache/zend_file_cache.c if (prop->ce && !IS_SERIALIZED(prop->ce)) { ce 501 ext/opcache/zend_file_cache.c SERIALIZE_PTR(prop->ce); ce 517 ext/opcache/zend_file_cache.c zend_class_entry *ce; ce 520 ext/opcache/zend_file_cache.c ce = Z_PTR_P(zv); ce 521 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce); ce 523 ext/opcache/zend_file_cache.c SERIALIZE_STR(ce->name); ce 524 ext/opcache/zend_file_cache.c zend_file_cache_serialize_hash(&ce->function_table, script, info, buf, zend_file_cache_serialize_func); ce 525 ext/opcache/zend_file_cache.c if (ce->default_properties_table) { ce 528 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->default_properties_table); ce 529 ext/opcache/zend_file_cache.c p = ce->default_properties_table; ce 531 ext/opcache/zend_file_cache.c end = p + ce->default_properties_count; ce 537 ext/opcache/zend_file_cache.c if (ce->default_static_members_table) { ce 540 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->default_static_members_table); ce 541 ext/opcache/zend_file_cache.c p = ce->default_static_members_table; ce 543 ext/opcache/zend_file_cache.c end = p + ce->default_static_members_count; ce 549 ext/opcache/zend_file_cache.c zend_file_cache_serialize_hash(&ce->constants_table, script, info, buf, zend_file_cache_serialize_zval); ce 550 ext/opcache/zend_file_cache.c SERIALIZE_STR(ZEND_CE_FILENAME(ce)); ce 551 ext/opcache/zend_file_cache.c SERIALIZE_STR(ZEND_CE_DOC_COMMENT(ce)); ce 552 ext/opcache/zend_file_cache.c zend_file_cache_serialize_hash(&ce->properties_info, script, info, buf, zend_file_cache_serialize_prop_info); ce 554 ext/opcache/zend_file_cache.c if (ce->trait_aliases) { ce 557 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->trait_aliases); ce 558 ext/opcache/zend_file_cache.c p = ce->trait_aliases; ce 588 ext/opcache/zend_file_cache.c if (ce->trait_precedences) { ce 591 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->trait_precedences); ce 592 ext/opcache/zend_file_cache.c p = ce->trait_precedences; ce 631 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->parent); ce 632 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->constructor); ce 633 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->destructor); ce 634 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->clone); ce 635 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__get); ce 636 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__set); ce 637 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__call); ce 638 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->serialize_func); ce 639 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->unserialize_func); ce 640 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__isset); ce 641 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__unset); ce 642 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__tostring); ce 643 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__callstatic); ce 644 ext/opcache/zend_file_cache.c SERIALIZE_PTR(ce->__debugInfo); ce 1047 ext/opcache/zend_file_cache.c if (prop->ce && !IS_UNSERIALIZED(prop->ce)) { ce 1048 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(prop->ce); ce 1063 ext/opcache/zend_file_cache.c zend_class_entry *ce; ce 1066 ext/opcache/zend_file_cache.c ce = Z_PTR_P(zv); ce 1068 ext/opcache/zend_file_cache.c UNSERIALIZE_STR(ce->name); ce 1069 ext/opcache/zend_file_cache.c zend_file_cache_unserialize_hash(&ce->function_table, ce 1071 ext/opcache/zend_file_cache.c if (ce->default_properties_table) { ce 1074 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->default_properties_table); ce 1075 ext/opcache/zend_file_cache.c p = ce->default_properties_table; ce 1076 ext/opcache/zend_file_cache.c end = p + ce->default_properties_count; ce 1082 ext/opcache/zend_file_cache.c if (ce->default_static_members_table) { ce 1085 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->default_static_members_table); ce 1086 ext/opcache/zend_file_cache.c p = ce->default_static_members_table; ce 1087 ext/opcache/zend_file_cache.c end = p + ce->default_static_members_count; ce 1093 ext/opcache/zend_file_cache.c zend_file_cache_unserialize_hash(&ce->constants_table, ce 1095 ext/opcache/zend_file_cache.c UNSERIALIZE_STR(ZEND_CE_FILENAME(ce)); ce 1096 ext/opcache/zend_file_cache.c UNSERIALIZE_STR(ZEND_CE_DOC_COMMENT(ce)); ce 1097 ext/opcache/zend_file_cache.c zend_file_cache_unserialize_hash(&ce->properties_info, ce 1100 ext/opcache/zend_file_cache.c if (ce->trait_aliases) { ce 1103 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->trait_aliases); ce 1104 ext/opcache/zend_file_cache.c p = ce->trait_aliases; ce 1131 ext/opcache/zend_file_cache.c if (ce->trait_precedences) { ce 1134 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->trait_precedences); ce 1135 ext/opcache/zend_file_cache.c p = ce->trait_precedences; ce 1170 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->parent); ce 1171 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->constructor); ce 1172 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->destructor); ce 1173 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->clone); ce 1174 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__get); ce 1175 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__set); ce 1176 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__call); ce 1177 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->serialize_func); ce 1178 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->unserialize_func); ce 1179 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__isset); ce 1180 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__unset); ce 1181 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__tostring); ce 1182 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__callstatic); ce 1183 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(ce->__debugInfo); ce 1185 ext/opcache/zend_file_cache.c if (UNEXPECTED((ce->ce_flags & ZEND_ACC_ANON_CLASS))) { ce 1186 ext/opcache/zend_file_cache.c ce->serialize = zend_class_serialize_deny; ce 1187 ext/opcache/zend_file_cache.c ce->unserialize = zend_class_unserialize_deny; ce 704 ext/opcache/zend_persist.c prop->ce = zend_shared_alloc_get_xlat_entry(prop->ce); ce 721 ext/opcache/zend_persist.c zend_class_entry *ce = Z_PTR_P(zv); ce 723 ext/opcache/zend_persist.c if (ce->type == ZEND_USER_CLASS) { ce 726 ext/opcache/zend_persist.c ce = Z_PTR_P(zv) = ZCG(arena_mem); ce 728 ext/opcache/zend_persist.c zend_accel_store_interned_string(ce->name); ce 729 ext/opcache/zend_persist.c zend_hash_persist(&ce->function_table, zend_persist_op_array); ce 730 ext/opcache/zend_persist.c if (ce->default_properties_table) { ce 733 ext/opcache/zend_persist.c zend_accel_store(ce->default_properties_table, sizeof(zval) * ce->default_properties_count); ce 734 ext/opcache/zend_persist.c for (i = 0; i < ce->default_properties_count; i++) { ce 735 ext/opcache/zend_persist.c zend_persist_zval(&ce->default_properties_table[i]); ce 738 ext/opcache/zend_persist.c if (ce->default_static_members_table) { ce 741 ext/opcache/zend_persist.c zend_accel_store(ce->default_static_members_table, sizeof(zval) * ce->default_static_members_count); ce 742 ext/opcache/zend_persist.c for (i = 0; i < ce->default_static_members_count; i++) { ce 743 ext/opcache/zend_persist.c zend_persist_zval(&ce->default_static_members_table[i]); ce 746 ext/opcache/zend_persist.c ce->static_members_table = NULL; ce 748 ext/opcache/zend_persist.c zend_hash_persist(&ce->constants_table, zend_persist_zval); ce 750 ext/opcache/zend_persist.c if (ZEND_CE_FILENAME(ce)) { ce 752 ext/opcache/zend_persist.c zend_accel_memdup_string(ZEND_CE_FILENAME(ce)); ce 754 ext/opcache/zend_persist.c if (ZEND_CE_DOC_COMMENT(ce)) { ce 756 ext/opcache/zend_persist.c zend_accel_store_string(ZEND_CE_DOC_COMMENT(ce)); ce 758 ext/opcache/zend_persist.c if (!zend_shared_alloc_get_xlat_entry(ZEND_CE_DOC_COMMENT(ce))) { ce 759 ext/opcache/zend_persist.c zend_shared_alloc_register_xlat_entry(ZEND_CE_DOC_COMMENT(ce), ZEND_CE_DOC_COMMENT(ce)); ce 760 ext/opcache/zend_persist.c zend_string_release(ZEND_CE_DOC_COMMENT(ce)); ce 762 ext/opcache/zend_persist.c ZEND_CE_DOC_COMMENT(ce) = NULL; ce 765 ext/opcache/zend_persist.c zend_hash_persist(&ce->properties_info, zend_persist_property_info); ce 766 ext/opcache/zend_persist.c if (ce->num_interfaces && ce->interfaces) { ce 767 ext/opcache/zend_persist.c efree(ce->interfaces); ce 769 ext/opcache/zend_persist.c ce->interfaces = NULL; /* will be filled in on fetch */ ce 771 ext/opcache/zend_persist.c if (ce->num_traits && ce->traits) { ce 772 ext/opcache/zend_persist.c efree(ce->traits); ce 774 ext/opcache/zend_persist.c ce->traits = NULL; ce 776 ext/opcache/zend_persist.c if (ce->trait_aliases) { ce 778 ext/opcache/zend_persist.c while (ce->trait_aliases[i]) { ce 779 ext/opcache/zend_persist.c if (ce->trait_aliases[i]->trait_method) { ce 780 ext/opcache/zend_persist.c if (ce->trait_aliases[i]->trait_method->method_name) { ce 781 ext/opcache/zend_persist.c zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method->method_name); ce 783 ext/opcache/zend_persist.c if (ce->trait_aliases[i]->trait_method->class_name) { ce 784 ext/opcache/zend_persist.c zend_accel_store_interned_string(ce->trait_aliases[i]->trait_method->class_name); ce 786 ext/opcache/zend_persist.c ce->trait_aliases[i]->trait_method->ce = NULL; ce 787 ext/opcache/zend_persist.c zend_accel_store(ce->trait_aliases[i]->trait_method, ce 791 ext/opcache/zend_persist.c if (ce->trait_aliases[i]->alias) { ce 792 ext/opcache/zend_persist.c zend_accel_store_interned_string(ce->trait_aliases[i]->alias); ce 795 ext/opcache/zend_persist.c zend_accel_store(ce->trait_aliases[i], sizeof(zend_trait_alias)); ce 799 ext/opcache/zend_persist.c zend_accel_store(ce->trait_aliases, sizeof(zend_trait_alias*) * (i + 1)); ce 802 ext/opcache/zend_persist.c if (ce->trait_precedences) { ce 805 ext/opcache/zend_persist.c while (ce->trait_precedences[i]) { ce 806 ext/opcache/zend_persist.c zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method->method_name); ce 807 ext/opcache/zend_persist.c zend_accel_store_interned_string(ce->trait_precedences[i]->trait_method->class_name); ce 808 ext/opcache/zend_persist.c ce->trait_precedences[i]->trait_method->ce = NULL; ce 809 ext/opcache/zend_persist.c zend_accel_store(ce->trait_precedences[i]->trait_method, ce 812 ext/opcache/zend_persist.c if (ce->trait_precedences[i]->exclude_from_classes) { ce 815 ext/opcache/zend_persist.c while (ce->trait_precedences[i]->exclude_from_classes[j].class_name) { ce 816 ext/opcache/zend_persist.c zend_accel_store_interned_string(ce->trait_precedences[i]->exclude_from_classes[j].class_name); ce 819 ext/opcache/zend_persist.c zend_accel_store(ce->trait_precedences[i]->exclude_from_classes, ce 823 ext/opcache/zend_persist.c zend_accel_store(ce->trait_precedences[i], sizeof(zend_trait_precedence)); ce 827 ext/opcache/zend_persist.c ce->trait_precedences, sizeof(zend_trait_precedence*) * (i + 1)); ce 842 ext/opcache/zend_persist.c zend_class_entry *ce = Z_PTR_P(zv); ce 844 ext/opcache/zend_persist.c if (ce->parent) { ce 845 ext/opcache/zend_persist.c ce->parent = zend_shared_alloc_get_xlat_entry(ce->parent); ce 849 ext/opcache/zend_persist.c if (ce->constructor) { ce 850 ext/opcache/zend_persist.c ce->constructor = zend_shared_alloc_get_xlat_entry(ce->constructor); ce 852 ext/opcache/zend_persist.c if (ce->destructor) { ce 853 ext/opcache/zend_persist.c ce->destructor = zend_shared_alloc_get_xlat_entry(ce->destructor); ce 855 ext/opcache/zend_persist.c if (ce->clone) { ce 856 ext/opcache/zend_persist.c ce->clone = zend_shared_alloc_get_xlat_entry(ce->clone); ce 858 ext/opcache/zend_persist.c if (ce->__get) { ce 859 ext/opcache/zend_persist.c ce->__get = zend_shared_alloc_get_xlat_entry(ce->__get); ce 861 ext/opcache/zend_persist.c if (ce->__set) { ce 862 ext/opcache/zend_persist.c ce->__set = zend_shared_alloc_get_xlat_entry(ce->__set); ce 864 ext/opcache/zend_persist.c if (ce->__call) { ce 865 ext/opcache/zend_persist.c ce->__call = zend_shared_alloc_get_xlat_entry(ce->__call); ce 867 ext/opcache/zend_persist.c if (ce->serialize_func) { ce 868 ext/opcache/zend_persist.c ce->serialize_func = zend_shared_alloc_get_xlat_entry(ce->serialize_func); ce 870 ext/opcache/zend_persist.c if (ce->unserialize_func) { ce 871 ext/opcache/zend_persist.c ce->unserialize_func = zend_shared_alloc_get_xlat_entry(ce->unserialize_func); ce 873 ext/opcache/zend_persist.c if (ce->__isset) { ce 874 ext/opcache/zend_persist.c ce->__isset = zend_shared_alloc_get_xlat_entry(ce->__isset); ce 876 ext/opcache/zend_persist.c if (ce->__unset) { ce 877 ext/opcache/zend_persist.c ce->__unset = zend_shared_alloc_get_xlat_entry(ce->__unset); ce 879 ext/opcache/zend_persist.c if (ce->__tostring) { ce 880 ext/opcache/zend_persist.c ce->__tostring = zend_shared_alloc_get_xlat_entry(ce->__tostring); ce 882 ext/opcache/zend_persist.c if (ce->__callstatic) { ce 883 ext/opcache/zend_persist.c ce->__callstatic = zend_shared_alloc_get_xlat_entry(ce->__callstatic); ce 885 ext/opcache/zend_persist.c if (ce->__debugInfo) { ce 886 ext/opcache/zend_persist.c ce->__debugInfo = zend_shared_alloc_get_xlat_entry(ce->__debugInfo); ce 299 ext/opcache/zend_persist_calc.c zend_class_entry *ce = Z_PTR_P(zv); ce 301 ext/opcache/zend_persist_calc.c if (ce->type == ZEND_USER_CLASS) { ce 303 ext/opcache/zend_persist_calc.c ADD_INTERNED_STRING(ce->name, 0); ce 304 ext/opcache/zend_persist_calc.c zend_hash_persist_calc(&ce->function_table, zend_persist_op_array_calc); ce 305 ext/opcache/zend_persist_calc.c if (ce->default_properties_table) { ce 308 ext/opcache/zend_persist_calc.c ADD_SIZE(sizeof(zval) * ce->default_properties_count); ce 309 ext/opcache/zend_persist_calc.c for (i = 0; i < ce->default_properties_count; i++) { ce 310 ext/opcache/zend_persist_calc.c zend_persist_zval_calc(&ce->default_properties_table[i]); ce 313 ext/opcache/zend_persist_calc.c if (ce->default_static_members_table) { ce 316 ext/opcache/zend_persist_calc.c ADD_SIZE(sizeof(zval) * ce->default_static_members_count); ce 317 ext/opcache/zend_persist_calc.c for (i = 0; i < ce->default_static_members_count; i++) { ce 318 ext/opcache/zend_persist_calc.c zend_persist_zval_calc(&ce->default_static_members_table[i]); ce 321 ext/opcache/zend_persist_calc.c zend_hash_persist_calc(&ce->constants_table, zend_persist_zval_calc); ce 323 ext/opcache/zend_persist_calc.c if (ZEND_CE_FILENAME(ce)) { ce 324 ext/opcache/zend_persist_calc.c ADD_STRING(ZEND_CE_FILENAME(ce)); ce 326 ext/opcache/zend_persist_calc.c if (ZCG(accel_directives).save_comments && ZEND_CE_DOC_COMMENT(ce)) { ce 327 ext/opcache/zend_persist_calc.c ADD_STRING(ZEND_CE_DOC_COMMENT(ce)); ce 330 ext/opcache/zend_persist_calc.c zend_hash_persist_calc(&ce->properties_info, zend_persist_property_info_calc); ce 332 ext/opcache/zend_persist_calc.c if (ce->trait_aliases) { ce 334 ext/opcache/zend_persist_calc.c while (ce->trait_aliases[i]) { ce 335 ext/opcache/zend_persist_calc.c if (ce->trait_aliases[i]->trait_method) { ce 336 ext/opcache/zend_persist_calc.c if (ce->trait_aliases[i]->trait_method->method_name) { ce 337 ext/opcache/zend_persist_calc.c ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method->method_name, 0); ce 339 ext/opcache/zend_persist_calc.c if (ce->trait_aliases[i]->trait_method->class_name) { ce 340 ext/opcache/zend_persist_calc.c ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method->class_name, 0); ce 345 ext/opcache/zend_persist_calc.c if (ce->trait_aliases[i]->alias) { ce 346 ext/opcache/zend_persist_calc.c ADD_INTERNED_STRING(ce->trait_aliases[i]->alias, 0); ce 354 ext/opcache/zend_persist_calc.c if (ce->trait_precedences) { ce 357 ext/opcache/zend_persist_calc.c while (ce->trait_precedences[i]) { ce 358 ext/opcache/zend_persist_calc.c ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method->method_name, 0); ce 359 ext/opcache/zend_persist_calc.c ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method->class_name, 0); ce 362 ext/opcache/zend_persist_calc.c if (ce->trait_precedences[i]->exclude_from_classes) { ce 365 ext/opcache/zend_persist_calc.c while (ce->trait_precedences[i]->exclude_from_classes[j].class_name) { ce 366 ext/opcache/zend_persist_calc.c ADD_INTERNED_STRING(ce->trait_precedences[i]->exclude_from_classes[j].class_name, 0); ce 1748 ext/pcre/pcrelib/pcre_compile.c pcre_uchar *ce, *cs; ce 1795 ext/pcre/pcrelib/pcre_compile.c cs = ce = (pcre_uchar *)cd->start_code + GET(cc, 1); /* Start subpattern */ ce 1796 ext/pcre/pcrelib/pcre_compile.c do ce += GET(ce, 1); while (*ce == OP_ALT); /* End subpattern */ ce 1797 ext/pcre/pcrelib/pcre_compile.c if (cc > cs && cc < ce) return -1; /* Recursion */ ce 104 ext/pcre/pcrelib/pcre_study.c pcre_uchar *cs, *ce; ce 396 ext/pcre/pcrelib/pcre_study.c ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0)); ce 398 ext/pcre/pcrelib/pcre_study.c do ce += GET(ce, 1); while (*ce == OP_ALT); ce 399 ext/pcre/pcrelib/pcre_study.c if (cc > cs && cc < ce) /* Simple recursion */ ce 436 ext/pcre/pcrelib/pcre_study.c ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); ce 438 ext/pcre/pcrelib/pcre_study.c do ce += GET(ce, 1); while (*ce == OP_ALT); ce 439 ext/pcre/pcrelib/pcre_study.c if (cc > cs && cc < ce) /* Simple recursion */ ce 506 ext/pcre/pcrelib/pcre_study.c cs = ce = (pcre_uchar *)startcode + GET(cc, 1); ce 507 ext/pcre/pcrelib/pcre_study.c do ce += GET(ce, 1); while (*ce == OP_ALT); ce 508 ext/pcre/pcrelib/pcre_study.c if (cc > cs && cc < ce) /* Simple recursion */ ce 352 ext/pdo/pdo.c zend_class_entry ce; ce 365 ext/pdo/pdo.c INIT_CLASS_ENTRY(ce, "PDOException", NULL); ce 367 ext/pdo/pdo.c pdo_exception_ce = zend_register_internal_class_ex(&ce, php_pdo_get_exception_base(0)); ce 1302 ext/pdo/pdo_dbh.c func.scope = dbh_obj->std.ce; ce 1390 ext/pdo/pdo_dbh.c zend_class_entry ce; ce 1392 ext/pdo/pdo_dbh.c INIT_CLASS_ENTRY(ce, "PDO", pdo_dbh_functions); ce 1393 ext/pdo/pdo_dbh.c pdo_dbh_ce = zend_register_internal_class(&ce); ce 1562 ext/pdo/pdo_dbh.c zend_object *pdo_dbh_new(zend_class_entry *ce) ce 1566 ext/pdo/pdo_dbh.c dbh = ecalloc(1, sizeof(pdo_dbh_object_t) + zend_object_properties_size(ce)); ce 1567 ext/pdo/pdo_dbh.c zend_object_std_init(&dbh->std, ce); ce 1568 ext/pdo/pdo_dbh.c object_properties_init(&dbh->std, ce); ce 731 ext/pdo/pdo_stmt.c zend_class_entry *ce = stmt->fetch.cls.ce; ce 737 ext/pdo/pdo_stmt.c if (!ce) { ce 738 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = ZEND_STANDARD_CLASS_DEF_PTR; ce 739 ext/pdo/pdo_stmt.c ce = ZEND_STANDARD_CLASS_DEF_PTR; ce 742 ext/pdo/pdo_stmt.c if (ce->constructor) { ce 743 ext/pdo/pdo_stmt.c fci->function_table = &ce->function_table; ce 751 ext/pdo/pdo_stmt.c zend_fcall_info_args_ex(fci, ce->constructor, &stmt->fetch.cls.ctor_args); ce 754 ext/pdo/pdo_stmt.c fcc->function_handler = ce->constructor; ce 756 ext/pdo/pdo_stmt.c fcc->called_scope = ce; ce 837 ext/pdo/pdo_stmt.c zend_class_entry *ce = NULL, *old_ce = NULL; ce 924 ext/pdo/pdo_stmt.c old_ce = stmt->fetch.cls.ce; ce 933 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = ZEND_STANDARD_CLASS_DEF_PTR; ce 935 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = cep; ce 942 ext/pdo/pdo_stmt.c ce = stmt->fetch.cls.ce; ce 943 ext/pdo/pdo_stmt.c if (!ce) { ce 948 ext/pdo/pdo_stmt.c if (UNEXPECTED(object_init_ex(return_value, ce) != SUCCESS)) { ce 957 ext/pdo/pdo_stmt.c if (ce->constructor && (flags & PDO_FETCH_PROPS_LATE)) { ce 982 ext/pdo/pdo_stmt.c if (Z_OBJ_P(return_value)->ce == ZEND_STANDARD_CLASS_DEF_PTR) { ce 1102 ext/pdo/pdo_stmt.c zend_update_property_ex(ce, return_value, ce 1118 ext/pdo/pdo_stmt.c if (!ce->unserialize) { ce 1122 ext/pdo/pdo_stmt.c } else if (ce->unserialize(return_value, ce, (unsigned char *)(Z_TYPE(val) == IS_STRING ? Z_STRVAL(val) : ""), Z_TYPE(val) == IS_STRING ? Z_STRLEN(val) : 0, NULL) == FAILURE) { ce 1149 ext/pdo/pdo_stmt.c if (ce->constructor && !(flags & (PDO_FETCH_PROPS_LATE | PDO_FETCH_SERIALIZE))) { ce 1163 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = old_ce; ce 1317 ext/pdo/pdo_stmt.c old_ce = stmt->fetch.cls.ce; ce 1331 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_AUTO); ce 1333 ext/pdo/pdo_stmt.c if (!stmt->fetch.cls.ce) { ce 1338 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = zend_standard_class_def; ce 1349 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = old_ce; ce 1400 ext/pdo/pdo_stmt.c old_ce = stmt->fetch.cls.ce; ce 1411 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = zend_standard_class_def; ce 1434 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = zend_fetch_class(Z_STR_P(arg2), ZEND_FETCH_CLASS_AUTO); ce 1435 ext/pdo/pdo_stmt.c if (!stmt->fetch.cls.ce) { ce 1523 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = old_ce; ce 1919 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = NULL; ce 1933 ext/pdo/pdo_stmt.c stmt->fetch.cls.ce = cep; ce 2218 ext/pdo/pdo_stmt.c if ((fbc = zend_hash_find_ptr(&object->ce->function_table, lc_method_name)) == NULL) { ce 2271 ext/pdo/pdo_stmt.c zend_class_entry ce; ce 2273 ext/pdo/pdo_stmt.c INIT_CLASS_ENTRY(ce, "PDOStatement", pdo_dbstmt_functions); ce 2274 ext/pdo/pdo_stmt.c pdo_dbstmt_ce = zend_register_internal_class(&ce); ce 2290 ext/pdo/pdo_stmt.c INIT_CLASS_ENTRY(ce, "PDORow", pdo_row_functions); ce 2291 ext/pdo/pdo_stmt.c pdo_row_ce = zend_register_internal_class(&ce); ce 2355 ext/pdo/pdo_stmt.c zend_object *pdo_dbstmt_new(zend_class_entry *ce) ce 2359 ext/pdo/pdo_stmt.c stmt = ecalloc(1, sizeof(pdo_stmt_t) + zend_object_properties_size(ce)); ce 2360 ext/pdo/pdo_stmt.c zend_object_std_init(&stmt->std, ce); ce 2361 ext/pdo/pdo_stmt.c object_properties_init(&stmt->std, ce); ce 2449 ext/pdo/pdo_stmt.c zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref) ce 2688 ext/pdo/pdo_stmt.c zend_object *pdo_row_new(zend_class_entry *ce) ce 2691 ext/pdo/pdo_stmt.c zend_object_std_init(&row->std, ce); ce 621 ext/pdo/php_pdo_driver.h zend_class_entry *ce; ce 36 ext/pdo/php_pdo_int.h extern zend_object *pdo_dbh_new(zend_class_entry *ce); ce 41 ext/pdo/php_pdo_int.h extern zend_object *pdo_dbstmt_new(zend_class_entry *ce); ce 45 ext/pdo/php_pdo_int.h zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref); ce 50 ext/pdo/php_pdo_int.h extern zend_object *pdo_row_new(zend_class_entry *ce); ce 56 ext/pdo/php_pdo_int.h zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object); ce 2685 ext/pgsql/pgsql.c zend_class_entry *ce = NULL; ce 2694 ext/pgsql/pgsql.c ce = zend_standard_class_def; ce 2696 ext/pgsql/pgsql.c ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_AUTO); ce 2698 ext/pgsql/pgsql.c if (!ce) { ce 2782 ext/pgsql/pgsql.c object_and_properties_init(return_value, ce, NULL); ce 2783 ext/pgsql/pgsql.c if (!ce->default_properties_count && !ce->__set) { ce 2790 ext/pgsql/pgsql.c if (ce->constructor) { ce 2792 ext/pgsql/pgsql.c fci.function_table = &ce->function_table; ce 2815 ext/pgsql/pgsql.c fcc.function_handler = ce->constructor; ce 2821 ext/pgsql/pgsql.c zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ce->name, ce->constructor->common.function_name); ce 2829 ext/pgsql/pgsql.c zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cannot use ctor_params", ce->name); ce 1413 ext/phar/phar_object.c zend_class_entry *ce = p_obj->c; ce 1424 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned no value", ZSTR_VAL(ce->name)); ce 1435 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Iterator %v returned an invalid stream handle", ZSTR_VAL(ce->name)); ce 1449 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned an invalid key (must return a string)", ZSTR_VAL(ce->name)); ce 1459 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned an invalid key (must return a string)", ZSTR_VAL(ce->name)); ce 1473 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Iterator %v returns an SplFileInfo object, so base directory must be specified", ZSTR_VAL(ce->name)); ce 1517 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned an invalid value (must return a string)", ZSTR_VAL(ce->name)); ce 1557 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned a path \"%s\" that is not in the base directory \"%s\"", ZSTR_VAL(ce->name), fname, base); ce 1577 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned an invalid key (must return a string)", ZSTR_VAL(ce->name)); ce 1587 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned an invalid key (must return a string)", ZSTR_VAL(ce->name)); ce 1593 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned a path \"%s\" that safe mode prevents opening", ZSTR_VAL(ce->name), fname); ce 1608 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned a path \"%s\" that open_basedir prevents opening", ZSTR_VAL(ce->name), fname); ce 1625 ext/phar/phar_object.c zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0, "Iterator %v returned a file that could not be opened \"%s\"", ZSTR_VAL(ce->name), fname); ce 2007 ext/phar/phar_object.c zend_class_entry *ce; ce 2179 ext/phar/phar_object.c ce = phar_ce_data; ce 2181 ext/phar/phar_object.c ce = phar_ce_archive; ce 2185 ext/phar/phar_object.c if (SUCCESS != object_init_ex(&ret, ce)) { ce 2193 ext/phar/phar_object.c zend_call_method_with_1_params(&ret, ce, &ce->constructor, "__construct", NULL, &arg1); ce 5343 ext/phar/phar_object.c zend_class_entry ce; ce 5345 ext/phar/phar_object.c INIT_CLASS_ENTRY(ce, "PharException", phar_exception_methods); ce 5346 ext/phar/phar_object.c phar_ce_PharException = zend_register_internal_class_ex(&ce, zend_ce_exception); ce 5349 ext/phar/phar_object.c INIT_CLASS_ENTRY(ce, "Phar", php_archive_methods); ce 5350 ext/phar/phar_object.c phar_ce_archive = zend_register_internal_class_ex(&ce, spl_ce_RecursiveDirectoryIterator); ce 5354 ext/phar/phar_object.c INIT_CLASS_ENTRY(ce, "PharData", php_archive_methods); ce 5355 ext/phar/phar_object.c phar_ce_data = zend_register_internal_class_ex(&ce, spl_ce_RecursiveDirectoryIterator); ce 5359 ext/phar/phar_object.c INIT_CLASS_ENTRY(ce, "PharFileInfo", php_entry_methods); ce 5360 ext/phar/phar_object.c phar_ce_entry = zend_register_internal_class_ex(&ce, spl_ce_SplFileInfo); ce 5362 ext/phar/phar_object.c INIT_CLASS_ENTRY(ce, "Phar", php_archive_methods); ce 5363 ext/phar/phar_object.c phar_ce_archive = zend_register_internal_class(&ce); ce 5366 ext/phar/phar_object.c INIT_CLASS_ENTRY(ce, "PharData", php_archive_methods); ce 5367 ext/phar/phar_object.c phar_ce_data = zend_register_internal_class(&ce); ce 474 ext/readline/readline_cli.c zend_class_entry *ce; ce 475 ext/readline/readline_cli.c char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); ce 478 ext/readline/readline_cli.c retval = strdup(ZSTR_VAL(ce->name)); ce 523 ext/readline/readline_cli.c zend_class_entry *ce = NULL; ce 530 ext/readline/readline_cli.c if ((ce = zend_lookup_class(class_name)) == NULL) { ce 543 ext/readline/readline_cli.c retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function_table : EG(function_table)); ce 549 ext/readline/readline_cli.c retval = cli_completion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_constants)); ce 550 ext/readline/readline_cli.c if (retval || ce) { ce 564 ext/readline/readline_cli.c if (ce && retval) { ce 568 ext/readline/readline_cli.c snprintf(tmp, len, "%s::%s", ZSTR_VAL(ce->name), retval); ce 89 ext/reflection/php_reflection.c #define METHOD_NOTSTATIC(ce) \ ce 90 ext/reflection/php_reflection.c if (!Z_OBJ(EX(This)) || !instanceof_function(Z_OBJCE(EX(This)), ce)) { \ ce 101 ext/reflection/php_reflection.c if (EG(exception) && EG(exception)->ce == reflection_exception_ptr) { \ ce 193 ext/reflection/php_reflection.c zend_class_entry *ce; ce 226 ext/reflection/php_reflection.c zend_class_entry *ce; ce 352 ext/reflection/php_reflection.c intern->zo.ce = class_type; ce 371 ext/reflection/php_reflection.c static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent); ce 376 ext/reflection/php_reflection.c static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *indent) ce 385 ext/reflection/php_reflection.c if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { ce 386 ext/reflection/php_reflection.c string_printf(str, "%s%s", indent, ZSTR_VAL(ce->info.user.doc_comment)); ce 394 ext/reflection/php_reflection.c if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 396 ext/reflection/php_reflection.c } else if (ce->ce_flags & ZEND_ACC_TRAIT) { ce 401 ext/reflection/php_reflection.c string_printf(str, (ce->type == ZEND_USER_CLASS) ? "<user" : "<internal"); ce 402 ext/reflection/php_reflection.c if (ce->type == ZEND_INTERNAL_CLASS && ce->info.internal.module) { ce 403 ext/reflection/php_reflection.c string_printf(str, ":%s", ce->info.internal.module->name); ce 406 ext/reflection/php_reflection.c if (ce->get_iterator != NULL) { ce 409 ext/reflection/php_reflection.c if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 411 ext/reflection/php_reflection.c } else if (ce->ce_flags & ZEND_ACC_TRAIT) { ce 414 ext/reflection/php_reflection.c if (ce->ce_flags & (ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) { ce 417 ext/reflection/php_reflection.c if (ce->ce_flags & ZEND_ACC_FINAL) { ce 422 ext/reflection/php_reflection.c string_printf(str, "%s", ZSTR_VAL(ce->name)); ce 423 ext/reflection/php_reflection.c if (ce->parent) { ce 424 ext/reflection/php_reflection.c string_printf(str, " extends %s", ZSTR_VAL(ce->parent->name)); ce 427 ext/reflection/php_reflection.c if (ce->num_interfaces) { ce 430 ext/reflection/php_reflection.c if (ce->ce_flags & ZEND_ACC_INTERFACE) { ce 431 ext/reflection/php_reflection.c string_printf(str, " extends %s", ZSTR_VAL(ce->interfaces[0]->name)); ce 433 ext/reflection/php_reflection.c string_printf(str, " implements %s", ZSTR_VAL(ce->interfaces[0]->name)); ce 435 ext/reflection/php_reflection.c for (i = 1; i < ce->num_interfaces; ++i) { ce 436 ext/reflection/php_reflection.c string_printf(str, ", %s", ZSTR_VAL(ce->interfaces[i]->name)); ce 442 ext/reflection/php_reflection.c if (ce->type == ZEND_USER_CLASS) { ce 443 ext/reflection/php_reflection.c string_printf(str, "%s @@ %s %d-%d\n", indent, ZSTR_VAL(ce->info.user.filename), ce 444 ext/reflection/php_reflection.c ce->info.user.line_start, ce->info.user.line_end); ce 449 ext/reflection/php_reflection.c count = zend_hash_num_elements(&ce->constants_table); ce 455 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_STR_KEY_VAL(&ce->constants_table, key, value) { ce 464 ext/reflection/php_reflection.c count = zend_hash_num_elements(&ce->properties_info); ce 468 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop) { ce 482 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop) { ce 492 ext/reflection/php_reflection.c count = zend_hash_num_elements(&ce->function_table); ce 496 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { ce 498 ext/reflection/php_reflection.c && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) ce 510 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_PTR(&ce->function_table, mptr) { ce 512 ext/reflection/php_reflection.c && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) ce 515 ext/reflection/php_reflection.c _function_string(str, mptr, ce, ZSTR_VAL(sub_indent.buf)); ce 524 ext/reflection/php_reflection.c count = zend_hash_num_elements(&ce->properties_info) - count_static_props - count_shadow_props; ce 529 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_PTR(&ce->properties_info, prop) { ce 548 ext/reflection/php_reflection.c if (!zend_hash_exists(&ce->properties_info, prop_name)) { ce 563 ext/reflection/php_reflection.c count = zend_hash_num_elements(&ce->function_table) - count_static_funcs; ce 572 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, key, mptr) { ce 574 ext/reflection/php_reflection.c && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) ce 580 ext/reflection/php_reflection.c || mptr->common.scope == ce ce 586 ext/reflection/php_reflection.c if (ce == zend_ce_closure && obj && (len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) ce 595 ext/reflection/php_reflection.c _function_string(&dyn, mptr, ce, ZSTR_VAL(sub_indent.buf)); ce 985 ext/reflection/php_reflection.c zend_class_entry *ce = (zend_class_entry*)Z_PTR_P(el); ce 991 ext/reflection/php_reflection.c if ((ce->type == ZEND_INTERNAL_CLASS) && ce->info.internal.module && !strcasecmp(ce->info.internal.module->name, module->name)) { ce 993 ext/reflection/php_reflection.c if (!zend_binary_strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key))) { ce 995 ext/reflection/php_reflection.c _class_string(str, ce, NULL, indent); ce 1170 ext/reflection/php_reflection.c PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object) ce 1175 ext/reflection/php_reflection.c ZVAL_STR_COPY(&name, ce->name); ce 1178 ext/reflection/php_reflection.c intern->ptr = ce; ce 1180 ext/reflection/php_reflection.c intern->ce = ce; ce 1207 ext/reflection/php_reflection.c intern->ce = NULL; ce 1238 ext/reflection/php_reflection.c intern->ce = fptr->common.scope; ce 1260 ext/reflection/php_reflection.c intern->ce = fptr->common.scope; ce 1280 ext/reflection/php_reflection.c intern->ce = NULL; ce 1290 ext/reflection/php_reflection.c static void reflection_method_factory(zend_class_entry *ce, zend_function *method, zval *closure_object, zval *object) ce 1297 ext/reflection/php_reflection.c zend_resolve_method_name(ce, method) : method->common.function_name); ce 1303 ext/reflection/php_reflection.c intern->ce = ce; ce 1314 ext/reflection/php_reflection.c static void reflection_property_factory(zend_class_entry *ce, zend_property_info *prop, zval *object) ce 1327 ext/reflection/php_reflection.c zend_class_entry *tmp_ce = ce, *store_ce = ce; ce 1331 ext/reflection/php_reflection.c ce = tmp_ce; ce 1338 ext/reflection/php_reflection.c ce = store_ce; ce 1343 ext/reflection/php_reflection.c ZVAL_STR_COPY(&classname, prop->ce->name); ce 1348 ext/reflection/php_reflection.c reference->ce = ce; ce 1352 ext/reflection/php_reflection.c intern->ce = ce; ce 1463 ext/reflection/php_reflection.c if (EG(exception) && EG(exception)->ce == reflection_exception_ptr) { ce 1652 ext/reflection/php_reflection.c intern->ce = NULL; ce 1669 ext/reflection/php_reflection.c _function_string(&str, fptr, intern->ce, ""); ce 2170 ext/reflection/php_reflection.c intern->ce = zend_ce_generator; ce 2334 ext/reflection/php_reflection.c zend_class_entry *ce = NULL; ce 2360 ext/reflection/php_reflection.c ce = fptr->common.scope; ce 2377 ext/reflection/php_reflection.c ce = Z_OBJCE_P(classref); ce 2380 ext/reflection/php_reflection.c if ((ce = zend_lookup_class(Z_STR_P(classref))) == NULL) { ce 2390 ext/reflection/php_reflection.c if (ce == zend_ce_closure && Z_TYPE_P(classref) == IS_OBJECT ce 2397 ext/reflection/php_reflection.c } else if ((fptr = zend_hash_str_find_ptr(&ce->function_table, lcname, lcname_len)) == NULL) { ce 2400 ext/reflection/php_reflection.c "Method %s::%s() does not exist", ZSTR_VAL(ce->name), Z_STRVAL_P(method)); ce 2408 ext/reflection/php_reflection.c ce = Z_OBJCE_P(reference); ce 2410 ext/reflection/php_reflection.c if (instanceof_function(ce, zend_ce_closure)) { ce 2414 ext/reflection/php_reflection.c } else if ((fptr = zend_hash_str_find_ptr(&ce->function_table, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME))) == NULL) { ce 2416 ext/reflection/php_reflection.c "Method %s::%s() does not exist", ZSTR_VAL(ce->name), ZEND_INVOKE_FUNC_NAME); ce 2509 ext/reflection/php_reflection.c intern->ce = ce; ce 2590 ext/reflection/php_reflection.c zend_class_entry *ce; ce 2622 ext/reflection/php_reflection.c ce = param->fptr->common.scope; ce 2623 ext/reflection/php_reflection.c if (!ce) { ce 2629 ext/reflection/php_reflection.c ce = param->fptr->common.scope; ce 2630 ext/reflection/php_reflection.c if (!ce) { ce 2635 ext/reflection/php_reflection.c if (!ce->parent) { ce 2640 ext/reflection/php_reflection.c ce = ce->parent; ce 2645 ext/reflection/php_reflection.c ce = zend_lookup_class(name); ce 2648 ext/reflection/php_reflection.c ce = zend_lookup_class(param->arg_info->class_name); ce 2650 ext/reflection/php_reflection.c if (!ce) { ce 2656 ext/reflection/php_reflection.c zend_reflection_class_factory(ce, return_value); ce 3015 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3049 ext/reflection/php_reflection.c if ((ce = zend_lookup_class(Z_STR_P(classname))) == NULL) { ce 3060 ext/reflection/php_reflection.c ce = Z_OBJCE_P(classname); ce 3077 ext/reflection/php_reflection.c if (ce == zend_ce_closure && orig_obj && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) ce 3082 ext/reflection/php_reflection.c } else if ((mptr = zend_hash_str_find_ptr(&ce->function_table, lcname, name_len)) == NULL) { ce 3085 ext/reflection/php_reflection.c "Method %s::%s() does not exist", ZSTR_VAL(ce->name), name_str); ce 3096 ext/reflection/php_reflection.c intern->ce = ce; ce 3113 ext/reflection/php_reflection.c _function_string(&str, mptr, intern->ce, ""); ce 3231 ext/reflection/php_reflection.c fcc.called_scope = intern->ce; ce 3338 ext/reflection/php_reflection.c fcc.called_scope = intern->ce; ce 3561 ext/reflection/php_reflection.c RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope); ce 3630 ext/reflection/php_reflection.c "Method %s::%s does not have a prototype", ZSTR_VAL(intern->ce->name), ZSTR_VAL(mptr->common.function_name)); ce 3670 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3695 ext/reflection/php_reflection.c if ((ce = zend_lookup_class(Z_STR_P(argument))) == NULL) { ce 3702 ext/reflection/php_reflection.c ZVAL_STR_COPY(&classname, ce->name); ce 3705 ext/reflection/php_reflection.c intern->ptr = ce; ce 3720 ext/reflection/php_reflection.c static void add_class_vars(zend_class_entry *ce, int statics, zval *return_value) ce 3726 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->properties_info, key, prop_info) { ce 3728 ext/reflection/php_reflection.c prop_info->ce != ce) || ce 3730 ext/reflection/php_reflection.c !zend_check_protected(prop_info->ce, ce)) || ce 3732 ext/reflection/php_reflection.c prop_info->ce != ce)) { ce 3737 ext/reflection/php_reflection.c prop = &ce->default_static_members_table[prop_info->offset]; ce 3739 ext/reflection/php_reflection.c prop = &ce->default_properties_table[OBJ_PROP_TO_NUM(prop_info->offset)]; ce 3767 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3773 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3775 ext/reflection/php_reflection.c if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { ce 3780 ext/reflection/php_reflection.c add_class_vars(ce, 1, return_value); ce 3789 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3797 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3799 ext/reflection/php_reflection.c if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { ce 3802 ext/reflection/php_reflection.c prop = zend_std_get_static_property(ce, name, 1); ce 3808 ext/reflection/php_reflection.c "Class %s does not have a property named %s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 3823 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3831 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3833 ext/reflection/php_reflection.c if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { ce 3836 ext/reflection/php_reflection.c variable_ptr = zend_std_get_static_property(ce, name, 1); ce 3839 ext/reflection/php_reflection.c "Class %s does not have a property named %s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); ce 3853 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3858 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3860 ext/reflection/php_reflection.c if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { ce 3863 ext/reflection/php_reflection.c add_class_vars(ce, 1, return_value); ce 3864 ext/reflection/php_reflection.c add_class_vars(ce, 0, return_value); ce 3873 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3879 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3881 ext/reflection/php_reflection.c _class_string(&str, ce, &intern->obj, ""); ce 3902 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3907 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3908 ext/reflection/php_reflection.c RETURN_BOOL(ce->type == ZEND_INTERNAL_CLASS); ce 3917 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3922 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3923 ext/reflection/php_reflection.c RETURN_BOOL(ce->type == ZEND_USER_CLASS); ce 3932 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3937 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3938 ext/reflection/php_reflection.c RETURN_BOOL(ce->ce_flags & ZEND_ACC_ANON_CLASS); ce 3947 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3952 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3953 ext/reflection/php_reflection.c if (ce->type == ZEND_USER_CLASS) { ce 3954 ext/reflection/php_reflection.c RETURN_STR_COPY(ce->info.user.filename); ce 3965 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3970 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3971 ext/reflection/php_reflection.c if (ce->type == ZEND_USER_FUNCTION) { ce 3972 ext/reflection/php_reflection.c RETURN_LONG(ce->info.user.line_start); ce 3983 ext/reflection/php_reflection.c zend_class_entry *ce; ce 3988 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 3989 ext/reflection/php_reflection.c if (ce->type == ZEND_USER_CLASS) { ce 3990 ext/reflection/php_reflection.c RETURN_LONG(ce->info.user.line_end); ce 4001 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4006 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4007 ext/reflection/php_reflection.c if (ce->type == ZEND_USER_CLASS && ce->info.user.doc_comment) { ce 4008 ext/reflection/php_reflection.c RETURN_STR_COPY(ce->info.user.doc_comment); ce 4019 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4024 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4026 ext/reflection/php_reflection.c if (ce->constructor) { ce 4027 ext/reflection/php_reflection.c reflection_method_factory(ce, ce->constructor, NULL, return_value); ce 4039 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4048 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4050 ext/reflection/php_reflection.c if ((ce == zend_ce_closure && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) ce 4052 ext/reflection/php_reflection.c || zend_hash_str_exists(&ce->function_table, lc_name, name_len)) { ce 4067 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4078 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4080 ext/reflection/php_reflection.c if (ce == zend_ce_closure && !Z_ISUNDEF(intern->obj) && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) ce 4086 ext/reflection/php_reflection.c reflection_method_factory(ce, mptr, NULL, return_value); ce 4088 ext/reflection/php_reflection.c } else if (ce == zend_ce_closure && Z_ISUNDEF(intern->obj) && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) ce 4090 ext/reflection/php_reflection.c && object_init_ex(&obj_tmp, ce) == SUCCESS && (mptr = zend_get_closure_invoke_method(Z_OBJ(obj_tmp))) != NULL) { ce 4093 ext/reflection/php_reflection.c reflection_method_factory(ce, mptr, NULL, return_value); ce 4096 ext/reflection/php_reflection.c } else if ((mptr = zend_hash_str_find_ptr(&ce->function_table, lc_name, name_len)) != NULL) { ce 4097 ext/reflection/php_reflection.c reflection_method_factory(ce, mptr, NULL, return_value); ce 4109 ext/reflection/php_reflection.c static void _addmethod(zend_function *mptr, zend_class_entry *ce, zval *retval, zend_long filter, zval *obj) ce 4115 ext/reflection/php_reflection.c if (ce == zend_ce_closure && obj && (len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) ce 4124 ext/reflection/php_reflection.c reflection_method_factory(ce, mptr, NULL, &method); ce 4134 ext/reflection/php_reflection.c zend_class_entry *ce = *va_arg(args, zend_class_entry**); ce 4139 ext/reflection/php_reflection.c _addmethod(mptr, ce, retval, filter, obj); ce 4149 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4163 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4166 ext/reflection/php_reflection.c zend_hash_apply_with_arguments(&ce->function_table, (apply_func_args_t) _addmethod_va, 4, &ce, return_value, filter, intern->obj); ce 4167 ext/reflection/php_reflection.c if (Z_TYPE(intern->obj) != IS_UNDEF && instanceof_function(ce, zend_ce_closure)) { ce 4170 ext/reflection/php_reflection.c _addmethod(closure, ce, return_value, filter, &intern->obj); ce 4183 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4192 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4193 ext/reflection/php_reflection.c if ((property_info = zend_hash_find_ptr(&ce->properties_info, name)) != NULL) { ce 4217 ext/reflection/php_reflection.c zend_class_entry *ce, *ce2; ce 4228 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4229 ext/reflection/php_reflection.c if ((property_info = zend_hash_find_ptr(&ce->properties_info, name)) != NULL) { ce 4231 ext/reflection/php_reflection.c reflection_property_factory(ce, property_info, return_value); ce 4241 ext/reflection/php_reflection.c property_info_tmp.ce = ce; ce 4243 ext/reflection/php_reflection.c reflection_property_factory(ce, &property_info_tmp, return_value); ce 4269 ext/reflection/php_reflection.c if (!instanceof_function(ce, ce2)) { ce 4270 ext/reflection/php_reflection.c zend_throw_exception_ex(reflection_exception_ptr, -1, "Fully qualified property name %s::%s does not specify a base class of %s", ZSTR_VAL(ce2->name), str_name, ZSTR_VAL(ce->name)); ce 4273 ext/reflection/php_reflection.c ce = ce2; ce 4275 ext/reflection/php_reflection.c if ((property_info = zend_hash_str_find_ptr(&ce->properties_info, str_name, str_name_len)) != NULL && (property_info->flags & ZEND_ACC_SHADOW) == 0) { ce 4276 ext/reflection/php_reflection.c reflection_property_factory(ce, property_info, return_value); ce 4290 ext/reflection/php_reflection.c zend_class_entry *ce = *va_arg(args, zend_class_entry**); ce 4299 ext/reflection/php_reflection.c reflection_property_factory(ce, pptr, &property); ce 4310 ext/reflection/php_reflection.c zend_class_entry *ce = *va_arg(args, zend_class_entry**); ce 4324 ext/reflection/php_reflection.c if (zend_get_property_info(ce, hash_key->key, 1) == NULL) { ce 4330 ext/reflection/php_reflection.c property_info.ce = ce; ce 4332 ext/reflection/php_reflection.c reflection_property_factory(ce, &property_info, &property); ce 4344 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4358 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4361 ext/reflection/php_reflection.c zend_hash_apply_with_arguments(&ce->properties_info, (apply_func_args_t) _addproperty, 3, &ce, return_value, filter); ce 4365 ext/reflection/php_reflection.c zend_hash_apply_with_arguments(properties, (apply_func_args_t) _adddynproperty, 2, &ce, return_value); ce 4375 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4383 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4384 ext/reflection/php_reflection.c if (zend_hash_exists(&ce->constants_table, name)) { ce 4397 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4403 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4405 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_VAL(&ce->constants_table, val) { ce 4406 ext/reflection/php_reflection.c if (UNEXPECTED(zval_update_constant_ex(val, 1, ce) != SUCCESS)) { ce 4410 ext/reflection/php_reflection.c zend_hash_copy(Z_ARRVAL_P(return_value), &ce->constants_table, zval_add_ref_unref); ce 4419 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4428 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4429 ext/reflection/php_reflection.c ZEND_HASH_FOREACH_VAL(&ce->constants_table, value) { ce 4430 ext/reflection/php_reflection.c if (UNEXPECTED(zval_update_constant_ex(value, 1, ce) != SUCCESS)) { ce 4434 ext/reflection/php_reflection.c if ((value = zend_hash_find(&ce->constants_table, name)) == NULL) { ce 4445 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4450 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4451 ext/reflection/php_reflection.c RETVAL_BOOL(ce->ce_flags & mask); ce 4460 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4465 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4466 ext/reflection/php_reflection.c if (ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT | ZEND_ACC_EXPLICIT_ABSTRACT_CLASS | ZEND_ACC_IMPLICIT_ABSTRACT_CLASS)) { ce 4472 ext/reflection/php_reflection.c if (!ce->constructor) { ce 4476 ext/reflection/php_reflection.c RETURN_BOOL(ce->constructor->common.fn_flags & ZEND_ACC_PUBLIC); ce 4485 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4491 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4492 ext/reflection/php_reflection.c if (ce->ce_flags & (ZEND_ACC_INTERFACE | ZEND_ACC_TRAIT | ZEND_ACC_EXPLICIT_ABSTRACT_CLASS | ZEND_ACC_IMPLICIT_ABSTRACT_CLASS)) { ce 4496 ext/reflection/php_reflection.c if (ce->clone) { ce 4497 ext/reflection/php_reflection.c RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); ce 4502 ext/reflection/php_reflection.c if (ce->clone) { ce 4503 ext/reflection/php_reflection.c RETURN_BOOL(ce->clone->common.fn_flags & ZEND_ACC_PUBLIC); ce 4505 ext/reflection/php_reflection.c if (UNEXPECTED(object_init_ex(&obj, ce) != SUCCESS)) { ce 4552 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4557 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4559 ext/reflection/php_reflection.c RETURN_LONG(ce->ce_flags & ~(ZEND_ACC_CONSTANTS_UPDATED|ZEND_ACC_USE_GUARDS)); ce 4568 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4575 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4576 ext/reflection/php_reflection.c RETURN_BOOL(instanceof_function(Z_OBJCE_P(object), ce)); ce 4586 ext/reflection/php_reflection.c zend_class_entry *ce, *old_scope; ce 4590 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4592 ext/reflection/php_reflection.c if (UNEXPECTED(object_init_ex(return_value, ce) != SUCCESS)) { ce 4597 ext/reflection/php_reflection.c EG(scope) = ce; ce 4609 ext/reflection/php_reflection.c zend_throw_exception_ex(reflection_exception_ptr, 0, "Access to non-public constructor of class %s", ZSTR_VAL(ce->name)); ce 4645 ext/reflection/php_reflection.c php_error_docref(NULL, E_WARNING, "Invocation of %s's constructor failed", ZSTR_VAL(ce->name)); ce 4650 ext/reflection/php_reflection.c zend_throw_exception_ex(reflection_exception_ptr, 0, "Class %s does not have a constructor, so you cannot pass any constructor arguments", ZSTR_VAL(ce->name)); ce 4660 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4663 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4665 ext/reflection/php_reflection.c if (ce->create_object != NULL && ce->ce_flags & ZEND_ACC_FINAL) { ce 4666 ext/reflection/php_reflection.c zend_throw_exception_ex(reflection_exception_ptr, 0, "Class %s is an internal class marked as final that cannot be instantiated without invoking its constructor", ZSTR_VAL(ce->name)); ce 4670 ext/reflection/php_reflection.c object_init_ex(return_value, ce); ce 4680 ext/reflection/php_reflection.c zend_class_entry *ce, *old_scope; ce 4687 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4697 ext/reflection/php_reflection.c if (UNEXPECTED(object_init_ex(return_value, ce) != SUCCESS)) { ce 4702 ext/reflection/php_reflection.c EG(scope) = ce; ce 4713 ext/reflection/php_reflection.c zend_throw_exception_ex(reflection_exception_ptr, 0, "Access to non-public constructor of class %s", ZSTR_VAL(ce->name)); ce 4753 ext/reflection/php_reflection.c php_error_docref(NULL, E_WARNING, "Invocation of %s's constructor failed", ZSTR_VAL(ce->name)); ce 4758 ext/reflection/php_reflection.c zend_throw_exception_ex(reflection_exception_ptr, 0, "Class %s does not have a constructor, so you cannot pass any constructor arguments", ZSTR_VAL(ce->name)); ce 4768 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4773 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4778 ext/reflection/php_reflection.c if (ce->num_interfaces) { ce 4781 ext/reflection/php_reflection.c for (i=0; i < ce->num_interfaces; i++) { ce 4783 ext/reflection/php_reflection.c zend_reflection_class_factory(ce->interfaces[i], &interface); ce 4784 ext/reflection/php_reflection.c zend_hash_update(Z_ARRVAL_P(return_value), ce->interfaces[i]->name, &interface); ce 4795 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4801 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4806 ext/reflection/php_reflection.c for (i=0; i < ce->num_interfaces; i++) { ce 4807 ext/reflection/php_reflection.c add_next_index_str(return_value, zend_string_copy(ce->interfaces[i]->name)); ce 4817 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4823 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4827 ext/reflection/php_reflection.c for (i=0; i < ce->num_traits; i++) { ce 4829 ext/reflection/php_reflection.c zend_reflection_class_factory(ce->traits[i], &trait); ce 4830 ext/reflection/php_reflection.c zend_hash_update(Z_ARRVAL_P(return_value), ce->traits[i]->name, &trait); ce 4840 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4846 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4850 ext/reflection/php_reflection.c for (i=0; i < ce->num_traits; i++) { ce 4851 ext/reflection/php_reflection.c add_next_index_str(return_value, zend_string_copy(ce->traits[i]->name)); ce 4861 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4866 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4870 ext/reflection/php_reflection.c if (ce->trait_aliases) { ce 4872 ext/reflection/php_reflection.c while (ce->trait_aliases[i]) { ce 4874 ext/reflection/php_reflection.c zend_trait_method_reference *cur_ref = ce->trait_aliases[i]->trait_method; ce 4876 ext/reflection/php_reflection.c if (ce->trait_aliases[i]->alias) { ce 4878 ext/reflection/php_reflection.c mname = zend_string_alloc(ZSTR_LEN(cur_ref->ce->name) + ZSTR_LEN(cur_ref->method_name) + 2, 0); ce 4879 ext/reflection/php_reflection.c snprintf(ZSTR_VAL(mname), ZSTR_LEN(mname) + 1, "%s::%s", ZSTR_VAL(cur_ref->ce->name), ZSTR_VAL(cur_ref->method_name)); ce 4880 ext/reflection/php_reflection.c add_assoc_str_ex(return_value, ZSTR_VAL(ce->trait_aliases[i]->alias), ZSTR_LEN(ce->trait_aliases[i]->alias), mname); ce 4893 ext/reflection/php_reflection.c zend_class_entry *ce; ce 4898 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4900 ext/reflection/php_reflection.c if (ce->parent) { ce 4901 ext/reflection/php_reflection.c zend_reflection_class_factory(ce->parent, return_value); ce 4913 ext/reflection/php_reflection.c zend_class_entry *ce, *class_ce; ce 4917 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4948 ext/reflection/php_reflection.c RETURN_BOOL((ce != class_ce && instanceof_function(ce, class_ce))); ce 4957 ext/reflection/php_reflection.c zend_class_entry *ce, *interface_ce; ce 4961 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 4997 ext/reflection/php_reflection.c RETURN_BOOL(instanceof_function(ce, interface_ce)); ce 5006 ext/reflection/php_reflection.c zend_class_entry *ce; ce 5013 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 5015 ext/reflection/php_reflection.c RETURN_BOOL(ce->get_iterator != NULL); ce 5024 ext/reflection/php_reflection.c zend_class_entry *ce; ce 5031 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 5033 ext/reflection/php_reflection.c if ((ce->type == ZEND_INTERNAL_CLASS) && ce->info.internal.module) { ce 5034 ext/reflection/php_reflection.c reflection_extension_factory(return_value, ce->info.internal.module->name); ce 5044 ext/reflection/php_reflection.c zend_class_entry *ce; ce 5051 ext/reflection/php_reflection.c GET_REFLECTION_OBJECT_PTR(ce); ce 5053 ext/reflection/php_reflection.c if ((ce->type == ZEND_INTERNAL_CLASS) && ce->info.internal.module) { ce 5054 ext/reflection/php_reflection.c RETURN_STRING(ce->info.internal.module->name); ce 5165 ext/reflection/php_reflection.c zend_class_entry *ce; ce 5179 ext/reflection/php_reflection.c if ((ce = zend_lookup_class(Z_STR_P(classname))) == NULL) { ce 5187 ext/reflection/php_reflection.c ce = Z_OBJCE_P(classname); ce 5195 ext/reflection/php_reflection.c if ((property_info = zend_hash_str_find_ptr(&ce->properties_info, name_str, name_len)) == NULL || (property_info->flags & ZEND_ACC_SHADOW)) { ce 5203 ext/reflection/php_reflection.c zend_throw_exception_ex(reflection_exception_ptr, 0, "Property %s::$%s does not exist", ZSTR_VAL(ce->name), name_str); ce 5210 ext/reflection/php_reflection.c zend_class_entry *tmp_ce = ce; ce 5214 ext/reflection/php_reflection.c ce = tmp_ce; ce 5224 ext/reflection/php_reflection.c ZVAL_STR_COPY(&cname, property_info->ce->name); ce 5227 ext/reflection/php_reflection.c ZVAL_STR_COPY(&cname, ce->name); ce 5238 ext/reflection/php_reflection.c reference->prop.ce = ce; ce 5242 ext/reflection/php_reflection.c reference->ce = ce; ce 5245 ext/reflection/php_reflection.c intern->ce = ce; ce 5363 ext/reflection/php_reflection.c "Cannot access non-public member %s::%s", ZSTR_VAL(intern->ce->name), Z_STRVAL_P(name)); ce 5368 ext/reflection/php_reflection.c if (UNEXPECTED(zend_update_class_constants(intern->ce) != SUCCESS)) { ce 5371 ext/reflection/php_reflection.c if (Z_TYPE(CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) == IS_UNDEF) { ce 5372 ext/reflection/php_reflection.c php_error_docref(NULL, E_ERROR, "Internal error: Could not find the property %s::%s", ZSTR_VAL(intern->ce->name), ZSTR_VAL(ref->prop.name)); ce 5375 ext/reflection/php_reflection.c ZVAL_DUP(return_value, &CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]); ce 5386 ext/reflection/php_reflection.c member_p = zend_read_property(ref->ce, object, prop_name, prop_name_len, 1, &rv); ce 5409 ext/reflection/php_reflection.c "Cannot access non-public member %s::%s", ZSTR_VAL(intern->ce->name), Z_STRVAL_P(name)); ce 5419 ext/reflection/php_reflection.c if (UNEXPECTED(zend_update_class_constants(intern->ce) != SUCCESS)) { ce 5423 ext/reflection/php_reflection.c if (Z_TYPE(CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) == IS_UNDEF) { ce 5424 ext/reflection/php_reflection.c php_error_docref(NULL, E_ERROR, "Internal error: Could not find the property %s::%s", ZSTR_VAL(intern->ce->name), ZSTR_VAL(ref->prop.name)); ce 5427 ext/reflection/php_reflection.c variable_ptr = &CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]; ce 5449 ext/reflection/php_reflection.c zend_update_property(ref->ce, object, prop_name, prop_name_len, value); ce 5460 ext/reflection/php_reflection.c zend_class_entry *tmp_ce, *ce; ce 5474 ext/reflection/php_reflection.c ce = tmp_ce = ref->ce; ce 5480 ext/reflection/php_reflection.c ce = tmp_ce; ce 5481 ext/reflection/php_reflection.c if (tmp_ce == tmp_info->ce) { ce 5488 ext/reflection/php_reflection.c zend_reflection_class_factory(ce, return_value); ce 5568 ext/reflection/php_reflection.c intern->ce = NULL; ce 5720 ext/reflection/php_reflection.c zend_class_entry *ce = Z_PTR_P(zv); ce 5725 ext/reflection/php_reflection.c if ((ce->type == ZEND_INTERNAL_CLASS) && ce->info.internal.module && !strcasecmp(ce->info.internal.module->name, module->name)) { ce 5728 ext/reflection/php_reflection.c if (zend_binary_strcasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(hash_key->key), ZSTR_LEN(hash_key->key))) { ce 5733 ext/reflection/php_reflection.c name = ce->name; ce 5736 ext/reflection/php_reflection.c zend_reflection_class_factory(ce, &zclass); ce 5931 ext/reflection/php_reflection.c intern->ce = NULL; ce 48 ext/reflection/php_reflection.h PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object); ce 2686 ext/session/session.c zend_class_entry ce; ce 2702 ext/session/session.c INIT_CLASS_ENTRY(ce, PS_IFACE_NAME, php_session_iface_functions); ce 2703 ext/session/session.c php_session_iface_entry = zend_register_internal_class(&ce); ce 2706 ext/session/session.c INIT_CLASS_ENTRY(ce, PS_SID_IFACE_NAME, php_session_id_iface_functions); ce 2707 ext/session/session.c php_session_id_iface_entry = zend_register_internal_class(&ce); ce 2710 ext/session/session.c INIT_CLASS_ENTRY(ce, PS_UPDATE_TIMESTAMP_IFACE_NAME, php_session_update_timestamp_iface_functions); ce 2711 ext/session/session.c php_session_update_timestamp_iface_entry = zend_register_internal_class(&ce); ce 2715 ext/session/session.c INIT_CLASS_ENTRY(ce, PS_CLASS_NAME, php_session_class_functions); ce 2716 ext/session/session.c php_session_class_entry = zend_register_internal_class(&ce); ce 42 ext/simplexml/php_simplexml_exports.h PHP_SXE_API zend_object *sxe_object_new(zend_class_entry *ce); ce 54 ext/simplexml/simplexml.c static php_sxe_object* php_sxe_object_new(zend_class_entry *ce, zend_function *fptr_count); ce 71 ext/simplexml/simplexml.c subnode = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); ce 990 ext/simplexml/simplexml.c subnode = php_sxe_object_new(sxe_ref->zo.ce, sxe_ref->fptr_count); ce 1968 ext/simplexml/simplexml.c zend_call_method_with_0_params(object, intern->zo.ce, &intern->fptr_count, "count", &rv); ce 2049 ext/simplexml/simplexml.c clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); ce 2129 ext/simplexml/simplexml.c static zend_function* php_sxe_find_fptr_count(zend_class_entry *ce) ce 2132 ext/simplexml/simplexml.c zend_class_entry *parent = ce; ce 2144 ext/simplexml/simplexml.c fptr_count = zend_hash_str_find_ptr(&ce->function_table, "count", sizeof("count") - 1); ce 2156 ext/simplexml/simplexml.c static php_sxe_object* php_sxe_object_new(zend_class_entry *ce, zend_function *fptr_count) ce 2160 ext/simplexml/simplexml.c intern = ecalloc(1, sizeof(php_sxe_object) + zend_object_properties_size(ce)); ce 2167 ext/simplexml/simplexml.c zend_object_std_init(&intern->zo, ce); ce 2168 ext/simplexml/simplexml.c object_properties_init(&intern->zo, ce); ce 2178 ext/simplexml/simplexml.c sxe_object_new(zend_class_entry *ce) ce 2182 ext/simplexml/simplexml.c intern = php_sxe_object_new(ce, php_sxe_find_fptr_count(ce)); ce 2198 ext/simplexml/simplexml.c zend_class_entry *ce= sxe_class_entry; ce 2202 ext/simplexml/simplexml.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|C!lsb", &filename, &filename_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) { ce 2217 ext/simplexml/simplexml.c if (!ce) { ce 2218 ext/simplexml/simplexml.c ce = sxe_class_entry; ce 2221 ext/simplexml/simplexml.c fptr_count = php_sxe_find_fptr_count(ce); ce 2223 ext/simplexml/simplexml.c sxe = php_sxe_object_new(ce, fptr_count); ce 2244 ext/simplexml/simplexml.c zend_class_entry *ce= sxe_class_entry; ce 2248 ext/simplexml/simplexml.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) { ce 2271 ext/simplexml/simplexml.c if (!ce) { ce 2272 ext/simplexml/simplexml.c ce = sxe_class_entry; ce 2275 ext/simplexml/simplexml.c fptr_count = php_sxe_find_fptr_count(ce); ce 2277 ext/simplexml/simplexml.c sxe = php_sxe_object_new(ce, fptr_count); ce 2420 ext/simplexml/simplexml.c zend_object_iterator *php_sxe_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 2539 ext/simplexml/simplexml.c zend_class_entry *ce = sxe_class_entry; ce 2542 ext/simplexml/simplexml.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "o|C!", &node, &ce) == FAILURE) { ce 2561 ext/simplexml/simplexml.c if (!ce) { ce 2562 ext/simplexml/simplexml.c ce = sxe_class_entry; ce 2565 ext/simplexml/simplexml.c fptr_count = php_sxe_find_fptr_count(ce); ce 2567 ext/simplexml/simplexml.c sxe = php_sxe_object_new(ce, fptr_count); ce 2341 ext/snmp/snmp.c zend_class_entry ce, cex; ce 2366 ext/snmp/snmp.c INIT_CLASS_ENTRY(ce, "SNMP", php_snmp_class_methods); ce 2367 ext/snmp/snmp.c ce.create_object = php_snmp_object_new; ce 2371 ext/snmp/snmp.c php_snmp_ce = zend_register_internal_class(&ce); ce 453 ext/soap/php_encoding.c zend_class_entry *ce = Z_OBJCE_P(data); ce 459 ext/soap/php_encoding.c ZSTR_LEN(ce->name) == Z_STRLEN_P(tmp) && ce 460 ext/soap/php_encoding.c zend_binary_strncasecmp(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), Z_STRVAL_P(tmp), ZSTR_LEN(ce->name), ZSTR_LEN(ce->name)) == 0 && ce 1413 ext/soap/php_encoding.c zend_class_entry *ce = ZEND_STANDARD_CLASS_DEF_PTR; ce 1417 ext/soap/php_encoding.c ce = pce; ce 1425 ext/soap/php_encoding.c ce = tmp; ce 1449 ext/soap/php_encoding.c object_init_ex(ret, ce); ce 1458 ext/soap/php_encoding.c object_init_ex(ret, ce); ce 1474 ext/soap/php_encoding.c if (ce != ZEND_STANDARD_CLASS_DEF_PTR && ce 1483 ext/soap/php_encoding.c to_zval_object_ex(ret, &sdlType->encode->details, data, ce); ce 1491 ext/soap/php_encoding.c if (Z_TYPE_P(ret) == IS_OBJECT && ce != ZEND_STANDARD_CLASS_DEF_PTR) { ce 1493 ext/soap/php_encoding.c zobj->ce = ce; ce 1503 ext/soap/php_encoding.c object_init_ex(ret, ce); ce 1514 ext/soap/php_encoding.c object_init_ex(ret, ce); ce 1568 ext/soap/php_encoding.c object_init_ex(ret, ce); ce 2231 ext/soap/php_encoding.c zend_class_entry *ce = Z_OBJCE_P(data); ce 2236 ext/soap/php_encoding.c iter = ce->get_iterator(ce, data, 0); ce 90 ext/soap/php_soap.h zend_class_entry *ce; ce 108 ext/soap/soap.c !instanceof_function(EG(exception)->ce, soap_fault_class_entry)) {\ ce 645 ext/soap/soap.c zend_class_entry ce; ce 672 ext/soap/soap.c INIT_OVERLOADED_CLASS_ENTRY(ce, PHP_SOAP_CLIENT_CLASSNAME, soap_client_functions, ce 674 ext/soap/soap.c soap_class_entry = zend_register_internal_class(&ce); ce 677 ext/soap/soap.c INIT_CLASS_ENTRY(ce, PHP_SOAP_VAR_CLASSNAME, soap_var_functions); ce 678 ext/soap/soap.c soap_var_class_entry = zend_register_internal_class(&ce); ce 681 ext/soap/soap.c INIT_CLASS_ENTRY(ce, PHP_SOAP_SERVER_CLASSNAME, soap_server_functions); ce 682 ext/soap/soap.c soap_server_class_entry = zend_register_internal_class(&ce); ce 685 ext/soap/soap.c INIT_CLASS_ENTRY(ce, PHP_SOAP_FAULT_CLASSNAME, soap_fault_functions); ce 686 ext/soap/soap.c soap_fault_class_entry = zend_register_internal_class_ex(&ce, zend_ce_exception); ce 689 ext/soap/soap.c INIT_CLASS_ENTRY(ce, PHP_SOAP_PARAM_CLASSNAME, soap_param_functions); ce 690 ext/soap/soap.c soap_param_class_entry = zend_register_internal_class(&ce); ce 692 ext/soap/soap.c INIT_CLASS_ENTRY(ce, PHP_SOAP_HEADER_CLASSNAME, soap_header_functions); ce 693 ext/soap/soap.c soap_header_class_entry = zend_register_internal_class(&ce); ce 1298 ext/soap/soap.c zend_class_entry *ce; ce 1310 ext/soap/soap.c ce = zend_lookup_class(classname); ce 1312 ext/soap/soap.c if (ce) { ce 1314 ext/soap/soap.c service->soap_class.ce = ce; ce 1378 ext/soap/soap.c ft = &service->soap_class.ce->function_table; ce 1709 ext/soap/soap.c Z_OBJCE_P(tmp_soap) == service->soap_class.ce) { ce 1718 ext/soap/soap.c object_init_ex(&tmp_soap, service->soap_class.ce); ce 1739 ext/soap/soap.c int class_name_len = ZSTR_LEN(service->soap_class.ce->name); ce 1742 ext/soap/soap.c memcpy(class_name, ZSTR_VAL(service->soap_class.ce->name), class_name_len+1); ce 1746 ext/soap/soap.c ZVAL_STR_COPY(&constructor, service->soap_class.ce->name); ce 2590 ext/soap/soap.c if (EG(exception) && instanceof_function(EG(exception)->ce, zend_ce_error)) { ce 2598 ext/soap/soap.c EG(exception)->ce = soap_fault_class_entry; ce 66 ext/spl/php_spl.c zend_class_entry *ce; ce 72 ext/spl/php_spl.c ce = zend_hash_find_ptr(EG(class_table), lc_name); ce 75 ext/spl/php_spl.c ce = zend_lookup_class(name); ce 77 ext/spl/php_spl.c if (ce == NULL) { ce 82 ext/spl/php_spl.c return ce; ce 90 ext/spl/php_spl.c zend_class_entry *parent_class, *ce; ce 103 ext/spl/php_spl.c if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { ce 107 ext/spl/php_spl.c ce = Z_OBJCE_P(obj); ce 111 ext/spl/php_spl.c parent_class = ce->parent; ce 125 ext/spl/php_spl.c zend_class_entry *ce; ce 136 ext/spl/php_spl.c if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { ce 140 ext/spl/php_spl.c ce = Z_OBJCE_P(obj); ce 144 ext/spl/php_spl.c spl_add_interfaces(return_value, ce, 1, ZEND_ACC_INTERFACE); ce 154 ext/spl/php_spl.c zend_class_entry *ce; ce 165 ext/spl/php_spl.c if (NULL == (ce = spl_find_ce_by_name(Z_STR_P(obj), autoload))) { ce 169 ext/spl/php_spl.c ce = Z_OBJCE_P(obj); ce 173 ext/spl/php_spl.c spl_add_traits(return_value, ce, 1, ZEND_ACC_TRAIT); ce 392 ext/spl/php_spl.c zend_class_entry *ce; ce 429 ext/spl/php_spl.c zend_call_method(Z_ISUNDEF(alfi->obj)? NULL : &alfi->obj, alfi->ce, &alfi->func_ptr, ZSTR_VAL(func_name), ZSTR_LEN(func_name), retval, 1, class_name, NULL); ce 479 ext/spl/php_spl.c alfi.ce = fcc.calling_scope; ce 530 ext/spl/php_spl.c alfi.ce = fcc.calling_scope; ce 582 ext/spl/php_spl.c spl_alfi.ce = NULL; ce 732 ext/spl/php_spl.c add_next_index_str(&tmp, zend_string_copy(alfi->ce->name)); ce 154 ext/spl/spl_array.c zend_object_iterator *spl_array_get_iterator(zend_class_entry *ce, zval *object, int by_ref); ce 270 ext/spl/spl_array.c new_object = spl_array_object_new_ex(old_object->ce, zobject, 1); ce 1120 ext/spl/spl_array.c ZSTR_VAL(Z_OBJCE_P(array)->name), ZSTR_VAL(intern->std.ce->name)); ce 1144 ext/spl/spl_array.c zend_object_iterator *spl_array_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 1159 ext/spl/spl_array.c iterator->ce = ce; ce 1392 ext/spl/spl_array.c zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); ce 312 ext/spl/spl_directory.c intern->u.file.func_getCurr = zend_hash_str_find_ptr(&intern->std.ce->function_table, "getcurrentline", sizeof("getcurrentline") - 1); ce 334 ext/spl/spl_directory.c new_object = spl_filesystem_object_new_ex(old_object->ce); ce 358 ext/spl/spl_directory.c php_error_docref(NULL, E_ERROR, "An object of class %s cannot be cloned", ZSTR_VAL(old_object->ce->name)); ce 411 ext/spl/spl_directory.c static spl_filesystem_object *spl_filesystem_object_create_info(spl_filesystem_object *source, char *file_path, int file_path_len, int use_copy, zend_class_entry *ce, zval *return_value) /* {{{ */ ce 435 ext/spl/spl_directory.c ce = ce ? ce : source->info_class; ce 437 ext/spl/spl_directory.c zend_update_class_constants(ce); ce 439 ext/spl/spl_directory.c intern = spl_filesystem_from_obj(spl_filesystem_object_new_ex(ce)); ce 442 ext/spl/spl_directory.c if (ce->constructor->common.scope != spl_ce_SplFileInfo) { ce 444 ext/spl/spl_directory.c zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); ce 454 ext/spl/spl_directory.c static spl_filesystem_object *spl_filesystem_object_create_type(int ht, spl_filesystem_object *source, int type, zend_class_entry *ce, zval *return_value) /* {{{ */ ce 477 ext/spl/spl_directory.c ce = ce ? ce : source->info_class; ce 479 ext/spl/spl_directory.c if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { ce 483 ext/spl/spl_directory.c intern = spl_filesystem_from_obj(spl_filesystem_object_new_ex(ce)); ce 487 ext/spl/spl_directory.c if (ce->constructor->common.scope != spl_ce_SplFileInfo) { ce 489 ext/spl/spl_directory.c zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); ce 499 ext/spl/spl_directory.c ce = ce ? ce : source->file_class; ce 501 ext/spl/spl_directory.c if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { ce 505 ext/spl/spl_directory.c intern = spl_filesystem_from_obj(spl_filesystem_object_new_ex(ce)); ce 511 ext/spl/spl_directory.c if (ce->constructor->common.scope != spl_ce_SplFileObject) { ce 514 ext/spl/spl_directory.c zend_call_method_with_2_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1, &arg2); ce 728 ext/spl/spl_directory.c intern->u.dir.is_recursive = instanceof_function(intern->std.ce, spl_ce_RecursiveDirectoryIterator) ? 1 : 0; ce 1321 ext/spl/spl_directory.c zend_class_entry *ce = spl_ce_SplFileObject; ce 1326 ext/spl/spl_directory.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|C", &ce) == SUCCESS) { ce 1327 ext/spl/spl_directory.c intern->file_class = ce; ce 1339 ext/spl/spl_directory.c zend_class_entry *ce = spl_ce_SplFileInfo; ce 1344 ext/spl/spl_directory.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|C", &ce) == SUCCESS) { ce 1345 ext/spl/spl_directory.c intern->info_class = ce; ce 1357 ext/spl/spl_directory.c zend_class_entry *ce = intern->info_class; ce 1362 ext/spl/spl_directory.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|C", &ce) == SUCCESS) { ce 1363 ext/spl/spl_directory.c spl_filesystem_object_create_type(ZEND_NUM_ARGS(), intern, SPL_FS_INFO, ce, return_value); ce 1375 ext/spl/spl_directory.c zend_class_entry *ce = intern->info_class; ce 1380 ext/spl/spl_directory.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "|C", &ce) == SUCCESS) { ce 1386 ext/spl/spl_directory.c spl_filesystem_object_create_info(intern, dpath, (int)path_len, 1, ce, return_value); ce 1616 ext/spl/spl_directory.c zend_object_iterator *spl_filesystem_dir_get_iterator(zend_class_entry *ce, zval *object, int by_ref) ce 1814 ext/spl/spl_directory.c zend_object_iterator *spl_filesystem_tree_get_iterator(zend_class_entry *ce, zval *object, int by_ref) ce 368 ext/spl/spl_dllist.c zend_object_iterator *spl_dllist_get_iterator(zend_class_entry *ce, zval *object, int by_ref); ce 466 ext/spl/spl_dllist.c new_object = spl_dllist_object_new_ex(old_object->ce, zobject, 1); ce 480 ext/spl/spl_dllist.c zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); ce 1298 ext/spl/spl_dllist.c zend_object_iterator *spl_dllist_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 1314 ext/spl/spl_dllist.c iterator->intern.ce = ce; ce 213 ext/spl/spl_fixedarray.c zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref); ce 319 ext/spl/spl_fixedarray.c new_object = spl_fixedarray_object_new_ex(old_object->ce, zobject, 1); ce 369 ext/spl/spl_fixedarray.c zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", rv, offset); ce 425 ext/spl/spl_fixedarray.c zend_call_method_with_2_params(object, intern->std.ce, &intern->fptr_offset_set, "offsetSet", NULL, offset, value); ce 463 ext/spl/spl_fixedarray.c zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_del, "offsetUnset", NULL, offset); ce 513 ext/spl/spl_fixedarray.c zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_has, "offsetExists", &rv, offset); ce 534 ext/spl/spl_fixedarray.c zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); ce 1024 ext/spl/spl_fixedarray.c zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 1039 ext/spl/spl_fixedarray.c iterator->intern.ce = ce; ce 33 ext/spl/spl_functions.c zend_class_entry ce; ce 35 ext/spl/spl_functions.c INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions); ce 36 ext/spl/spl_functions.c *ppce = zend_register_internal_interface(&ce); ce 43 ext/spl/spl_functions.c zend_class_entry ce; ce 45 ext/spl/spl_functions.c INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); ce 46 ext/spl/spl_functions.c *ppce = zend_register_internal_class(&ce); ce 58 ext/spl/spl_functions.c zend_class_entry ce; ce 60 ext/spl/spl_functions.c INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); ce 61 ext/spl/spl_functions.c *ppce = zend_register_internal_class_ex(&ce, parent_ce); ce 135 ext/spl/spl_functions.c zend_string * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len) /* {{{ */ ce 137 ext/spl/spl_functions.c return zend_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), prop_name, prop_len, 0); ce 69 ext/spl/spl_functions.h zend_string *spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len); ce 109 ext/spl/spl_heap.c zend_call_method_with_2_params(object, heap_object->std.ce, &heap_object->fptr_cmp, "compare", &zresult, a, b); ce 350 ext/spl/spl_heap.c zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref); ce 450 ext/spl/spl_heap.c new_object = spl_heap_object_new_ex(old_object->ce, zobject, 1); ce 464 ext/spl/spl_heap.c zend_call_method_with_0_params(object, intern->std.ce, &intern->fptr_count, "count", &rv); ce 480 ext/spl/spl_heap.c static HashTable* spl_heap_object_get_debug_info_helper(zend_class_entry *ce, zval *obj, int *is_temp) { /* {{{ */ ce 497 ext/spl/spl_heap.c pnstr = spl_gen_private_prop_name(ce, "flags", sizeof("flags")-1); ce 502 ext/spl/spl_heap.c pnstr = spl_gen_private_prop_name(ce, "isCorrupted", sizeof("isCorrupted")-1); ce 516 ext/spl/spl_heap.c pnstr = spl_gen_private_prop_name(ce, "heap", sizeof("heap")-1); ce 1084 ext/spl/spl_heap.c zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 1100 ext/spl/spl_heap.c iterator->intern.ce = ce; ce 1108 ext/spl/spl_heap.c zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ ce 1124 ext/spl/spl_heap.c iterator->intern.ce = ce; ce 99 ext/spl/spl_iterators.c zend_class_entry *ce; ce 117 ext/spl/spl_iterators.c zend_class_entry *ce; ce 204 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->endIteration, "endIteration", NULL); ce 239 ext/spl/spl_iterators.c zend_class_entry *ce; ce 267 ext/spl/spl_iterators.c ce = object->iterators[object->level].ce; ce 270 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->callHasChildren, "callHasChildren", &retval); ce 272 ext/spl/spl_iterators.c zend_call_method_with_0_params(zobject, ce, NULL, "haschildren", &retval); ce 307 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->nextElement, "nextelement", NULL); ce 320 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->nextElement, "nextelement", NULL); ce 329 ext/spl/spl_iterators.c ce = object->iterators[object->level].ce; ce 332 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->callGetChildren, "callGetChildren", &child); ce 334 ext/spl/spl_iterators.c zend_call_method_with_0_params(zobject, ce, NULL, "getchildren", &child); ce 349 ext/spl/spl_iterators.c !((ce = Z_OBJCE(child)) && instanceof_function(ce, spl_ce_RecursiveIterator))) { ce 361 ext/spl/spl_iterators.c sub_iter = ce->get_iterator(ce, &child, 0); ce 364 ext/spl/spl_iterators.c object->iterators[object->level].ce = ce; ce 370 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->beginChildren, "beginchildren", NULL); ce 384 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->endChildren, "endchildren", NULL); ce 415 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->endChildren, "endchildren", NULL); ce 425 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, object->ce, &object->beginIteration, "beginIteration", NULL); ce 441 ext/spl/spl_iterators.c static zend_object_iterator *spl_recursive_it_get_iterator(zend_class_entry *ce, zval *zobject, int by_ref) ce 459 ext/spl/spl_iterators.c iterator->intern.funcs = ce->iterator_funcs.funcs; ce 547 ext/spl/spl_iterators.c intern->ce = Z_OBJCE_P(object); ce 549 ext/spl/spl_iterators.c intern->beginIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "beginiteration", sizeof("beginiteration") - 1); ce 553 ext/spl/spl_iterators.c intern->endIteration = zend_hash_str_find_ptr(&intern->ce->function_table, "enditeration", sizeof("enditeration") - 1); ce 557 ext/spl/spl_iterators.c intern->callHasChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callhaschildren", sizeof("callHasChildren") - 1); ce 561 ext/spl/spl_iterators.c intern->callGetChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "callgetchildren", sizeof("callGetChildren") - 1); ce 565 ext/spl/spl_iterators.c intern->beginChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "beginchildren", sizeof("beginchildren") - 1); ce 569 ext/spl/spl_iterators.c intern->endChildren = zend_hash_str_find_ptr(&intern->ce->function_table, "endchildren", sizeof("endchildren") - 1); ce 573 ext/spl/spl_iterators.c intern->nextElement = zend_hash_str_find_ptr(&intern->ce->function_table, "nextelement", sizeof("nextElement") - 1); ce 581 ext/spl/spl_iterators.c intern->iterators[0].ce = ce_iterator; ce 767 ext/spl/spl_iterators.c zend_class_entry *ce; ce 778 ext/spl/spl_iterators.c SPL_FETCH_SUB_ELEMENT(ce, object, ce); ce 784 ext/spl/spl_iterators.c zend_call_method_with_0_params(zobject, ce, NULL, "haschildren", return_value); ce 796 ext/spl/spl_iterators.c zend_class_entry *ce; ce 803 ext/spl/spl_iterators.c SPL_FETCH_SUB_ELEMENT(ce, object, ce); ce 809 ext/spl/spl_iterators.c zend_call_method_with_0_params(zobject, ce, NULL, "getchildren", return_value); ce 891 ext/spl/spl_iterators.c php_error_docref(NULL, E_ERROR, "The %s instance wasn't initialized properly", ZSTR_VAL((*zobject)->ce->name)); ce 1037 ext/spl/spl_iterators.c zend_call_method_with_0_params(&object->iterators[level].zobject, object->iterators[level].ce, NULL, "hasnext", &has_next); ce 1047 ext/spl/spl_iterators.c zend_call_method_with_0_params(&object->iterators[level].zobject, object->iterators[level].ce, NULL, "hasnext", &has_next); ce 1369 ext/spl/spl_iterators.c if (!function_handler && intern->inner.ce) { ce 1370 ext/spl/spl_iterators.c if ((function_handler = zend_hash_find_ptr(&intern->inner.ce->function_table, method)) == NULL) { ce 1397 ext/spl/spl_iterators.c php_error_docref(NULL, E_ERROR, "Method %s::%s() does not exist", intern->inner.ce->name, method); ce 1418 ext/spl/spl_iterators.c php_error_docref(NULL, E_ERROR, "Unable to call %s::%s()", intern->inner.ce->name, method); ce 1454 ext/spl/spl_iterators.c zend_class_entry *ce = NULL; ce 1504 ext/spl/spl_iterators.c ce = Z_OBJCE_P(zobject); ce 1505 ext/spl/spl_iterators.c if (!instanceof_function(ce, zend_ce_iterator)) { ce 1508 ext/spl/spl_iterators.c || !instanceof_function(ce, ce_cast) ce 1514 ext/spl/spl_iterators.c ce = ce_cast; ce 1516 ext/spl/spl_iterators.c if (instanceof_function(ce, zend_ce_aggregate)) { ce 1517 ext/spl/spl_iterators.c zend_call_method_with_0_params(zobject, ce, &ce->iterator_funcs.zf_new_iterator, "getiterator", &retval); ce 1523 ext/spl/spl_iterators.c zend_throw_exception_ex(spl_ce_LogicException, 0, "%s::getIterator() must return an object that implements Traversable", ZSTR_VAL(ce->name)); ce 1527 ext/spl/spl_iterators.c ce = Z_OBJCE_P(zobject); ce 1600 ext/spl/spl_iterators.c intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); ce 1602 ext/spl/spl_iterators.c intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0); ce 1847 ext/spl/spl_iterators.c zend_call_method_with_0_params(zthis, intern->std.ce, NULL, "accept", &retval); ce 1931 ext/spl/spl_iterators.c zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "haschildren", &retval); ce 1952 ext/spl/spl_iterators.c zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &retval); ce 1972 ext/spl/spl_iterators.c zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &retval); ce 2089 ext/spl/spl_iterators.c replacement = zend_read_property(intern->std.ce, getThis(), "replacement", sizeof("replacement")-1, 1, &rv); ce 2253 ext/spl/spl_iterators.c zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &retval); ce 2502 ext/spl/spl_iterators.c if (pos != intern->current.pos && instanceof_function(intern->inner.ce, spl_ce_SeekableIterator)) { ce 2505 ext/spl/spl_iterators.c zend_call_method_with_1_params(&intern->inner.zobject, intern->inner.ce, NULL, "seek", NULL, &zpos); ce 2656 ext/spl/spl_iterators.c zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "haschildren", &retval); ce 2666 ext/spl/spl_iterators.c zend_call_method_with_0_params(&intern->inner.zobject, intern->inner.ce, NULL, "getchildren", &zchildren); ce 3319 ext/spl/spl_iterators.c intern->inner.ce = NULL; ce 3330 ext/spl/spl_iterators.c intern->inner.ce = Z_OBJCE_P(it); ce 3331 ext/spl/spl_iterators.c intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, it, 0); ce 3493 ext/spl/spl_iterators.c zend_class_entry *ce = Z_OBJCE_P(obj); ce 3495 ext/spl/spl_iterators.c iter = ce->get_iterator(ce, obj, 0); ce 130 ext/spl/spl_iterators.h zend_class_entry *ce; ce 123 ext/spl/spl_observer.c zend_call_method_with_1_params(this, intern->std.ce, &intern->fptr_get_hash, "getHash", &rv, obj); ce 263 ext/spl/spl_observer.c new_object = spl_object_storage_new_ex(old_object->ce, zobject); ce 354 ext/spl/spl_observer.c if (zo1->ce != spl_ce_SplObjectStorage || zo2->ce != spl_ce_SplObjectStorage) { ce 2202 ext/sqlite3/sqlite3.c zend_class_entry ce; ce 2217 ext/sqlite3/sqlite3.c INIT_CLASS_ENTRY(ce, "SQLite3", php_sqlite3_class_methods); ce 2218 ext/sqlite3/sqlite3.c ce.create_object = php_sqlite3_object_new; ce 2222 ext/sqlite3/sqlite3.c php_sqlite3_sc_entry = zend_register_internal_class(&ce); ce 2225 ext/sqlite3/sqlite3.c INIT_CLASS_ENTRY(ce, "SQLite3Stmt", php_sqlite3_stmt_class_methods); ce 2226 ext/sqlite3/sqlite3.c ce.create_object = php_sqlite3_stmt_object_new; ce 2230 ext/sqlite3/sqlite3.c php_sqlite3_stmt_entry = zend_register_internal_class(&ce); ce 2233 ext/sqlite3/sqlite3.c INIT_CLASS_ENTRY(ce, "SQLite3Result", php_sqlite3_result_class_methods); ce 2234 ext/sqlite3/sqlite3.c ce.create_object = php_sqlite3_result_object_new; ce 2238 ext/sqlite3/sqlite3.c php_sqlite3_result_entry = zend_register_internal_class(&ce); ce 99 ext/standard/assert.c zend_class_entry ce; ce 112 ext/standard/assert.c INIT_CLASS_ENTRY(ce, "AssertionError", NULL); ce 113 ext/standard/assert.c assertion_error_ce = zend_register_internal_class_ex(&ce, zend_ce_error); ce 230 ext/standard/type.c zend_class_entry *ce = Z_OBJCE_P(arg); ce 231 ext/standard/type.c if (ZSTR_LEN(ce->name) == sizeof(INCOMPLETE_CLASS) - 1 ce 232 ext/standard/type.c && !memcmp(ZSTR_VAL(ce->name), INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1)) { ce 33 ext/standard/user_filters.c zend_class_entry *ce; ce 317 ext/standard/user_filters.c if (fdat->ce == NULL) { ce 318 ext/standard/user_filters.c if (NULL == (fdat->ce = zend_lookup_class(fdat->classname))) { ce 332 ext/standard/user_filters.c object_init_ex(&obj, fdat->ce); ce 726 ext/standard/var.c zend_class_entry *ce = Z_OBJ_P(struc)->ce; ce 727 ext/standard/var.c if (ce) { ce 732 ext/standard/var.c ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); ce 747 ext/standard/var.c "*", 1, ZSTR_VAL(name), ZSTR_LEN(name), ce->type & ZEND_INTERNAL_CLASS); ce 840 ext/standard/var.c zend_class_entry *ce = Z_OBJCE_P(struc); ce 842 ext/standard/var.c if (ce->serialize != NULL) { ce 847 ext/standard/var.c if (ce->serialize(struc, &serialized_data, &serialized_length, (zend_serialize_data *)var_hash) == SUCCESS) { ce 867 ext/standard/var.c if (ce != PHP_IC_ENTRY && zend_hash_str_exists(&ce->function_table, "__sleep", sizeof("__sleep")-1)) { ce 403 ext/standard/var_unserializer.c static inline int object_custom(UNSERIALIZE_PARAMETER, zend_class_entry *ce) ce 416 ext/standard/var_unserializer.c if (ce->unserialize == NULL) { ce 417 ext/standard/var_unserializer.c zend_error(E_WARNING, "Class %s has no unserializer", ZSTR_VAL(ce->name)); ce 418 ext/standard/var_unserializer.c object_init_ex(rval, ce); ce 419 ext/standard/var_unserializer.c } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash) != SUCCESS) { ce 428 ext/standard/var_unserializer.c static inline zend_long object_common1(UNSERIALIZE_PARAMETER, zend_class_entry *ce) ce 436 ext/standard/var_unserializer.c if (ce->serialize == NULL) { ce 437 ext/standard/var_unserializer.c object_init_ex(rval, ce); ce 441 ext/standard/var_unserializer.c zend_error(E_WARNING, "Erroneous data format for unserializing '%s'", ZSTR_VAL(ce->name)); ce 656 ext/standard/var_unserializer.c zend_class_entry *ce; ce 702 ext/standard/var_unserializer.c ce = PHP_IC_ENTRY; ce 708 ext/standard/var_unserializer.c ce = zend_lookup_class(class_name); ce 709 ext/standard/var_unserializer.c if (ce) { ce 727 ext/standard/var_unserializer.c ce = PHP_IC_ENTRY; ce 746 ext/standard/var_unserializer.c ce = PHP_IC_ENTRY; ce 761 ext/standard/var_unserializer.c if ((ce = zend_lookup_class(class_name)) == NULL) { ce 764 ext/standard/var_unserializer.c ce = PHP_IC_ENTRY; ce 777 ext/standard/var_unserializer.c ret = object_custom(UNSERIALIZE_PASSTHRU, ce); ce 786 ext/standard/var_unserializer.c elements = object_common1(UNSERIALIZE_PASSTHRU, ce); ce 90 ext/tidy/tidy.c zend_class_entry ce; \ ce 91 ext/tidy/tidy.c INIT_CLASS_ENTRY(ce, # classname, tidy_funcs_ ## name); \ ce 92 ext/tidy/tidy.c ce.create_object = tidy_object_new_ ## name; \ ce 93 ext/tidy/tidy.c tidy_ce_ ## name = zend_register_internal_class_ex(&ce, parent); \ ce 1306 ext/xmlreader/php_xmlreader.c zend_class_entry ce; ce 1317 ext/xmlreader/php_xmlreader.c INIT_CLASS_ENTRY(ce, "XMLReader", xmlreader_functions); ce 1318 ext/xmlreader/php_xmlreader.c ce.create_object = xmlreader_objects_new; ce 1319 ext/xmlreader/php_xmlreader.c xmlreader_class_entry = zend_register_internal_class(&ce); ce 1840 ext/xmlwriter/php_xmlwriter.c zend_class_entry ce; ce 1847 ext/xmlwriter/php_xmlwriter.c INIT_CLASS_ENTRY(ce, "XMLWriter", xmlwriter_class_functions); ce 1848 ext/xmlwriter/php_xmlwriter.c ce.create_object = xmlwriter_object_new; ce 1849 ext/xmlwriter/php_xmlwriter.c xmlwriter_class_entry_ce = zend_register_internal_class(&ce); ce 131 ext/xsl/php_xsl.c zend_class_entry ce; ce 138 ext/xsl/php_xsl.c REGISTER_XSL_CLASS(ce, "XSLTProcessor", NULL, php_xsl_xsltprocessor_class_functions, xsl_xsltprocessor_class_entry); ce 206 ext/xsl/php_xsl.c zend_class_entry *ce; ce 226 ext/xsl/php_xsl.c ce = xsl_xsltprocessor_class_entry; ce 229 ext/xsl/php_xsl.c object_init_ex(wrapper, ce); ce 88 ext/xsl/php_xsl.h #define REGISTER_XSL_CLASS(ce, name, parent_ce, funcs, entry) \ ce 89 ext/xsl/php_xsl.h INIT_CLASS_ENTRY(ce, name, funcs); \ ce 90 ext/xsl/php_xsl.h ce.create_object = xsl_objects_new; \ ce 91 ext/xsl/php_xsl.h entry = zend_register_internal_class_ex(&ce, parent_ce); ce 646 ext/xsl/xsltprocessor.c zend_class_entry *curce, *ce; ce 655 ext/xsl/xsltprocessor.c ce = zend_lookup_class(ret_class); ce 656 ext/xsl/xsltprocessor.c if (ce == NULL || !instanceof_function(ce, curce)) { ce 663 ext/xsl/xsltprocessor.c object_init_ex(return_value, ce); ce 3009 ext/zip/php_zip.c zend_class_entry ce; ce 3021 ext/zip/php_zip.c INIT_CLASS_ENTRY(ce, "ZipArchive", zip_class_functions); ce 3022 ext/zip/php_zip.c ce.create_object = php_zip_object_new; ce 3023 ext/zip/php_zip.c zip_class_entry = zend_register_internal_class(&ce); ce 44 main/streams/userspace.c zend_class_entry *ce; ce 287 main/streams/userspace.c object_init_ex(object, uwrap->ce); ce 296 main/streams/userspace.c if (uwrap->ce->constructor) { ce 302 main/streams/userspace.c fci.function_table = &uwrap->ce->function_table; ce 312 main/streams/userspace.c fcc.function_handler = uwrap->ce->constructor; ce 318 main/streams/userspace.c php_error_docref(NULL, E_WARNING, "Could not execute %s::%s()", ZSTR_VAL(uwrap->ce->name), ZSTR_VAL(uwrap->ce->constructor->common.function_name)); ce 508 main/streams/userspace.c if ((uwrap->ce = zend_lookup_class(classname)) != NULL) { ce 500 sapi/phpdbg/phpdbg.c zend_class_entry *ce; ce 553 sapi/phpdbg/phpdbg.c ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), name, ce) { ce 554 sapi/phpdbg/phpdbg.c if (ce->type == ZEND_USER_CLASS) { ce 555 sapi/phpdbg/phpdbg.c if (zend_hash_exists(files, ce->info.user.filename)) { ce 556 sapi/phpdbg/phpdbg.c ZEND_HASH_FOREACH_PTR(&ce->function_table, func) { ce 582 sapi/phpdbg/phpdbg_bp.c zend_class_entry *ce; ce 583 sapi/phpdbg/phpdbg_bp.c if (!(ce = zend_hash_str_find_ptr(EG(class_table), zend_str_tolower_dup(new_break->class_name, new_break->class_len), new_break->class_len))) { ce 586 sapi/phpdbg/phpdbg_bp.c func_table = &ce->function_table; ce 376 sapi/phpdbg/phpdbg_info.c static inline void phpdbg_print_class_name(zend_class_entry *ce) /* {{{ */ ce 378 sapi/phpdbg/phpdbg_info.c const char *visibility = ce->type == ZEND_USER_CLASS ? "User" : "Internal"; ce 379 sapi/phpdbg/phpdbg_info.c const char *type = (ce->ce_flags & ZEND_ACC_INTERFACE) ? "Interface" : (ce->ce_flags & ZEND_ACC_ABSTRACT) ? "Abstract Class" : "Class"; ce 381 sapi/phpdbg/phpdbg_info.c phpdbg_writeln("class", "type=\"%s\" flags=\"%s\" name=\"%.*s\" methodcount=\"%d\"", "%s %s %.*s (%d)", visibility, type, (int) ZSTR_LEN(ce->name), ZSTR_VAL(ce->name), zend_hash_num_elements(&ce->function_table)); ce 386 sapi/phpdbg/phpdbg_info.c zend_class_entry *ce; ce 392 sapi/phpdbg/phpdbg_info.c ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { ce 393 sapi/phpdbg/phpdbg_info.c if (ce->type == ZEND_USER_CLASS) { ce 394 sapi/phpdbg/phpdbg_info.c zend_hash_next_index_insert_ptr(&classes, ce); ce 404 sapi/phpdbg/phpdbg_info.c ZEND_HASH_FOREACH_PTR(&classes, ce) { ce 405 sapi/phpdbg/phpdbg_info.c phpdbg_print_class_name(ce); ce 407 sapi/phpdbg/phpdbg_info.c if (ce->parent) { ce 410 sapi/phpdbg/phpdbg_info.c pce = ce->parent; ce 418 sapi/phpdbg/phpdbg_info.c if (ce->info.user.filename) { ce 419 sapi/phpdbg/phpdbg_info.c phpdbg_writeln("classsource", "file=\"%s\" line=\"%u\"", "|---- in %s on line %u", ZSTR_VAL(ce->info.user.filename), ce->info.user.line_start); ce 85 sapi/phpdbg/phpdbg_list.c zend_class_entry *ce; ce 87 sapi/phpdbg/phpdbg_list.c if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { ce 91 sapi/phpdbg/phpdbg_list.c if ((function = zend_hash_str_find_ptr(&ce->function_table, lcname, strlen(lcname)))) { ce 107 sapi/phpdbg/phpdbg_list.c zend_class_entry *ce; ce 109 sapi/phpdbg/phpdbg_list.c if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { ce 110 sapi/phpdbg/phpdbg_list.c if (ce->type == ZEND_USER_CLASS) { ce 111 sapi/phpdbg/phpdbg_list.c if (ce->info.user.filename) { ce 112 sapi/phpdbg/phpdbg_list.c phpdbg_list_file(ce->info.user.filename, ce->info.user.line_end - ce->info.user.line_start + 1, ce->info.user.line_start, 0); ce 114 sapi/phpdbg/phpdbg_list.c phpdbg_error("list", "type=\"nosource\" class=\"%s\"", "The source of the requested class (%s) cannot be found", ZSTR_VAL(ce->name)); ce 117 sapi/phpdbg/phpdbg_list.c phpdbg_error("list", "type=\"internalclass\" class=\"%s\"", "The class requested (%s) is not user defined", ZSTR_VAL(ce->name)); ce 151 sapi/phpdbg/phpdbg_print.c zend_class_entry *ce; ce 153 sapi/phpdbg/phpdbg_print.c if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { ce 155 sapi/phpdbg/phpdbg_print.c (ce->type == ZEND_USER_CLASS) ? ce 157 sapi/phpdbg/phpdbg_print.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 159 sapi/phpdbg/phpdbg_print.c (ce->ce_flags & ZEND_ACC_ABSTRACT) ? ce 162 sapi/phpdbg/phpdbg_print.c ZSTR_VAL(ce->name), ce 163 sapi/phpdbg/phpdbg_print.c zend_hash_num_elements(&ce->function_table)); ce 167 sapi/phpdbg/phpdbg_print.c if (zend_hash_num_elements(&ce->function_table)) { ce 170 sapi/phpdbg/phpdbg_print.c ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { ce 185 sapi/phpdbg/phpdbg_print.c zend_class_entry *ce; ce 187 sapi/phpdbg/phpdbg_print.c if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { ce 192 sapi/phpdbg/phpdbg_print.c if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { ce 285 sapi/phpdbg/phpdbg_print.c static void phpdbg_print_opcodes_method_ce(zend_class_entry *ce, const char *function) { ce 288 sapi/phpdbg/phpdbg_print.c if (ce->type != ZEND_USER_CLASS) { ce 289 sapi/phpdbg/phpdbg_print.c phpdbg_out("function name: %s::%s (internal)\n", ce->name->val, function); ce 293 sapi/phpdbg/phpdbg_print.c if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { ce 297 sapi/phpdbg/phpdbg_print.c phpdbg_out("function name: %s::%s\n", ce->name->val, function); ce 302 sapi/phpdbg/phpdbg_print.c zend_class_entry *ce; ce 304 sapi/phpdbg/phpdbg_print.c if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { ce 306 sapi/phpdbg/phpdbg_print.c ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { ce 307 sapi/phpdbg/phpdbg_print.c if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { ce 308 sapi/phpdbg/phpdbg_print.c if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val, ce->name->len)) { ce 309 sapi/phpdbg/phpdbg_print.c phpdbg_print_opcodes_method_ce(ce, function); ce 317 sapi/phpdbg/phpdbg_print.c phpdbg_print_opcodes_method_ce(ce, function); ce 320 sapi/phpdbg/phpdbg_print.c static void phpdbg_print_opcodes_ce(zend_class_entry *ce) { ce 326 sapi/phpdbg/phpdbg_print.c (ce->type == ZEND_USER_CLASS) ? ce 328 sapi/phpdbg/phpdbg_print.c (ce->ce_flags & ZEND_ACC_INTERFACE) ? ce 330 sapi/phpdbg/phpdbg_print.c (ce->ce_flags & ZEND_ACC_ABSTRACT) ? ce 333 sapi/phpdbg/phpdbg_print.c ZSTR_VAL(ce->name)); ce 335 sapi/phpdbg/phpdbg_print.c if (ce->type != ZEND_USER_CLASS) { ce 339 sapi/phpdbg/phpdbg_print.c phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); ce 340 sapi/phpdbg/phpdbg_print.c ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { ce 353 sapi/phpdbg/phpdbg_print.c ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, method_name, method) { ce 360 sapi/phpdbg/phpdbg_print.c zend_class_entry *ce; ce 362 sapi/phpdbg/phpdbg_print.c if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { ce 364 sapi/phpdbg/phpdbg_print.c ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { ce 365 sapi/phpdbg/phpdbg_print.c if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { ce 366 sapi/phpdbg/phpdbg_print.c if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val, ce->name->len)) { ce 367 sapi/phpdbg/phpdbg_print.c phpdbg_print_opcodes_ce(ce); ce 375 sapi/phpdbg/phpdbg_print.c phpdbg_print_opcodes_ce(ce); ce 386 sapi/phpdbg/phpdbg_print.c zend_class_entry *ce; ce 397 sapi/phpdbg/phpdbg_print.c ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { ce 398 sapi/phpdbg/phpdbg_print.c if (ce->type == ZEND_USER_CLASS) { ce 400 sapi/phpdbg/phpdbg_print.c phpdbg_print_opcodes_ce(ce); ce 642 sapi/phpdbg/phpdbg_prompt.c zend_call_method_with_0_params(&zv, ex->ce, NULL, "__tostring", &tmp); ce 655 sapi/phpdbg/phpdbg_prompt.c phpdbg_error("exception", "name=\"%s\" file=\"%s\" line=\"" ZEND_LONG_FMT "\"", "Uncaught %s in %s on line " ZEND_LONG_FMT, ZSTR_VAL(ex->ce->name), ZSTR_VAL(file), line); ce 1527 sapi/phpdbg/phpdbg_prompt.c ZSTR_VAL(exception->ce->name), ZSTR_VAL(file), line, ce 180 sapi/phpdbg/phpdbg_utils.c zend_class_entry *ce; ce 185 sapi/phpdbg/phpdbg_utils.c ce = zend_lookup_class(lcname); ce 189 sapi/phpdbg/phpdbg_utils.c if (ce) { ce 190 sapi/phpdbg/phpdbg_utils.c func = zend_hash_find_ptr(&ce->function_table, lfname); ce 381 sapi/phpdbg/phpdbg_utils.c int phpdbg_safe_class_lookup(const char *name, int name_length, zend_class_entry **ce) { ce 400 sapi/phpdbg/phpdbg_utils.c *ce = zend_hash_str_find_ptr(EG(class_table), lc_name, lc_length); ce 408 sapi/phpdbg/phpdbg_utils.c *ce = zend_lookup_class(str_name); ce 412 sapi/phpdbg/phpdbg_utils.c return *ce ? SUCCESS : FAILURE; ce 763 sapi/phpdbg/phpdbg_utils.c zend_class_entry *ce; ce 766 sapi/phpdbg/phpdbg_utils.c if (!(ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1))))) { ce 767 sapi/phpdbg/phpdbg_utils.c ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(cur->op1)), EX_CONSTANT(cur->op1) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD); ce 768 sapi/phpdbg/phpdbg_utils.c CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1)), ce); ce 771 sapi/phpdbg/phpdbg_utils.c if (ce == exception->ce || (ce && instanceof_function(exception->ce, ce))) { ce 84 sapi/phpdbg/phpdbg_utils.h int phpdbg_safe_class_lookup(const char *name, int name_length, zend_class_entry **ce);