xref: /PHP-5.6/Zend/tests/jump12.phpt (revision 13061cf0)
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--EXPECTF--
17ok!
18ok!
19ok!
20