xref: /PHP-8.0/Zend/tests/jump02.phpt (revision 610c7fbe)
1--TEST--
2jump 02: goto forward
3--FILE--
4<?php
5$n = 1;
6L1:
7if ($n > 3) goto L2;
8echo "$n: ok\n";
9$n++;
10goto L1;
11L2:
12?>
13--EXPECT--
141: ok
152: ok
163: ok
17