xref: /PHP-7.0/Zend/tests/jump14.phpt (revision e4c76641)
1--TEST--
2Testing GOTO inside blocks
3--FILE--
4<?php
5
6goto A;
7
8{
9	B:
10		goto C;
11		return;
12}
13
14A:
15	goto B;
16
17
18
19{
20	C:
21	{
22		print "Done!\n";
23	}
24}
25
26?>
27--EXPECT--
28Done!
29