This foreach $h!t is really hard to understand | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

This foreach $h!t is really hard to understand

what kind of uses has this function on real life

13th Jul 2016, 12:34 AM
Edson Palencia Vanegas
Edson Palencia Vanegas - avatar
2 Answers
+ 3
foreach is used and very usefull when have to loop in assoc. array
13th Jul 2016, 4:58 AM
Freelance.bg
+ 1
foreach is use to iterate through the columns in an array or data in a collection
13th Jul 2016, 9:45 AM
James Mackie
James Mackie - avatar