foreach(){ foreach(){ } }
$array = array(1,2); foreach ($array as $number) { foreach ($array as $number_nested) { echo $number . ' - ' . $number_nested; } }