summaryrefslogtreecommitdiff
path: root/Zend/tests/jump17.phpt
blob: 92d3be511b577819583efb829ace5a93b854b497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
jump 17: goto into try/catch with finally
--FILE--
<?php
goto b;
try {
	echo "1";
a:
	echo "2";
	throw new Exception();
} catch (Exception $e) {
	echo "3";
b:
	echo "4";
} finally {
	echo "5";
c:
	echo "6";
}
echo "7\n";
--EXPECT--
4567