As it allows you to change the values of the array with foreach loop, which is faster than others (for or while).Huh?!? Maybe I misunderstood the sense of your words, but C<for> and C<foreach> are just synonims. Or were you referring to C-style C<for>'s (C<while>'s in disguise)?!?
In reply to Re^2: foreach array manipulation
by blazar
in thread foreach array manipulation
by nwkcmk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |