Searched refs:finally (Results 1 – 25 of 128) sorted by relevance
123456
2 Bug #70012 (Exception lost with nested finally block)10 } finally {11 echo " Middle finally\n";14 } finally {15 echo " Inner finally\n";21 } finally {22 echo "Outer finally\n";28 Middle finally30 Inner finally32 Outer finally
2 Bug #66608 (Incorrect behavior with nested "finally" blocks)9 } finally {11 } finally {15 } finally {20 } finally {22 } finally {25 } finally {32 } finally {37 } finally {49 } finally {
2 finally is run even if a generator is closed mid-execution12 } finally {13 echo "finally run\n";15 echo "code after finally\n";16 } finally {17 echo "second finally run\n";19 echo "code after second finally\n";29 finally run30 second finally run
2 try { return } finally { return } in generator12 } finally {13 echo "before return in inner finally\n";15 echo "after return in inner finally\n";17 } finally {18 echo "outer finally run\n";21 echo "code after finally\n";32 before return in inner finally33 outer finally run
2 Try catch finally (break / cont in try block)10 } finally {19 } finally {28 } finally {36 } finally {37 var_dump("finally");47 string(7) "finally"50 string(7) "finally"52 string(7) "finally"
2 Try catch finally (with multi-returns)15 } finally {16 dummy("finally");17 return "finally";27 } finally {37 string(7) "finally"38 string(7) "finally"
2 Try catch finally (nesting try-catch-finally)19 } finally {21 throw_exception("finally");26 } finally {40 string(7) "finally"
2 Exception in finally inside finally following try/catch containing throwing try/finally9 } finally {12 } finally {17 } finally {
2 Try finally (re-throw exception in finally block)8 } finally {9 throw new Exception("finally");22 string(7) "finally"
2 Try finally (basic test)8 } finally {13 foo("finally");16 string(7) "finally"20 #0 %stry_finally_001.php(%d): foo('finally')
2 Try catch finally (basic test)13 } finally {14 echo "finally\n";26 finally31 finally
2 Try catch finally (re-throw exception in catch block)17 } finally {18 dummy("finally");22 } finally {29 string(7) "finally"
2 Try catch finally (basic test with return)10 } finally {11 echo "finally\n";20 finally
2 Try catch finally catch(multi catch blocks)18 } finally {21 } finally {26 } finally {33 } finally {
2 Return in try and finally inside loop12 } finally {13 echo "finally\n";23 finally
2 Break 2 in try and return in finally inside nested loop13 } finally {14 echo "finally\n";25 finally
2 Try finally (with break in do...while)9 } finally {13 } finally {21 Fatal error: jump out of a finally block is disallowed in %stry_finally_008.php on line %d
2 Bug #70228 (memleak if return in finally block)8 } finally {11 } finally {14 } finally {
2 Try finally (with goto previous label)10 } finally {15 } finally {22 Fatal error: jump out of a finally block is disallowed in %stry_finally_007.php on line %d
2 Try finally (with for continue)10 } finally {13 } finally {23 Fatal error: jump out of a finally block is disallowed in %stry_finally_009.php on line %d
2 Bug #70228 (memleak if return in finally block)8 } finally {12 } finally {15 } finally {
2 Free pending exceptions / return values on clone on yield in finally8 } finally {16 } finally {23 } finally {27 } finally {37 } finally {40 } finally {
11 } finally {12 echo "before yield in finally\n";14 echo "after yield in finally\n";16 echo "after finally\n";25 before yield in finally27 Fatal error: Uncaught Error: Cannot yield from finally in a force-closed generator in %s:%d
2 Bug #71601 (finally block not executed after yield from)11 } finally {12 echo "Inner finally\n";20 } finally {37 Inner finally
2 yield cannot be used in a finally block when the generator is force-closed11 } finally {12 echo "before yield in finally\n";14 echo "after yield in finally\n";17 echo "after finally\n";27 before yield in finally29 Fatal error: Uncaught Error: Cannot yield from finally in a force-closed generator in %s:%d
Completed in 22 milliseconds