1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
--TEST-- jump 16: goto into try/catch --FILE-- <?php goto a; try { echo "1"; a: echo "2"; throw new Exception(); } catch (Exception $e) { echo "3"; } echo "4"; goto b; try { echo "5"; throw new Exception(); } catch (Exception $e) { echo "6"; b: echo "7"; } echo "8\n"; ?> --EXPECT-- 23478