mirror of
https://github.com/php/php-src.git
synced 2024-12-17 22:09:12 +08:00
15 lines
233 B
PHP
15 lines
233 B
PHP
--TEST--
|
|
jmp into a finally block 02
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
try {
|
|
goto test;
|
|
} finally {
|
|
test:
|
|
}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: jump into a finally block is disallowed in %sfinally_goto_002.php on line %d
|