source: src/router/php7/Zend/tests/jump16.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 6 weeks ago

update php

File size: 297 bytes
Line 
1--TEST--
2jump 16: goto into try/catch
3--FILE--
4<?php
5goto a;
6try {
7        echo "1";
8a:
9        echo "2";
10        throw new Exception();
11} catch (Exception $e) {
12        echo "3";
13}
14echo "4";
15goto b;
16try {
17        echo "5";
18        throw new Exception();
19} catch (Exception $e) {
20        echo "6";
21b:
22        echo "7";
23}
24echo "8\n";
25?>
26--EXPECT--
2723478
Note: See TracBrowser for help on using the repository browser.