What i want is to combine every value from first array with every value from second array. For example, let's take two arrays:
$array1 = ['green', 'red', 'blue'];
$array2 = ['s', 'm'];
The result array should be:
$result = [1 => 'green-s', 2 => 'green-m', 3 => 'red-s', 4 => 'red-m', 5 => 'blue-s' ...];
The result array can be different, but with that elements combined.