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