php iterate a través de un bucle

<?php
 
$scores = [1,2,3];
foreach ($scores as $score) {
 echo $score;
}
nomo_man