php iterate melalui loop

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