Link to home
Start Free TrialLog in
Avatar of rgbcof
rgbcof

asked on

per, how to exit for loop

I have a for loop

for ($i = 0; $i<$size; $i++)
{
  # if ($i > 100) exit for loop
}

How to exit out of for loop.
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial