mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
f66f55edc5
[DOC]
14 lines
227 B
PHP
Executable File
14 lines
227 B
PHP
Executable File
--TEST--
|
|
jump 10: goto into switch (forward)
|
|
--FILE--
|
|
<?php
|
|
goto L1;
|
|
switch (0) {
|
|
case 1:
|
|
L1: echo "bug\n";
|
|
break;
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: 'goto' into loop or switch statement is disallowed in %sjump10.php on line 2
|