Lines Matching refs:ZSTR_VAL

208 …const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->n…  in zend_wrong_parameters_count_error()
215 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_count_error()
283 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_class()
653 return ZSTR_VAL(ce->name); in zend_parse_arg_impl()
679 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_impl()
797 ? ZSTR_VAL(active_function->common.scope->name) : ""; in zend_parse_parameters_debug_error()
800 ZSTR_VAL(active_function->common.function_name), msg); in zend_parse_parameters_debug_error()
876 …const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->n… in zend_parse_va_args()
881 ZSTR_VAL(active_function->common.function_name), in zend_parse_va_args()
1011ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_function_name(), ZSTR_VAL(ce->name), get_active_fu… in zend_parse_method_parameters()
1044ZSTR_VAL(ce->name), get_active_function_name(), ZSTR_VAL(Z_OBJCE_P(this_ptr)->name), get_active_fu… in zend_parse_method_parameters_ex()
1218 if (ZSTR_VAL(key)[0] == '\0') { in object_properties_load()
1275 zend_throw_error(NULL, "Cannot instantiate interface %s", ZSTR_VAL(class_type->name)); in _object_and_properties_init()
1277 zend_throw_error(NULL, "Cannot instantiate trait %s", ZSTR_VAL(class_type->name)); in _object_and_properties_init()
1279 zend_throw_error(NULL, "Cannot instantiate abstract class %s", ZSTR_VAL(class_type->name)); in _object_and_properties_init()
1816 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_startup_module_ex()
2004 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_register_module_ex()
2020 zend_str_tolower_copy(ZSTR_VAL(lcname), module->name, name_len); in zend_register_module_ex()
2060 …zend_str_tolower_copy(lcname, ZSTR_VAL(fptr->common.function_name), MIN(name_len, sizeof(lcname)-1… in zend_check_magic_method_implementation()
2064 …zend_error(error_type, "Destructor %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_DESTR… in zend_check_magic_method_implementation()
2066 …zend_error(error_type, "Method %s::%s() cannot accept any arguments", ZSTR_VAL(ce->name), ZEND_CLO… in zend_check_magic_method_implementation()
2069 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_GE… in zend_check_magic_method_implementation()
2071 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2075 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ZSTR_VAL(ce->name), ZEND_S… in zend_check_magic_method_implementation()
2077 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2081 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_UN… in zend_check_magic_method_implementation()
2083 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2087 …zend_error(error_type, "Method %s::%s() must take exactly 1 argument", ZSTR_VAL(ce->name), ZEND_IS… in zend_check_magic_method_implementation()
2089 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2093 …zend_error(error_type, "Method %s::%s() must take exactly 2 arguments", ZSTR_VAL(ce->name), ZEND_C… in zend_check_magic_method_implementation()
2095 …zend_error(error_type, "Method %s::%s() cannot take arguments by reference", ZSTR_VAL(ce->name), Z… in zend_check_magic_method_implementation()
2101 …zend_error(error_type, "Method %s::__callStatic() must take exactly 2 arguments", ZSTR_VAL(ce->nam… in zend_check_magic_method_implementation()
2103 …zend_error(error_type, "Method %s::__callStatic() cannot take arguments by reference", ZSTR_VAL(ce… in zend_check_magic_method_implementation()
2108 …zend_error(error_type, "Method %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_TOSTRING_… in zend_check_magic_method_implementation()
2111 …zend_error(error_type, "Method %s::%s() cannot take arguments", ZSTR_VAL(ce->name), ZEND_DEBUGINFO… in zend_check_magic_method_implementation()
2146 if ((lc_class_name = zend_memrchr(ZSTR_VAL(scope->name), '\\', class_name_len))) { in zend_register_functions()
2148 class_name_len -= (lc_class_name - ZSTR_VAL(scope->name)); in zend_register_functions()
2151 lc_class_name = zend_str_tolower_dup(ZSTR_VAL(scope->name), class_name_len); in zend_register_functions()
2164 … - access must be exactly one of public, protected or private", scope ? ZSTR_VAL(scope->name) : ""… in zend_register_functions()
2220 …zend_error(error_type, "Static function %s%s%s() cannot be abstract", scope ? ZSTR_VAL(scope->name… in zend_register_functions()
2225 …zend_error(error_type, "Interface %s cannot contain non abstract method %s()", ZSTR_VAL(scope->nam… in zend_register_functions()
2232 …zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? ZSTR_VAL(scope->name) … in zend_register_functions()
2238 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
2266 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2273 …zend_error(error_type, "Destructor %s::%s() cannot take arguments", ZSTR_VAL(scope->name), ptr->fn… in zend_register_functions()
2315 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_register_functions()
2317 …type, "Function registration failed - duplicate name - %s%s%s", scope ? ZSTR_VAL(scope->name) : ""… in zend_register_functions()
2340 …zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ct… in zend_register_functions()
2347 …zend_error(error_type, "Destructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(dto… in zend_register_functions()
2354 …zend_error(error_type, "%s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.… in zend_register_functions()
2360 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__call-… in zend_register_functions()
2366 …zend_error(error_type, "Method %s::%s() must be static", ZSTR_VAL(scope->name), ZSTR_VAL(__callsta… in zend_register_functions()
2372 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__tostr… in zend_register_functions()
2378 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__get->… in zend_register_functions()
2384 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__set->… in zend_register_functions()
2390 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__unset… in zend_register_functions()
2396 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__isset… in zend_register_functions()
2402 …zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__debug… in zend_register_functions()
2407 …_ERROR, "Constructor %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(ctor-… in zend_register_functions()
2411 …E_ERROR, "Destructor %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(dtor-… in zend_register_functions()
2415 …eturn(E_CORE_ERROR, "%s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(clone… in zend_register_functions()
2443 zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ptr->fname, fname_len); in zend_unregister_functions()
2658 …zend_str_tolower_copy(ZSTR_VAL(lowercase_name), ZSTR_VAL(orig_class_entry->name), ZSTR_LEN(class_e… in do_register_internal_class()
2719 zend_str_tolower_copy(ZSTR_VAL(lcname), name+1, name_len-1); in zend_register_class_alias_ex()
2722 zend_str_tolower_copy(ZSTR_VAL(lcname), name, name_len); in zend_register_class_alias_ex()
2793 zend_error(E_WARNING, "%s() has been disabled for security reasons", ZSTR_VAL(class_type->name)); in display_disabled_class()
2811 zend_str_tolower_copy(ZSTR_VAL(key), class_name, class_name_length); in zend_disable_class()
2833 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(name), name_len); in zend_is_callable_check_class()
2901 if (error) zend_spprintf(error, 0, "class '%.*s' not found", (int)name_len, ZSTR_VAL(name)); in zend_is_callable_check_class()
2951 zend_str_tolower(ZSTR_VAL(lmname), ZSTR_LEN(lmname)); in zend_is_callable_check_func()
2996 …_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()
3108 …ntf(error, 0, "cannot call abstract method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3111 …w_error(NULL, "Cannot call abstract method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3129 …"non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3135 …"Non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3137 …"Non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3149 …tf(error, 0, "cannot access private method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3160 …(error, 0, "cannot access protected method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL in zend_is_callable_check_func()
3169 …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()
3171 if (error) zend_spprintf(error, 0, "function '%s' does not exist", ZSTR_VAL(mname)); in zend_is_callable_check_func()
3224 ptr = ZSTR_VAL(*callable_name); in zend_is_callable_ex()
3225 memcpy(ptr, ZSTR_VAL(fcc->calling_scope->name), ZSTR_LEN(fcc->calling_scope->name)); in zend_is_callable_ex()
3281 ptr = ZSTR_VAL(*callable_name); in zend_is_callable_ex()
3311 ptr = ZSTR_VAL(*callable_name); in zend_is_callable_ex()
3312 memcpy(ptr, ZSTR_VAL(fcc->calling_scope->name), ZSTR_LEN(fcc->calling_scope->name)); in zend_is_callable_ex()
3365 memcpy(ZSTR_VAL(*callable_name), ZSTR_VAL(ce->name), ZSTR_LEN(ce->name)); in zend_is_callable_ex()
3366 memcpy(ZSTR_VAL(*callable_name) + ZSTR_LEN(ce->name), "::__invoke", sizeof("::__invoke")); in zend_is_callable_ex()
3606 zend_str_tolower_copy(ZSTR_VAL(lname), module_name, name_len); in zend_get_module_version()
3673 …property_info->name = zend_mangle_property_name(ZSTR_VAL(ce->name), ZSTR_LEN(ce->name), ZSTR_VAL(n… in zend_declare_property_ex()
3676 …property_info->name = zend_mangle_property_name("*", 1, ZSTR_VAL(name), ZSTR_LEN(name), ce->type &… in zend_declare_property_ex()
3758 …R, "Access type for interface constant %s::%s must be public", ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_declare_class_constant_ex()
3782 "Cannot redefine class constant %s::%s", ZSTR_VAL(ce->name), ZSTR_VAL(name)); in zend_declare_class_constant_ex()
3859 …turn(E_CORE_ERROR, "Property %s of class %s cannot be updated", ZSTR_VAL(name), ZSTR_VAL(Z_OBJCE_P… in zend_update_property_ex()
3876 …zend_error_noreturn(E_CORE_ERROR, "Property %s of class %s cannot be updated", name, ZSTR_VAL(Z_OB… in zend_update_property()
3903 …zend_error_noreturn(E_CORE_ERROR, "Property %s of class %s cannot be unset", name, ZSTR_VAL(Z_OBJC… in zend_unset_property()
4072 …oreturn(E_CORE_ERROR, "Property %s of class %s cannot be read", ZSTR_VAL(name), ZSTR_VAL(Z_OBJCE_P… in zend_read_property_ex()
4212 …!strncasecmp(ZSTR_VAL(name), ZSTR_VAL(f->common.function_name), ZSTR_LEN(f->common.function_name))… in zend_resolve_method_name()