PHP - Loops
Given this nested loop, how can you modify it to stop all loops when $k == 1?
for ($i = 0; $i < 3; $i++) {
for ($j = 0; $j < 3; $j++) {
for ($k = 0; $k < 3; $k++) {
if ($k == 1) {
// What break statement stops all loops here?
}
echo "$i$j$k ";
}
}
}