Home
last modified time | relevance | path

Searched refs:class_name (Results 1 - 25 of 58) sorted by relevance

123

/php-7.4/ext/spl/
H A Dspl_functions.h(last modified 13/02/2019 23:05)26 #define REGISTER_SPL_STD_CLASS(class_name, obj_ctor) \
27 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, NULL);
29 #define REGISTER_SPL_STD_CLASS_EX(class_name, obj_ctor, funcs) \
30 spl_register_std_class(&spl_ce_ ## class_name, # class_name, obj_ctor, funcs);
32 #define REGISTER_SPL_SUB_CLASS_EX(class_name, parent_class_name, obj_ctor, funcs) \
33 spl_register_sub_class(&spl_ce_ ## class_name, spl_ce_ ## parent_class_name, # class_name, obj_ctor, funcs);
35 #define REGISTER_SPL_INTERFACE(class_name) \
[all...]
H A Dspl_functions.c(last modified 13/02/2019 23:05)29 void spl_register_interface(zend_class_entry ** ppce, char * class_name, const zend_function_entry * functions) in spl_register_interface() argument
33 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions); in spl_register_interface()
39 PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, const zend_function_entry * function_list) in spl_register_std_class() argument
43 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_std_class()
54 PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, const zend_function_entry * function_list) in spl_register_sub_class() argument
58 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list); in spl_register_sub_class()
H A Dphp_spl.c(last modified 04/09/2019 08:00)176 #define SPL_ADD_CLASS(class_name, z_list, sub, allow, ce_flags) \
177 spl_add_classes(spl_ce_ ## class_name, z_list, sub, allow, ce_flags)
250 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len) /* {{{ */ in spl_autoload() argument
308 /* {{{ proto void spl_autoload(string class_name [, string file_extensions])
314 zend_string *class_name, *lc_name, *file_exts = SPL_G(autoload_extensions); in PHP_FUNCTION() local
316 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|S", &class_name, &file_exts) == FAILURE) { in PHP_FUNCTION()
328 lc_name = zend_string_tolower(class_name); in PHP_FUNCTION()
336 if (spl_autoload(class_name, lc_name, pos, pos1_len)) { in PHP_FUNCTION()
393 /* {{{ proto void spl_autoload_call(string class_name)
397 zval *class_name, retva in PHP_FUNCTION() local
[all...]
/php-7.4/sapi/phpdbg/
H A Dphpdbg_bp.c(last modified 04/02/2020 08:00)75 efree((char*)bp->class_name); in phpdbg_class_breaks_dtor()
90 if (bp->class_name) { in phpdbg_opline_breaks_dtor()
91 efree((char*)bp->class_name); in phpdbg_opline_breaks_dtor()
157 ((phpdbg_breakmethod_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
164 ((phpdbg_breakopline_t*)brake)->class_name, in phpdbg_export_breakpoints_to_string()
177 zend_string *filename = php_addcslashes_str(((phpdbg_breakopline_t*)brake)->class_name, strlen(((phpdbg_breakopline_t*)brake)->class_name), "\\\"\n", 3); in phpdbg_export_breakpoints_to_string()
438 PHPDBG_API void phpdbg_set_breakpoint_method(const char *class_name, const char *func_name) /* {{{ */ in phpdbg_set_breakpoint_method() argument
441 size_t class_len = strlen(class_name); in phpdbg_set_breakpoint_method()
445 if (*class_name in phpdbg_set_breakpoint_method()
[all...]
H A Dphpdbg_utils.c(last modified 03/06/2020 08:00)622 const char *prop_name, *class_name; in phpdbg_xml_object_property_dump() local
623 int unmangle = zend_unmangle_property_name(key, &class_name, &prop_name); in phpdbg_xml_object_property_dump()
625 if (class_name && unmangle == SUCCESS) { in phpdbg_xml_object_property_dump()
627 if (class_name[0] == '*') { in phpdbg_xml_object_property_dump()
630 phpdbg_xml(" class=\"%s\" protection=\"private\"", class_name); in phpdbg_xml_object_property_dump()
656 zend_string *class_name, *key; in phpdbg_xml_var_dump() local
704 class_name = Z_OBJ_HANDLER_P(zv, get_class_name)(Z_OBJ_P(zv)); in phpdbg_xml_var_dump()
705 phpdbg_xml("<object refstatus=\"%s\" class=\"%.*s\" id=\"%d\" num=\"%d\">", COMMON, (int) ZSTR_LEN(class_name), ZSTR_VAL(class_name), Z_OBJ_HANDLE_P(zv), myht ? zend_hash_num_elements(myht) : 0); in phpdbg_xml_var_dump()
706 zend_string_release(class_name); in phpdbg_xml_var_dump()
[all...]
H A Dphpdbg_bp.h(last modified 13/02/2019 23:05)73 phpdbg_breakbase(class_name);
85 const char *class_name; member
130 PHPDBG_API void phpdbg_set_breakpoint_method(const char* class_name, const char* func_name);
/php-7.4/Zend/
H A Dzend_list.c(last modified 26/06/2019 08:00)115 const char *class_name = get_active_class_name(&space); in zend_fetch_resource2() local
116 zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_name, space, get_active_function_name(), resource_type_name); in zend_fetch_resource2()
130 const char *class_name = get_active_class_name(&space); in zend_fetch_resource() local
131 zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_name, space, get_active_function_name(), resource_type_name); in zend_fetch_resource()
139 const char *space, *class_name; in zend_fetch_resource_ex() local
142 class_name = get_active_class_name(&space); in zend_fetch_resource_ex()
143 zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_name(), resource_type_name); in zend_fetch_resource_ex()
149 class_name = get_active_class_name(&space); in zend_fetch_resource_ex()
150 zend_error(E_WARNING, "%s%s%s(): supplied argument is not a valid %s resource", class_name, space, get_active_function_name(), resource_type_name); in zend_fetch_resource_ex()
160 const char *space, *class_name; in zend_fetch_resource2_ex() local
[all...]
H A Dzend_API.c(last modified 31/08/2020 08:00)92 const char *class_name = get_active_class_name(&space); in zend_wrong_param_count() local
94 zend_internal_argument_count_error(ZEND_ARG_USES_STRICT_TYPES(), "Wrong parameter count for %s%s%s()", class_name, space, get_active_function_name()); in zend_wrong_param_count() local
175 const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->name) : ""; in zend_wrong_parameters_none_error() local
180 class_name, \ in zend_wrong_parameters_none_error() local
181 class_name[0] ? "::" : "", \ in zend_wrong_parameters_none_error()
195 const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->name) : ""; in zend_wrong_parameters_none_exception() local
200 class_name, \ in zend_wrong_parameters_none_exception()
201 class_name[0] ? "::" : "", \ in zend_wrong_parameters_none_exception()
215 const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->name) : ""; in zend_wrong_parameters_count_error() local
220 class_name, \ in zend_wrong_parameters_count_error() local
234 const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->name) : ""; zend_wrong_parameters_count_exception() local
252 const char *class_name; zend_wrong_parameter_type_error() local
263 class_name, space, get_active_function_name(), num, expected_error[expected_type], zend_zval_type_name(arg)); zend_wrong_parameter_type_error() local
270 const char *class_name; zend_wrong_parameter_type_exception() local
288 const char *class_name; zend_wrong_parameter_class_error() local
295 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); zend_wrong_parameter_class_error() local
302 const char *class_name; zend_wrong_parameter_class_exception() local
316 const char *class_name; zend_wrong_callback_error() local
323 class_name, space, get_active_function_name(), num, error); zend_wrong_callback_error() local
331 const char *class_name; zend_wrong_callback_exception() local
346 const char *class_name = get_active_class_name(&space); zend_wrong_callback_deprecated() local
371 const char *class_name = get_active_class_name(&space); zend_parse_arg_class() local
374 class_name, space, get_active_function_name(), num, zend_parse_arg_class() local
382 const char *class_name = get_active_class_name(&space); zend_parse_arg_class() local
385 class_name, space, get_active_function_name(), num, zend_parse_arg_class() local
867 const char *class_name = get_active_class_name(&space); zend_parse_arg() local
905 const char *class_name = active_function->common.scope zend_parse_parameters_debug_error() local
985 const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->name) : ""; zend_parse_va_args() local
1332 const char *class_name, *prop_name; object_properties_load() local
2302 const char *class_name = (const char*)new_arg_info[i].type; zend_register_functions() local
2880 zend_disable_class(char *class_name, size_t class_name_length) zend_disable_class() argument
2887 zend_str_tolower_copy(ZSTR_VAL(key), class_name, class_name_length); zend_disable_class() local
3257 zend_create_method_string(zend_string *class_name, zend_string *method_name) zend_create_method_string() argument
[all...]
H A Dzend_interfaces.h(last modified 13/02/2019 23:06)51 #define REGISTER_MAGIC_INTERFACE(class_name, class_name_str) \
54 INIT_CLASS_ENTRY(ce, # class_name_str, zend_funcs_ ## class_name) \
55 zend_ce_ ## class_name = zend_register_internal_interface(&ce);\
56 zend_ce_ ## class_name->interface_gets_implemented = zend_implement_ ## class_name;\
59 #define REGISTER_MAGIC_IMPLEMENT(class_name, interface_name) \
60 zend_class_implements(zend_ce_ ## class_name, 1, zend_ce_ ## interface_name)
H A Dzend_builtin_functions.c(last modified 03/08/2020 08:00)137 ZEND_ARG_INFO(0, class_name)
142 ZEND_ARG_INFO(0, class_name)
1038 zend_string *class_name; in is_a_impl() local
1046 Z_PARAM_STR(class_name) in is_a_impl()
1068 if (!only_subclass && EXPECTED(zend_string_equals(instance_ce->name, class_name))) { in is_a_impl()
1071 ce = zend_lookup_class_ex(class_name, NULL, ZEND_FETCH_CLASS_NO_AUTOLOAD); in is_a_impl()
1087 /* {{{ proto bool is_subclass_of(mixed object_or_string, string class_name [, bool allow_string])
1095 /* {{{ proto bool is_a(mixed object_or_string, string class_name [, bool allow_string])
1150 /* {{{ proto array get_class_vars(string class_name)
1154 zend_string *class_name; in ZEND_FUNCTION() local
1233 const char *prop_name, *class_name; ZEND_FUNCTION() local
1544 zend_string *class_name; ZEND_FUNCTION() local
2217 zend_string *class_name = NULL; ZEND_FUNCTION() local
[all...]
H A Dzend_constants.c(last modified 13/02/2019 23:06)342 zend_string *class_name = zend_string_init(name, class_name_len, 0); in zend_get_constant_ex() local
346 if (zend_string_equals_literal_ci(class_name, "self")) { in zend_get_constant_ex()
352 } else if (zend_string_equals_literal_ci(class_name, "parent")) { in zend_get_constant_ex()
362 } else if (zend_string_equals_literal_ci(class_name, "static")) { in zend_get_constant_ex()
369 ce = zend_fetch_class(class_name, flags); in zend_get_constant_ex()
375 zend_throw_error(NULL, "Undefined class constant '%s::%s'", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex()
382 zend_throw_error(NULL, "Cannot access %s const %s::%s", zend_visibility_string(Z_ACCESS_FLAGS(c->value)), ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex()
394 zend_throw_error(NULL, "Cannot declare self-referencing constant '%s::%s'", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex()
409 zend_string_release_ex(class_name, 0); in zend_get_constant_ex()
H A Dzend_execute_API.c(last modified 16/12/2020 08:00)1370 zend_class_entry *zend_fetch_class(zend_string *class_name, int fetch_type) /* {{{ */ in zend_fetch_class() argument
1401 fetch_sub_type = zend_get_class_fetch_type(class_name); in zend_fetch_class()
1410 return zend_lookup_class_ex(class_name, NULL, fetch_type); in zend_fetch_class()
1411 } else if ((ce = zend_lookup_class_ex(class_name, NULL, fetch_type)) == NULL) { in zend_fetch_class()
1414 zend_throw_or_error(fetch_type, NULL, "Interface '%s' not found", ZSTR_VAL(class_name)); in zend_fetch_class()
1416 zend_throw_or_error(fetch_type, NULL, "Trait '%s' not found", ZSTR_VAL(class_name)); in zend_fetch_class()
1418 zend_throw_or_error(fetch_type, NULL, "Class '%s' not found", ZSTR_VAL(class_name)); in zend_fetch_class()
1427 zend_class_entry *zend_fetch_class_by_name(zend_string *class_name, zend_string *key, int fetch_type) /* {{{ */ in zend_fetch_class_by_name() argument
1432 return zend_lookup_class_ex(class_name, key, fetch_type); in zend_fetch_class_by_name()
1433 } else if ((ce = zend_lookup_class_ex(class_name, ke in zend_fetch_class_by_name()
[all...]
H A Dzend_types.h(last modified 12/12/2019 08:00)162 #define ZEND_TYPE_ENCODE_CLASS(class_name, allow_null) \
163 (((uintptr_t)(class_name)) | ((allow_null) ? Z_L(0x1) : Z_L(0x0)))
165 #define ZEND_TYPE_ENCODE_CLASS_CONST_0(class_name) \
166 ((zend_type) class_name)
167 #define ZEND_TYPE_ENCODE_CLASS_CONST_1(class_name) \
168 ((zend_type) "?" class_name)
169 #define ZEND_TYPE_ENCODE_CLASS_CONST_Q2(macro, class_name) \
170 macro(class_name)
171 #define ZEND_TYPE_ENCODE_CLASS_CONST_Q1(allow_null, class_name) \
172 ZEND_TYPE_ENCODE_CLASS_CONST_Q2(ZEND_TYPE_ENCODE_CLASS_CONST_ ##allow_null, class_name)
[all...]
H A Dzend.c(last modified 25/11/2020 08:00)303 const char *prop_name, *class_name; in print_hash() local
305 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len); in print_hash()
308 if (class_name && mangled == SUCCESS) { in print_hash()
309 if (class_name[0] == '*') { in print_hash()
313 smart_str_appends(buf, class_name); in print_hash()
405 zend_string *class_name = Z_OBJ_HANDLER_P(expr, get_class_name)(Z_OBJ_P(expr)); in zend_print_flat_zval_r() local
406 zend_printf("%s Object (", ZSTR_VAL(class_name)); in zend_print_flat_zval_r()
407 zend_string_release_ex(class_name, 0); in zend_print_flat_zval_r()
454 zend_string *class_name = Z_OBJ_HANDLER_P(expr, get_class_name)(Z_OBJ_P(expr)); in zend_print_zval_r_to_buf() local
455 smart_str_appends(buf, ZSTR_VAL(class_name)); in zend_print_zval_r_to_buf()
[all...]
H A Dzend_inheritance.c(last modified 07/10/2020 08:00)535 const char *class_name; in zend_append_type_hint() local
538 class_name = ZSTR_VAL(ZEND_TYPE_NAME(arg_info->type)); in zend_append_type_hint()
541 if (!strcasecmp(class_name, "self") && fptr->common.scope) { in zend_append_type_hint()
542 class_name = ZSTR_VAL(fptr->common.scope->name); in zend_append_type_hint()
544 } else if (!strcasecmp(class_name, "parent") && fptr->common.scope && fptr->common.scope->parent) { in zend_append_type_hint()
545 class_name = ZSTR_VAL(fptr->common.scope->parent->name); in zend_append_type_hint()
549 smart_str_appendl(str, class_name, class_name_len); in zend_append_type_hint()
1684 if (!alias->trait_method.class_name) { in zend_traits_copy_functions()
1686 alias->trait_method.class_name = zend_string_copy(fn->common.scope->name); in zend_traits_copy_functions()
1718 if (!alias->trait_method.class_name) { in zend_traits_copy_functions()
1797 zend_string* class_name = cur_precedence->exclude_class_names[j]; zend_traits_init_trait_structures() local
[all...]
H A Dzend_API.h(last modified 12/07/2019 08:00)108 #define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, return_reference, required_num_args, class_name, allow_null) \
110 { (const char*)(zend_uintptr_t)(required_num_args), ZEND_TYPE_ENCODE_CLASS_CONST(#class_name, allow_null), return_reference, 0 },
112 #define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO(name, class_name, allow_null) \
113 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(name, 0, -1, class_name, allow_null)
186 #define INIT_CLASS_ENTRY(class_container, class_name, functions) \
187 INIT_CLASS_ENTRY_EX(class_container, class_name, sizeof(class_name)-1, functions)
189 #define INIT_CLASS_ENTRY_EX(class_container, class_name, class_name_len, functions) \
192 class_container.name = zend_string_init_interned(class_name, class_name_len, 1); \
229 #define INIT_NS_CLASS_ENTRY(class_container, ns, class_name, function
[all...]
H A Dzend_compile.c(last modified 05/11/2020 08:00)950 zval *class_name = zend_ast_get_zval(ast); in zend_resolve_class_name_ast() local
951 if (Z_TYPE_P(class_name) != IS_STRING) { in zend_resolve_class_name_ast()
954 return zend_resolve_class_name(Z_STR_P(class_name), ast->attr); in zend_resolve_class_name_ast()
1231 ZEND_API int zend_unmangle_property_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_len) /* {{{ */ in zend_unmangle_property_name_ex() argument
1236 *class_name = NULL; in zend_unmangle_property_name_ex()
1264 *class_name = ZSTR_VAL(name) + 1; in zend_unmangle_property_name_ex()
1265 anonclass_src_len = zend_strnlen(*class_name + class_name_len + 1, ZSTR_LEN(name) - class_name_len - 2); in zend_unmangle_property_name_ex()
1341 static inline zend_bool class_name_refers_to_active_ce(zend_string *class_name, uint32_t fetch_type) /* {{{ */ in class_name_refers_to_active_ce() argument
1350 && zend_string_equals_ci(class_name, CG(active_class_entry)->name); in class_name_refers_to_active_ce()
1398 zval *class_name; in zend_try_compile_const_expr_resolve_class_name() local
1467 zend_try_ct_eval_class_const(zval *zv, zend_string *class_name, zend_string *name) zend_try_ct_eval_class_const() argument
5314 zend_string *class_name = zend_ast_get_str(ast); zend_compile_typename() local
8303 zend_string *class_name; zend_compile_const_expr_class_const() local
8341 zend_string *class_name = zend_ast_get_str(class_ast); zend_compile_const_expr_class_name() local
[all...]
H A Dzend_language_parser.y(last modified 30/01/2020 08:00)241 %type <ast> new_expr anonymous_class class_name class_name_reference simple_variable
1057 | class_name T_PAAMAYIM_NEKUDOTAYIM member_name argument_list
1065 class_name: label
1073 class_name { $$ = $1; }
1124 | class_name T_PAAMAYIM_NEKUDOTAYIM identifier
1181 class_name T_PAAMAYIM_NEKUDOTAYIM simple_variable
1196 | class_name T_PAAMAYIM_NEKUDOTAYIM simple_variable
/php-7.4/ext/standard/
H A Dvar.c(last modified 26/11/2020 08:00)56 const char *prop_name, *class_name; in php_object_property_dump() local
61 int unmangle = zend_unmangle_property_name(key, &class_name, &prop_name); in php_object_property_dump()
64 if (class_name && unmangle == SUCCESS) { in php_object_property_dump()
65 if (class_name[0] == '*') { in php_object_property_dump()
68 php_printf("\"%s\":\"%s\":private", prop_name, class_name); in php_object_property_dump()
95 zend_string *class_name; in php_var_dump() local
164 class_name = Z_OBJ_HANDLER_P(struc, get_class_name)(Z_OBJ_P(struc)); in php_var_dump()
165 php_printf("%sobject(%s)#%d (%d) {\n", COMMON, ZSTR_VAL(class_name), Z_OBJ_HANDLE_P(struc), myht ? zend_array_count(myht) : 0); in php_var_dump()
166 zend_string_release_ex(class_name, 0); in php_var_dump()
248 const char *prop_name, *class_name; in zval_object_property_dump() local
284 zend_string *class_name; php_debug_zval_dump() local
459 const char *class_name, *prop_name; php_object_element_export() local
[all...]
H A Dphp_incomplete_class.h(last modified 13/02/2019 23:06)30 class_name = php_lookup_class_name(struc); \
31 if (!class_name) { \
32 class_name = zend_string_init(INCOMPLETE_CLASS, sizeof(INCOMPLETE_CLASS) - 1, 0); \
36 class_name = zend_string_copy(Z_OBJCE_P(struc)->name); \
40 zend_string_release_ex(class_name, 0)
43 zend_string *class_name; \
H A Dincomplete_class.c(last modified 13/02/2019 23:06)37 zend_string *class_name; in incomplete_class_message() local
39 class_name = php_lookup_class_name(object); in incomplete_class_message()
41 if (class_name) { in incomplete_class_message()
42 php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, ZSTR_VAL(class_name)); in incomplete_class_message()
43 zend_string_release_ex(class_name, 0); in incomplete_class_message()
/php-7.4/ext/readline/
H A Dreadline_cli.c(last modified 26/08/2019 08:00)527 zend_string *class_name = NULL; in cli_completion_generator() local
533 class_name = zend_string_alloc(class_name_len, 0); in cli_completion_generator()
534 zend_str_tolower_copy(ZSTR_VAL(class_name), text, class_name_len); in cli_completion_generator()
535 if ((ce = zend_lookup_class(class_name)) == NULL) { in cli_completion_generator()
536 zend_string_release_ex(class_name, 0); in cli_completion_generator()
566 if (class_name) { in cli_completion_generator()
567 zend_string_release_ex(class_name, 0); in cli_completion_generator()
/php-7.4/ext/opcache/
H A Dzend_persist_calc.c(last modified 11/12/2019 08:00)308 zend_string *class_name = ZEND_TYPE_NAME(prop->type); in zend_persist_property_info_calc() local
309 ADD_INTERNED_STRING(class_name); in zend_persist_property_info_calc()
310 prop->type = ZEND_TYPE_ENCODE_CLASS(class_name, ZEND_TYPE_ALLOW_NULL(prop->type)); in zend_persist_property_info_calc()
452 if (ce->trait_aliases[i]->trait_method.class_name) { in zend_persist_class_entry_calc()
453 ADD_INTERNED_STRING(ce->trait_aliases[i]->trait_method.class_name); in zend_persist_class_entry_calc()
471 ADD_INTERNED_STRING(ce->trait_precedences[i]->trait_method.class_name); in zend_persist_class_entry_calc()
H A Dzend_file_cache.c(last modified 12/08/2020 08:00)740 if (q->trait_method.class_name) {
741 SERIALIZE_STR(q->trait_method.class_name);
767 if (q->trait_method.class_name) {
768 SERIALIZE_STR(q->trait_method.class_name);
1429 if (q->trait_method.class_name) {
1430 UNSERIALIZE_STR(q->trait_method.class_name);
1454 if (q->trait_method.class_name) {
1455 UNSERIALIZE_STR(q->trait_method.class_name);
/php-7.4/ext/opcache/Optimizer/
H A Dcompact_literals.c(last modified 30/07/2020 08:00)91 zval *class_name = &op_array->literals[op1]; in add_static_slot() local
95 key_len = Z_STRLEN_P(class_name) + sizeof("::") - 1 + Z_STRLEN_P(prop_name); in add_static_slot()
97 memcpy(ZSTR_VAL(key), Z_STRVAL_P(class_name), Z_STRLEN_P(class_name)); in add_static_slot()
98 memcpy(ZSTR_VAL(key) + Z_STRLEN_P(class_name), "::", sizeof("::") - 1); in add_static_slot()
99 memcpy(ZSTR_VAL(key) + Z_STRLEN_P(class_name) + sizeof("::") - 1, in add_static_slot()

Completed in 159 milliseconds

123