Files
namaste/stubs/testContinue.php
gramps 373ebc8c93 Archive: Namaste PHP AMQP framework v1.0 (2017-2020)
952 days continuous production uptime, 40k+ tp/s single node.
Original corpo Bitbucket history not included — clean archive commit.
2026-04-05 09:49:30 -07:00

14 lines
250 B
PHP

<?php
$x = 0;
while ($x < 5) {
switch ($x) {
case 1 :
break 2;
// continue 2; <--- does not work
break;
}
$x++;
echo 'I am in loop 1' . PHP_EOL;
}
echo 'program ends with x = ' . $x . PHP_EOL;