mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
14 lines
228 B
PHP
14 lines
228 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
|