1--TEST-- 2Test breaks on HANDLE_EXCEPTION 3--PHPDBG-- 4b 5 5r 6s 7 8s 9 10 11q 12--EXPECTF-- 13[Successful compilation of %s] 14prompt> [Breakpoint #0 added at %s:5] 15prompt> [Breakpoint #0 at %s:5, hits: 1] 16>00005: x(); 17 00006: } finally { 18 00007: print "ok\n"; 19prompt> >00005: x(); 20 00006: } finally { 21 00007: print "ok\n"; 22prompt> >00007: print "ok\n"; 23 00008: } 24 00009: } catch (Error $e) { 25prompt> ok 26>00005: x(); 27 00006: } finally { 28 00007: print "ok\n"; 29prompt> >00010: print "caught\n"; 30 00011: } 31 00012: 32prompt> caught 33>00014: 34prompt> 35--FILE-- 36<?php 37 38try { 39 try { 40 x(); 41 } finally { 42 print "ok\n"; 43 } 44} catch (Error $e) { 45 print "caught\n"; 46} 47 48?> 49