Recently I’ve learned one nice trick with for loop. When you use it, you should know he number of itereations. Most people do it like this:
-
-
for ($i = 0; $i < $s; $i++)
-
{
-
//do something clever here
-
‘;
-
}
-
But this requires counting number of elements before using a loop. Continue reading ‘Nice trick with FOR loop’ »









