+ 1
Tell me about foreach
3 ответов
+ 8
Foreach supports iteration over different kinds of values. It can be array or traversable objects.
0
u use it for looping it has a start and an end point, for example u can use for each to print a sequence from 1 to 10.
0
foreach will loop data in array