Home
last modified time | relevance | path

Searched refs:finally (Results 1 – 25 of 128) sorted by relevance

123456

/PHP-8.0/Zend/tests/
H A Dbug70012.phpt2 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 finally
30 Inner finally
32 Outer finally
H A Dbug66608.phpt2 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 {
/PHP-8.0/Zend/tests/generators/finally/
H A Dfinally_ran_on_close.phpt2 finally is run even if a generator is closed mid-execution
12 } 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 run
30 second finally run
H A Dreturn_return.phpt2 try { return } finally { return } in generator
12 } 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 finally
33 outer finally run
/PHP-8.0/Zend/tests/try/
H A Dtry_catch_finally_005.phpt2 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"
H A Dcatch_finally_003.phpt2 Try catch finally (with multi-returns)
15 } finally {
16 dummy("finally");
17 return "finally";
27 } finally {
37 string(7) "finally"
38 string(7) "finally"
H A Dcatch_finally_004.phpt2 Try catch finally (nesting try-catch-finally)
19 } finally {
21 throw_exception("finally");
26 } finally {
40 string(7) "finally"
H A Dtry_finally_024.phpt2 Exception in finally inside finally following try/catch containing throwing try/finally
9 } finally {
12 } finally {
17 } finally {
H A Dtry_finally_002.phpt2 Try finally (re-throw exception in finally block)
8 } finally {
9 throw new Exception("finally");
22 string(7) "finally"
H A Dtry_finally_001.phpt2 Try finally (basic test)
8 } finally {
13 foo("finally");
16 string(7) "finally"
20 #0 %stry_finally_001.php(%d): foo('finally')
H A Dcatch_finally_001.phpt2 Try catch finally (basic test)
13 } finally {
14 echo "finally\n";
26 finally
31 finally
H A Dtry_catch_finally_004.phpt2 Try catch finally (re-throw exception in catch block)
17 } finally {
18 dummy("finally");
22 } finally {
29 string(7) "finally"
H A Dcatch_finally_002.phpt2 Try catch finally (basic test with return)
10 } finally {
11 echo "finally\n";
20 finally
H A Dtry_catch_finally_002.phpt2 Try catch finally catch(multi catch blocks)
18 } finally {
21 } finally {
26 } finally {
33 } finally {
H A Dtry_finally_013.phpt2 Return in try and finally inside loop
12 } finally {
13 echo "finally\n";
23 finally
H A Dtry_finally_014.phpt2 Break 2 in try and return in finally inside nested loop
13 } finally {
14 echo "finally\n";
25 finally
H A Dtry_finally_008.phpt2 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
H A Dbug70228_3.phpt2 Bug #70228 (memleak if return in finally block)
8 } finally {
11 } finally {
14 } finally {
H A Dtry_finally_007.phpt2 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
H A Dtry_finally_009.phpt2 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
H A Dbug70228_4.phpt2 Bug #70228 (memleak if return in finally block)
8 } finally {
12 } finally {
15 } finally {
/PHP-8.0/Zend/tests/generators/
H A Dyield_in_finally_cleanup.phpt2 Free pending exceptions / return values on clone on yield in finally
8 } finally {
16 } finally {
23 } finally {
27 } finally {
37 } finally {
40 } finally {
H A Dexception_during_shutdown.phpt11 } finally {
12 echo "before yield in finally\n";
14 echo "after yield in finally\n";
16 echo "after finally\n";
25 before yield in finally
27 Fatal error: Uncaught Error: Cannot yield from finally in a force-closed generator in %s:%d
H A Dbug71601.phpt2 Bug #71601 (finally block not executed after yield from)
11 } finally {
12 echo "Inner finally\n";
20 } finally {
37 Inner finally
/PHP-8.0/Zend/tests/generators/errors/
H A Dyield_in_force_closed_finally_error.phpt2 yield cannot be used in a finally block when the generator is force-closed
11 } finally {
12 echo "before yield in finally\n";
14 echo "after yield in finally\n";
17 echo "after finally\n";
27 before yield in finally
29 Fatal error: Uncaught Error: Cannot yield from finally in a force-closed generator in %s:%d

Completed in 20 milliseconds

123456