summaryrefslogtreecommitdiff
path: root/Zend/tests/try/finally_goto_005.phpt
blob: 36b4155d81fc6d2c7471dcb90c9379c918da0d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
There must be a difference between label: try { ... } and try { label: ... }
--FILE--
<?php

label: try {
	goto label;
} finally {
	print "success";
	return; // don't loop
}

?>
--EXPECT--
success