mirror of
https://github.com/php/php-src.git
synced 2025-01-12 05:54:13 +08:00
14 lines
227 B
Plaintext
14 lines
227 B
Plaintext
|
--TEST--
|
||
|
jump 10: jump into switch (forward)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
jump L1;
|
||
|
switch (0) {
|
||
|
case 1:
|
||
|
L1: echo "bug\n";
|
||
|
break;
|
||
|
}
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: 'jump' into loop or switch statement is disallowed in %sjump10.php on line 2
|