Searched refs:finally (Results 1 – 25 of 161) sorted by relevance
1234567
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 {
20 } finally {21 print "Generator finally\n";30 } finally {31 print "Fiber finally\n";51 Generator finally52 Fiber 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 catch(multi catch blocks)18 } finally {21 } finally {26 } finally {33 } finally {
2 Try catch finally (basic test with return)10 } finally {11 echo "finally\n";20 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 Test unfinished fiber with suspend in finally18 } finally {19 echo "inner finally\n";20 throw new \Exception("finally exception");24 } finally {25 echo "outer finally\n";37 unset($fiber); // Destroy fiber object, executing finally block.44 inner finally45 finally exception46 outer finally
2 Test unfinished fiber with suspend in finally11 } finally {12 echo "inner finally\n";18 } finally {19 echo "outer finally\n";27 unset($fiber); // Destroy fiber object, executing finally block.34 inner finally35 outer finally
18 } finally {19 echo "inner finally\n";21 } finally {22 echo "outer finally\n";29 } finally {38 unset($fiber); // Destroy fiber object, executing finally block.45 inner finally46 outer finally
2 Test unfinished fiber with finally block13 } finally {14 echo "finally\n";22 unset($fiber); // Destroy fiber object, executing finally block.29 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 27 milliseconds