php-src/Zend/tests/jump03.phpt
2020-02-03 22:52:20 +01:00

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