I want to do something like this: I want to merge combinations of all values so that the result would be 4 string values in a flat array: I tried something like this: but it only brings me two values: And the $product variable seems to be unavailable. How to make it available in the array_map() scope? Answer array_map() accepts
Tag: string-concatenation
Concatenating lang CONST and STR CONST in PHP
Trying to concatenate: