mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
19 lines
201 B
PHP
19 lines
201 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
|