xref: /PHP-5.6/Zend/tests/finally_goto_004.phpt (revision 794a888a)
1--TEST--
2jmp into a finally block 03
3--FILE--
4<?php
5function foo() {
6	try {
7    } finally {
8test:
9    }
10	goto test;
11}
12?>
13--EXPECTF--
14Fatal error: jump into a finally block is disallowed in %sfinally_goto_004.php on line %d
15