xref: /PHP-5.4/Zend/tests/jump13.phpt (revision f66f55ed)
1--TEST--
2jump 10: goto with try blocks
3--FILE--
4<?php
5goto a;
6e: return;
7try {
8    a: print 1;
9    goto b;
10    try {
11        b: print 2;
12        goto c;
13    }
14    catch(Exception $e) {
15        c: print 3;
16        goto d;
17    }
18}
19catch(Exception $e) {
20    d: print 4;
21    goto e;
22}
23?>
24--EXPECT--
251234
26