la sintaxis del bucle foreach es:
Código PHP:
foreach ($arr as &$value) {
echo($value);
}
Código PHP:
foreach ($arr1 as &$value1 and $arr2 as &$value2 and $arr3 as &$value3 and $arr4 as &$value4 and) {
echo($value1);
echo($value2);
echo($value3);
echo($value4);
}
Unicamente con un arreglo.