<?php $test = array(); $merdas = array(1,2,4,5,6,7,8,9,9,7,76,56); foreach($merdas as $merda){ $test[$merda] = $merda * 2; } print_r($test);
You have javascript disabled. You will not be able to edit any code.