1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/Zend/tests/jump09.phpt
2020-02-03 22:52:20 +01:00

14 lines
243 B
PHP

--TEST--
jump 09: goto into switch (backward)
--FILE--
<?php
switch (0) {
case 1:
L1: echo "bug\n";
break;
}
goto L1;
?>
--EXPECTF--
Fatal error: 'goto' into loop or switch statement is disallowed in %sjump09.php on line 7