php iterate through a loop

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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