If your array is "huge"
It is reccomended to set a variable first for this case:
THIS->
$max = sizeof($huge_array);
for($i = 0; $i < $max;$i++)
{
code...
}
IS QUICKER THEN->
for($i = 0; $i < sizeof($huge_array);$i++)
{
code...
}
If your array is "huge"
It is reccomended to set a variable first for this case:
THIS->
$max = sizeof($huge_array);
for($i = 0; $i < $max;$i++)
{
code...
}
IS QUICKER THEN->
for($i = 0; $i < sizeof($huge_array);$i++)
{
code...
}