xref: /PHP-7.1/Zend/tests/jump14.phpt (revision 7af945e2)
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