xref: /PHP-7.3/Zend/tests/jump12.phpt (revision ded3d984)
1--TEST--
2jump 09: goto in declare statement
3--FILE--
4<?php
5a: print "ok!\n";
6goto c;
7declare (ticks=1) {
8    b:
9        print "ok!\n";
10        exit;
11}
12c:
13    print "ok!\n";
14    goto b;
15?>
16--EXPECT--
17ok!
18ok!
19ok!
20