xref: /PHP-7.3/Zend/tests/jump03.phpt (revision 610c7fbe)
1--TEST--
2jump 03: goto inside control structures
3--FILE--
4<?php
5do {
6	if (1) {
7		echo "1: ok\n";
8		goto L1;
9	} else {
10	    echo "bug\n";
11L1:
12		echo "2: ok\n";
13	}
14} while (0);
15?>
16--EXPECT--
171: ok
182: ok
19