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

12 lines
206 B
PHP
Executable File

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