Lines Matching refs:ZSTR_VAL

175 …const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->n…  in zend_wrong_parameters_none_error()
182 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_none_error()
195 …const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->n… in zend_wrong_parameters_none_exception()
202 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_none_exception()
215 …const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->n… in zend_wrong_parameters_count_error()
222 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_count_error()
234 …const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->n… in zend_wrong_parameters_count_exception()
241 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_count_exception()
375 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_class()
755 return ZSTR_VAL(ce->name); in zend_parse_arg_impl()
785 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_impl()
906 ? ZSTR_VAL(active_function->common.scope->name) : ""; in zend_parse_parameters_debug_error()
909 ZSTR_VAL(active_function->common.function_name), msg); in zend_parse_parameters_debug_error()
985 …const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->n… in zend_parse_va_args()
990 ZSTR_VAL(active_function->common.function_name), in zend_parse_va_args()
1120ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_function_name(), ZSTR_VAL(ce->name), get_active_fu… in zend_parse_method_parameters()
1153ZSTR_VAL(ce->name), get_active_function_name(), ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_fu… in zend_parse_method_parameters_ex()
1331 if (ZSTR_VAL(key)[0] == '\0') { in object_properties_load()
1388 zend_throw_error(NULL, "Cannot instantiate interface %s", ZSTR_VAL(class_type->name)); in _object_and_properties_init()
1390 zend_throw_error(NULL, "Cannot instantiate trait %s", ZSTR_VAL(class_type->name)); in _object_and_properties_init()
1392 zend_throw_error(NULL, "Cannot instantiate abstract class %s", ZSTR_VAL(class_type->name)); in _object_and_properties_init()
1833 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_startup_module_ex()
2021 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_register_module_ex()
2037 zend_str_tolower_copy(ZSTR_VAL(lcname), module->name, name_len); in zend_register_module_ex()
2075 if (ZSTR_VAL(fptr->common.function_name)[0] != '_' in zend_check_magic_method_implementation()
2076 || ZSTR_VAL(fptr->common.function_name)[1] != '_') { in zend_check_magic_method_implementation()
2083 …zend_str_tolower_copy(lcname, ZSTR_VAL(fptr->common.function_name), MIN(name_len, sizeof(lcname)-1… in zend_check_magic_method_implementation()
2087 …zend_error(error_type, "Destructor %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_DESTR… in zend_check_magic_method_implementation()
2089 …zend_error(error_type, "Method %s::%s() cannot accept any arguments", ZSTR_VAL(ce->name), ZEND_CLO… in zend_check_magic_method_implementation()
2092 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_GE… in zend_check_magic_method_implementation()
2094 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2098 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ZSTR_VAL(ce->name), ZEND_S… in zend_check_magic_method_implementation()
2100 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2104 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_UN… in zend_check_magic_method_implementation()
2106 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2110 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_IS… in zend_check_magic_method_implementation()
2112 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2116 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ZSTR_VAL(ce->name), ZEND_C… in zend_check_magic_method_implementation()
2118 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2124 …zend_error(error_type, "Method %s::__callStatic() must take exactly 2 arguments", ZSTR_VAL(ce->nam… in zend_check_magic_method_implementation()
2126 …zend_error(error_type, "Method %s::__callStatic() cannot take arguments by reference", ZSTR_VAL(ce… in zend_check_magic_method_implementation()
2131 …zend_error(error_type, "Method %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_TOSTRING_… in zend_check_magic_method_implementation()
2134 …zend_error(error_type, "Method %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_DEBUGINFO… in zend_check_magic_method_implementation()
2169 if ((lc_class_name = zend_memrchr(ZSTR_VAL(scope->name), '\\', class_name_len))) { in zend_register_functions()
2171 class_name_len -= (lc_class_name - ZSTR_VAL(scope->name)); in zend_register_functions()
2174 lc_class_name = zend_str_tolower_dup(ZSTR_VAL(scope->name), class_name_len); in zend_register_functions()
2187 … - access must be exactly one of public, protected or private", scope ? ZSTR_VAL(scope->name) : ""… in zend_register_functions()
2247 …zend_error(error_type, "Static function %s%s%s() cannot be abstract", scope ? ZSTR_VAL(scope->name… in zend_register_functions()
2252 …zend_error(error_type, "Interface %s cannot contain non abstract method %s()", ZSTR_VAL(scope->nam… in zend_register_functions()
2259 …zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? ZSTR_VAL(scope->name) … in zend_register_functions()
2321 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2327 } else if (ZSTR_VAL(lowercase_name)[0] != '_' || ZSTR_VAL(lowercase_name)[1] != '_') { in zend_register_functions()
2334 …zend_error(error_type, "Destructor %s::%s() cannot take arguments", ZSTR_VAL(scope->name), ptr->fn… in zend_register_functions()
2376 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
2378 …type, "Function registration failed - duplicate name - %s%s%s", scope ? ZSTR_VAL(scope->name) : ""… in zend_register_functions()
2403 …zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ct… in zend_register_functions()
2410 …zend_error(error_type, "Destructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(dto… in zend_register_functions()
2416 …zend_error(error_type, "%s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.… in zend_register_functions()
2422 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__call-… in zend_register_functions()
2428 …zend_error(error_type, "Method %s::%s() must be static", ZSTR_VAL(scope->name), ZSTR_VAL(__callsta… in zend_register_functions()
2434 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__tostr… in zend_register_functions()
2440 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__get->… in zend_register_functions()
2446 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__set->… in zend_register_functions()
2452 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__unset… in zend_register_functions()
2458 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__isset… in zend_register_functions()
2464 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__debug… in zend_register_functions()
2469 …_ERROR, "Constructor %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(ctor-… in zend_register_functions()
2473 …E_ERROR, "Destructor %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(dtor-… in zend_register_functions()
2477 …eturn(E_CORE_ERROR, "%s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(clone… in zend_register_functions()
2505 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_unregister_functions()
2779 zend_str_tolower_copy(ZSTR_VAL(lcname), name+1, name_len-1); in zend_register_class_alias_ex()
2782 zend_str_tolower_copy(ZSTR_VAL(lcname), name, name_len); in zend_register_class_alias_ex()
2868 zend_error(E_WARNING, "%s() has been disabled for security reasons", ZSTR_VAL(class_type->name)); in display_disabled_class()
2887 zend_str_tolower_copy(ZSTR_VAL(key), class_name, class_name_length); in zend_disable_class()
2917 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(name), name_len); in zend_is_callable_check_class()
2991 if (error) zend_spprintf(error, 0, "class '%.*s' not found", (int)name_len, ZSTR_VAL(name)); in zend_is_callable_check_class()
3037 zend_str_tolower_copy(ZSTR_VAL(lmname), Z_STRVAL_P(callable) + 1, Z_STRLEN_P(callable) - 1); in zend_is_callable_check_func()
3045 zend_str_tolower_copy(ZSTR_VAL(lmname), Z_STRVAL_P(callable), Z_STRLEN_P(callable)); in zend_is_callable_check_func()
3089 …_spprintf(error, 0, "class '%s' is not a subclass of '%s'", ZSTR_VAL(ce_org->name), ZSTR_VAL(fcc->… in zend_is_callable_check_func()
3195 …ntf(error, 0, "cannot call abstract method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3212 …"non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3218 …"Non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3220 …"Non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3235 …ility_string(fcc->function_handler->common.fn_flags), ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3244 …f(error, 0, "class '%s' does not have a method '%s'", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3246 if (error) zend_spprintf(error, 0, "function '%s' does not exist", ZSTR_VAL(mname)); in zend_is_callable_check_func()
3266 char *ptr = ZSTR_VAL(callable_name); in zend_create_method_string()
3267 memcpy(ptr, ZSTR_VAL(class_name), ZSTR_LEN(class_name)); in zend_create_method_string()
3271 memcpy(ptr, ZSTR_VAL(method_name), ZSTR_LEN(method_name) + 1); in zend_create_method_string()
3317 memcpy(ZSTR_VAL(callable_name), ZSTR_VAL(ce->name), ZSTR_LEN(ce->name)); in zend_get_callable_name_ex()
3318 memcpy(ZSTR_VAL(callable_name) + ZSTR_LEN(ce->name), "::__invoke", sizeof("::__invoke")); in zend_get_callable_name_ex()
3678 zend_str_tolower_copy(ZSTR_VAL(lname), module_name, name_len); in zend_get_module_version()
3790 …property_info->name = zend_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(n… in zend_declare_typed_property()
3793 …property_info->name = zend_mangle_property_name("*", 1, ZSTR_VAL(name), ZSTR_LEN(name), is_persist… in zend_declare_typed_property()
4010 …R, "Access type for interface constant %s::%s must be public", ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_declare_class_constant_ex()
4038 "Cannot redefine class constant %s::%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_declare_class_constant_ex()
4437 …!strncasecmp(ZSTR_VAL(name), ZSTR_VAL(f->common.function_name), ZSTR_LEN(f->common.function_name))… in zend_resolve_method_name()