php-src/Zend/tests/jump03.phpt
2012-10-10 10:27:49 +08:00

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