mirror of
https://github.com/php/php-src.git
synced 2024-12-16 21:37:49 +08:00
19 lines
231 B
PHP
19 lines
231 B
PHP
--TEST--
|
|
jump 03: goto inside control structures
|
|
--FILE--
|
|
<?php
|
|
do {
|
|
if (1) {
|
|
echo "1: ok\n";
|
|
goto L1;
|
|
} else {
|
|
echo "bug\n";
|
|
L1:
|
|
echo "2: ok\n";
|
|
}
|
|
} while (0);
|
|
?>
|
|
--EXPECT--
|
|
1: ok
|
|
2: ok
|