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

12 lines
206 B
PHP

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