foreach $x ($primes[$i]<=$n) { #### push $x{$n} #### foreach loop to iterate through the primes { if prime number currently being considered does not exceed $n { push it to the result list. } }
## push $x{$n} ##
## foreach loop to iterate through the primes { if prime number currently being considered does not exceed $n { push it to the result list. } }