summaryrefslogtreecommitdiff
path: root/Zend/tests/jump14.phpt
blob: 2cc6391ce98ca0135e737ba023bc7f5fea84297d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--TEST--
Testing GOTO inside blocks
--FILE--
<?php 

goto A;

{
	B:
		goto C;	
		return;
}

A:
	goto B;



{
	C:
	{
		print "Done!\n";
	}
}

?>
--EXPECT--
Done!