Using the following arrays as input:
style numbers:
Array ( [0] => 1001 [1] => 1002 [2] => 1003 )
colors:
Array ( [0] => 'red' [1] => 'red' [2] => 'red' )
small size:
Array ( [0] => 1 [1] => 1 [2] => 1 )
large size:
Array ( [0] => 2 [1] => 2 [2] => 2 )
I need to create an array like this:
array(
'1001'=>array(
'color'=>'red',
'small_size'=>1,
'large_size'=>2,
),
'1002'=>array(
'color'=>'red',
'small_size'=>1,
'large_size'=>2,
),
'1003'=>array(
'color'=>'red',
'small_size'=>1,
'large_size'=>2,
)
)