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

12 lines
208 B
PHP

--TEST--
jump 08: goto into loop (forward)
--FILE--
<?php
goto L1;
while (0) {
L1: echo "bug\n";
}
?>
--EXPECTF--
Fatal error: 'goto' into loop or switch statement is disallowed in %sjump08.php on line 2