3
In PHP, how can I reference the first for
from the second, as in the example below?
for ($i=0; $i < 10; $i++) {
for ($j=0; $j < 10; $j++) {
// Quero que esse afete o primeiro `for` e não o segundo
if ($j == $i) continue;
echo $j;
}
}
I learned to do it using language Kotlin, but there is some way to do something similar in PHP?
wow.... hahaha!!!
– MagicHat