php for (;;) code example
Example 1: php loop through array
foreach($array as $item=>$values){
echo $values->filepath;
}
Example 2: php for next loop step
for ($i = 0; $i < 10; ++$i)
{
echo "I will loop 10 times";
}
foreach($array as $item=>$values){
echo $values->filepath;
}
for ($i = 0; $i < 10; ++$i)
{
echo "I will loop 10 times";
}