php iterate through a loop

Solutions on MaxInterview for php iterate through a loop by the best coders in the world

showing results for - "php iterate through a loop"
Pedro
18 Jan 2017
1<?php
2 
3$scores = [1,2,3];
4foreach ($scores as $score) {
5 echo $score;
6}
7