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

12 lines
205 B
PHP
Executable File

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