Lines Matching refs:ce

792 				zend_class_entry *ce = va_arg(*va, zend_class_entry *);  in zend_parse_arg_impl()  local
794 if (!zend_parse_arg_object(arg, p, ce, check_null)) { in zend_parse_arg_impl()
795 if (ce) { in zend_parse_arg_impl()
797 …zend_spprintf(error, 0, "must be of type ?%s, %s given", ZSTR_VAL(ce->name), zend_zval_type_name(a… in zend_parse_arg_impl()
800 return ZSTR_VAL(ce->name); in zend_parse_arg_impl()
1127 zend_class_entry *ce; in zend_parse_method_parameters() local
1145 ce = va_arg(va, zend_class_entry *); in zend_parse_method_parameters()
1148 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters()
1150 …ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_function_name(), ZSTR_VAL(ce->name), get_active_fu… in zend_parse_method_parameters()
1166 zend_class_entry *ce; in zend_parse_method_parameters_ex() local
1177 ce = va_arg(va, zend_class_entry *); in zend_parse_method_parameters_ex()
1180 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce)) { in zend_parse_method_parameters_ex()
1183 …ZSTR_VAL(ce->name), get_active_function_name(), ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_fu… in zend_parse_method_parameters_ex()
1221 if (UNEXPECTED(zval_update_constant_ex(&tmp, prop_info->ce) != SUCCESS)) { in update_property()
1234 return zval_update_constant_ex(val, prop_info->ce); in update_property()
1253 if (UNEXPECTED(zval_update_constant_ex(val, c->ce) != SUCCESS)) { in zend_update_class_constants()
1329 if (object->ce->default_properties_count) { in object_properties_init_ex()
1335 property_info = zend_get_property_info(object->ce, key, 1); in object_properties_init_ex()
1379 property_info = zend_get_property_info(object->ce, pname, 1); in object_properties_load()
1386 property_info = zend_get_property_info(object->ce, key, 1); in object_properties_load()
1934 zend_class_entry *ce; in zend_collect_module_handlers() local
1974 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
1975 if (ce->type == ZEND_INTERNAL_CLASS && in zend_collect_module_handlers()
1976 ce->default_static_members_count > 0) { in zend_collect_module_handlers()
1987 ZEND_HASH_FOREACH_PTR(CG(class_table), ce) { in zend_collect_module_handlers()
1988 if (ce->type == ZEND_INTERNAL_CLASS && in zend_collect_module_handlers()
1989 ce->default_static_members_count > 0) { in zend_collect_module_handlers()
1990 class_cleanup_handlers[--class_count] = ce; in zend_collect_module_handlers()
2084 uint32_t num_args, const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_args() argument
2089 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_args()
2092 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_args()
2095 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name), num_args); in zend_check_magic_method_args()
2102 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_args()
2108 static void zend_check_magic_method_arg_type(uint32_t arg_num, const zend_class_entry *ce, const ze… in zend_check_magic_method_arg_type() argument
2115 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name), in zend_check_magic_method_arg_type()
2121 static void zend_check_magic_method_return_type(const zend_class_entry *ce, const zend_function *fp… in zend_check_magic_method_return_type() argument
2137 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name), in zend_check_magic_method_return_type()
2143 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_non_static() argument
2147 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_non_static()
2152 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_static() argument
2156 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_static()
2161 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_public() argument
2166 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_public()
2171 const zend_class_entry *ce, const zend_function *fptr, int error_type) in zend_check_magic_method_no_return_type() argument
2175 ZSTR_VAL(ce->name), ZSTR_VAL(fptr->common.function_name)); in zend_check_magic_method_no_return_type()
2179 ZEND_API void zend_check_magic_method_implementation(const zend_class_entry *ce, const zend_functio… in zend_check_magic_method_implementation() argument
2187 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2188 zend_check_magic_method_no_return_type(ce, fptr, error_type); in zend_check_magic_method_implementation()
2190 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2191 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2192 zend_check_magic_method_no_return_type(ce, fptr, error_type); in zend_check_magic_method_implementation()
2194 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2195 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2196 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2198 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2199 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2200 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2201 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2203 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2204 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2205 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2206 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2207 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2209 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2210 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2211 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2212 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2213 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2215 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2216 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2217 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2218 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2219 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_BOOL); in zend_check_magic_method_implementation()
2221 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2222 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2223 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2224 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2225 zend_check_magic_method_arg_type(1, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2227 zend_check_magic_method_args(2, ce, fptr, error_type); in zend_check_magic_method_implementation()
2228 zend_check_magic_method_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2229 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2230 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2231 zend_check_magic_method_arg_type(1, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2233 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2234 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2235 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2236 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_STRING); in zend_check_magic_method_implementation()
2238 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2239 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2240 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2241 zend_check_magic_method_return_type(ce, fptr, error_type, (MAY_BE_ARRAY | MAY_BE_NULL)); in zend_check_magic_method_implementation()
2243 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2244 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2245 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2246 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2248 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2249 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2250 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2251 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2252 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2254 zend_check_magic_method_args(1, ce, fptr, error_type); in zend_check_magic_method_implementation()
2255 zend_check_magic_method_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2256 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2257 zend_check_magic_method_arg_type(0, ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2258 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_OBJECT); in zend_check_magic_method_implementation()
2260 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2261 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2263 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2264 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2265 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2266 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_ARRAY); in zend_check_magic_method_implementation()
2268 zend_check_magic_method_args(0, ce, fptr, error_type); in zend_check_magic_method_implementation()
2269 zend_check_magic_method_non_static(ce, fptr, error_type); in zend_check_magic_method_implementation()
2270 zend_check_magic_method_public(ce, fptr, error_type); in zend_check_magic_method_implementation()
2271 zend_check_magic_method_return_type(ce, fptr, error_type, MAY_BE_VOID); in zend_check_magic_method_implementation()
2276 ZEND_API void zend_add_magic_method(zend_class_entry *ce, zend_function *fptr, zend_string *lcname) in zend_add_magic_method() argument
2281 ce->clone = fptr; in zend_add_magic_method()
2283 ce->constructor = fptr; in zend_add_magic_method()
2284 ce->constructor->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_method()
2286 ce->destructor = fptr; in zend_add_magic_method()
2288 ce->__get = fptr; in zend_add_magic_method()
2289 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_method()
2291 ce->__set = fptr; in zend_add_magic_method()
2292 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_method()
2294 ce->__call = fptr; in zend_add_magic_method()
2296 ce->__unset = fptr; in zend_add_magic_method()
2297 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_method()
2299 ce->__isset = fptr; in zend_add_magic_method()
2300 ce->ce_flags |= ZEND_ACC_USE_GUARDS; in zend_add_magic_method()
2302 ce->__callstatic = fptr; in zend_add_magic_method()
2304 ce->__tostring = fptr; in zend_add_magic_method()
2306 ce->__debugInfo = fptr; in zend_add_magic_method()
2308 ce->__serialize = fptr; in zend_add_magic_method()
2310 ce->__unserialize = fptr; in zend_add_magic_method()
2602 zend_class_entry *ce = (zend_class_entry *)Z_PTR_P(el); in clean_module_class() local
2604 if (ce->type == ZEND_INTERNAL_CLASS && ce->info.internal.module->module_number == module_number) { in clean_module_class()
2850 …gister_class_alias_ex(const char *name, size_t name_len, zend_class_entry *ce, bool persistent) /*… in zend_register_class_alias_ex() argument
2872 ZVAL_ALIAS_PTR(&zv, ce); in zend_register_class_alias_ex()
2876 if (!(ce->ce_flags & ZEND_ACC_IMMUTABLE)) { in zend_register_class_alias_ex()
2877 ce->refcount++; in zend_register_class_alias_ex()
3017 zend_class_entry *ce; in zend_is_callable_check_class() local
3071 } else if ((ce = zend_lookup_class(name)) != NULL) { in zend_is_callable_check_class()
3073 fcc->calling_scope = ce; in zend_is_callable_check_class()
3078 instanceof_function(object->ce, scope) && in zend_is_callable_check_class()
3079 instanceof_function(scope, ce)) { in zend_is_callable_check_class()
3081 fcc->called_scope = object->ce; in zend_is_callable_check_class()
3083 fcc->called_scope = ce; in zend_is_callable_check_class()
3086 fcc->called_scope = fcc->object ? fcc->object->ce : ce; in zend_is_callable_check_class()
3278 instanceof_function(object->ce, fcc->calling_scope)) { in zend_is_callable_check_func()
3327 fcc->called_scope = fcc->object->ce; in zend_is_callable_check_func()
3343 return zend_create_member_string(object->ce->name, Z_STR_P(callable)); in zend_get_callable_name_ex()
3371 zend_class_entry *ce = Z_OBJCE_P(callable); in zend_get_callable_name_ex() local
3373 ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), in zend_get_callable_name_ex()
3416 fcc->calling_scope = object->ce; in zend_is_callable_at_frame()
3733 static zend_always_inline zend_bool is_persistent_class(zend_class_entry *ce) { in is_persistent_class() argument
3734 return (ce->type & ZEND_INTERNAL_CLASS) in is_persistent_class()
3735 && ce->info.internal.module->type == MODULE_PERSISTENT; in is_persistent_class()
3738 ZEND_API zend_property_info *zend_declare_typed_property(zend_class_entry *ce, zend_string *name, z… in zend_declare_typed_property() argument
3743 ce->ce_flags |= ZEND_ACC_HAS_TYPE_HINTS; in zend_declare_typed_property()
3746 if (ce->type == ZEND_INTERNAL_CLASS) { in zend_declare_typed_property()
3751 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_typed_property()
3763 if ((property_info_ptr = zend_hash_find_ptr(&ce->properties_info, name)) != NULL && in zend_declare_typed_property()
3766 zval_ptr_dtor(&ce->default_static_members_table[property_info->offset]); in zend_declare_typed_property()
3767 zend_hash_del(&ce->properties_info, name); in zend_declare_typed_property()
3769 property_info->offset = ce->default_static_members_count++; in zend_declare_typed_property()
3770ce->default_static_members_table = perealloc(ce->default_static_members_table, sizeof(zval) * ce->… in zend_declare_typed_property()
3772 ZVAL_COPY_VALUE(&ce->default_static_members_table[property_info->offset], property); in zend_declare_typed_property()
3773 if (!ZEND_MAP_PTR(ce->static_members_table)) { in zend_declare_typed_property()
3774 ZEND_ASSERT(ce->type == ZEND_INTERNAL_CLASS); in zend_declare_typed_property()
3776 ZEND_MAP_PTR_NEW(ce->static_members_table); in zend_declare_typed_property()
3779 ZEND_MAP_PTR_INIT(ce->static_members_table, &ce->default_static_members_table); in zend_declare_typed_property()
3784 if ((property_info_ptr = zend_hash_find_ptr(&ce->properties_info, name)) != NULL && in zend_declare_typed_property()
3787 zval_ptr_dtor(&ce->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)]); in zend_declare_typed_property()
3788 zend_hash_del(&ce->properties_info, name); in zend_declare_typed_property()
3790 ZEND_ASSERT(ce->type == ZEND_INTERNAL_CLASS); in zend_declare_typed_property()
3791 ZEND_ASSERT(ce->properties_info_table != NULL); in zend_declare_typed_property()
3792 ce->properties_info_table[OBJ_PROP_TO_NUM(property_info->offset)] = property_info; in zend_declare_typed_property()
3794 property_info->offset = OBJ_PROP_TO_OFFSET(ce->default_properties_count); in zend_declare_typed_property()
3795 ce->default_properties_count++; in zend_declare_typed_property()
3796ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_… in zend_declare_typed_property()
3799 if (ce->type == ZEND_INTERNAL_CLASS) { in zend_declare_typed_property()
3800ce->properties_info_table = perealloc(ce->properties_info_table, sizeof(zend_property_info *) * ce in zend_declare_typed_property()
3801 ce->properties_info_table[ce->default_properties_count - 1] = property_info; in zend_declare_typed_property()
3804 property_default_ptr = &ce->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)]; in zend_declare_typed_property()
3808 if (ce->type & ZEND_INTERNAL_CLASS) { in zend_declare_typed_property()
3810 if (is_persistent_class(ce)) { in zend_declare_typed_property()
3822 …end_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(name), ZSTR_LEN(name), i… in zend_declare_typed_property()
3825 …>name = zend_mangle_property_name("*", 1, ZSTR_VAL(name), ZSTR_LEN(name), is_persistent_class(ce)); in zend_declare_typed_property()
3832 property_info->ce = ce; in zend_declare_typed_property()
3835 zend_hash_update_ptr(&ce->properties_info, name, property_info); in zend_declare_typed_property()
3968 ZEND_API void zend_declare_property_ex(zend_class_entry *ce, zend_string *name, zval *property, int… in zend_declare_property_ex() argument
3970 …zend_declare_typed_property(ce, name, property, access_type, doc_comment, (zend_type) ZEND_TYPE_IN… in zend_declare_property_ex()
3974 ZEND_API void zend_declare_property(zend_class_entry *ce, const char *name, size_t name_length, zva… in zend_declare_property() argument
3976 zend_string *key = zend_string_init(name, name_length, is_persistent_class(ce)); in zend_declare_property()
3977 zend_declare_property_ex(ce, key, property, access_type, NULL); in zend_declare_property()
3982 ZEND_API void zend_declare_property_null(zend_class_entry *ce, const char *name, size_t name_length… in zend_declare_property_null() argument
3987 zend_declare_property(ce, name, name_length, &property, access_type); in zend_declare_property_null()
3991 ZEND_API void zend_declare_property_bool(zend_class_entry *ce, const char *name, size_t name_length… in zend_declare_property_bool() argument
3996 zend_declare_property(ce, name, name_length, &property, access_type); in zend_declare_property_bool()
4000 ZEND_API void zend_declare_property_long(zend_class_entry *ce, const char *name, size_t name_length… in zend_declare_property_long() argument
4005 zend_declare_property(ce, name, name_length, &property, access_type); in zend_declare_property_long()
4009 ZEND_API void zend_declare_property_double(zend_class_entry *ce, const char *name, size_t name_leng… in zend_declare_property_double() argument
4014 zend_declare_property(ce, name, name_length, &property, access_type); in zend_declare_property_double()
4018 ZEND_API void zend_declare_property_string(zend_class_entry *ce, const char *name, size_t name_leng… in zend_declare_property_string() argument
4022 ZVAL_NEW_STR(&property, zend_string_init(value, strlen(value), ce->type & ZEND_INTERNAL_CLASS)); in zend_declare_property_string()
4023 zend_declare_property(ce, name, name_length, &property, access_type); in zend_declare_property_string()
4027 ZEND_API void zend_declare_property_stringl(zend_class_entry *ce, const char *name, size_t name_len… in zend_declare_property_stringl() argument
4031 ZVAL_NEW_STR(&property, zend_string_init(value, value_len, ce->type & ZEND_INTERNAL_CLASS)); in zend_declare_property_stringl()
4032 zend_declare_property(ce, name, name_length, &property, access_type); in zend_declare_property_stringl()
4036 ZEND_API zend_class_constant *zend_declare_class_constant_ex(zend_class_entry *ce, zend_string *nam… in zend_declare_class_constant_ex() argument
4040 if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_declare_class_constant_ex()
4042 …RROR, "Access type for interface constant %s::%s must be public", ZSTR_VAL(ce->name), ZSTR_VAL(nam… in zend_declare_class_constant_ex()
4047 zend_error_noreturn(ce->type == ZEND_INTERNAL_CLASS ? E_CORE_ERROR : E_COMPILE_ERROR, in zend_declare_class_constant_ex()
4055 if (ce->type == ZEND_INTERNAL_CLASS) { in zend_declare_class_constant_ex()
4064 c->ce = ce; in zend_declare_class_constant_ex()
4066 ce->ce_flags &= ~ZEND_ACC_CONSTANTS_UPDATED; in zend_declare_class_constant_ex()
4069 if (!zend_hash_add_ptr(&ce->constants_table, name, c)) { in zend_declare_class_constant_ex()
4070 zend_error_noreturn(ce->type == ZEND_INTERNAL_CLASS ? E_CORE_ERROR : E_COMPILE_ERROR, in zend_declare_class_constant_ex()
4071 "Cannot redefine class constant %s::%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_declare_class_constant_ex()
4078 ZEND_API void zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_lengt… in zend_declare_class_constant() argument
4082 if (ce->type == ZEND_INTERNAL_CLASS) { in zend_declare_class_constant()
4087 zend_declare_class_constant_ex(ce, key, value, ZEND_ACC_PUBLIC, NULL); in zend_declare_class_constant()
4092 ZEND_API void zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_… in zend_declare_class_constant_null() argument
4097 zend_declare_class_constant(ce, name, name_length, &constant); in zend_declare_class_constant_null()
4101 ZEND_API void zend_declare_class_constant_long(zend_class_entry *ce, const char *name, size_t name_… in zend_declare_class_constant_long() argument
4106 zend_declare_class_constant(ce, name, name_length, &constant); in zend_declare_class_constant_long()
4110 ZEND_API void zend_declare_class_constant_bool(zend_class_entry *ce, const char *name, size_t name_… in zend_declare_class_constant_bool() argument
4115 zend_declare_class_constant(ce, name, name_length, &constant); in zend_declare_class_constant_bool()
4119 ZEND_API void zend_declare_class_constant_double(zend_class_entry *ce, const char *name, size_t nam… in zend_declare_class_constant_double() argument
4124 zend_declare_class_constant(ce, name, name_length, &constant); in zend_declare_class_constant_double()
4128 ZEND_API void zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t na… in zend_declare_class_constant_stringl() argument
4132 ZVAL_NEW_STR(&constant, zend_string_init(value, value_length, ce->type & ZEND_INTERNAL_CLASS)); in zend_declare_class_constant_stringl()
4133 zend_declare_class_constant(ce, name, name_length, &constant); in zend_declare_class_constant_stringl()
4137 ZEND_API void zend_declare_class_constant_string(zend_class_entry *ce, const char *name, size_t nam… in zend_declare_class_constant_string() argument
4139 zend_declare_class_constant_stringl(ce, name, name_length, value, strlen(value)); in zend_declare_class_constant_string()
4424 ZEND_API ZEND_COLD const char *zend_get_object_type(const zend_class_entry *ce) /* {{{ */ in zend_get_object_type() argument
4426 if(ce->ce_flags & ZEND_ACC_TRAIT) { in zend_get_object_type()
4428 } else if (ce->ce_flags & ZEND_ACC_INTERFACE) { in zend_get_object_type()