php-src/Zend/tests/jump03.phpt
2008-03-28 14:35:01 +00:00

19 lines
201 B
PHP
Executable File

--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