952 days continuous production uptime, 40k+ tp/s single node. Original corpo Bitbucket history not included — clean archive commit.
14 lines
250 B
PHP
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;
|