php-src/Zend/tests/generators
Nikita Popov b829ea5f74 Fix leak when generator closed during yield in finally
In this case we need to free any pending exceptions or return values
that will be discarded.
2019-12-20 17:46:31 +01:00
..
errors Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
finally Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
aborted_yield_during_nested_fcalls.phpt
aborted_yield_during_new.phpt
aborted_yield_during_switch.phpt
auto_incrementing_keys.phpt
backtrace.phpt
basic_yield_from_exception_handling.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
basic_yield_from_proxying.phpt
bug63066.phpt
bug65035.phpt Implement arrow functions 2019-05-02 15:04:03 +02:00
bug65161.phpt
bug66041.phpt
bug67497.phpt
bug69419.phpt
bug70904.phpt
bug70965.phpt
bug71013.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug71297.phpt Fixed bug #71297 (Memory leak with yield from) 2016-01-07 11:56:21 +01:00
bug71441.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug71601.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug72523.phpt Fixed bug #72523 (dtrace issue with reflection (failed test)) 2016-07-01 18:50:35 +08:00
bug74157.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug74606.phpt Fixed bug #74606 (Segfault within try/catch/finally nesting in Generators) 2017-05-17 19:58:51 +02:00
bug74954.phpt Fixed bug #74954 (null deref and segfault in zend_generator_resume()) 2017-07-22 11:14:00 +02:00
bug75396.phpt Fixed bug #75396 2018-01-12 21:27:23 +01:00
bug76427.phpt Fixed bug #72530 2019-08-13 14:53:53 +02:00
clone.phpt
dangling_send_target.phpt Fix dangling send target when using yield from 2016-02-11 16:25:16 +01:00
dynamic_call.phpt
exception_during_shutdown.phpt Rethrow generator exception even without active stack frame 2019-12-18 11:04:15 +01:00
fibonacci.phpt
func_get_args.phpt
gc_with_iterator_in_foreach.phpt Add dummy get_gc handler for iterator wrapper 2019-01-15 13:52:32 +01:00
gc_with_root_parent_mismatch.phpt Fix generator GC if yield from parent chain does not reach root 2018-01-13 11:04:26 +01:00
gc_with_yield_from.phpt These tests rely on gc being enabled 2017-01-10 11:57:59 -05:00
generator_closure_unused.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
generator_closure_with_this.phpt
generator_closure.phpt
generator_in_multipleiterator.phpt
generator_method_by_ref.phpt
generator_method.phpt
generator_return_return_type.phpt
generator_return_without_value.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
generator_returns_generator.phpt
generator_rewind.phpt
generator_send.phpt
generator_static_method.phpt
generator_symtable_leak.phpt
generator_throwing_during_function_call.phpt
generator_throwing_exception.phpt
generator_throwing_in_foreach.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
generator_trampoline.phpt Fixed calling generators through magic __call() 2016-11-28 12:20:19 +03:00
generator_with_arg_unpacking.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
generator_with_keys.phpt
generator_with_nonscalar_keys.phpt
generator_with_type_check_2.phpt Use int instead of integer in type errors 2018-02-04 19:08:23 +01:00
generator_with_type_check.phpt Use int instead of integer in type errors 2018-02-04 19:08:23 +01:00
get_return_and_finally.phpt
get_return_errors.phpt
get_return_types.phpt
get_return.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
ignored_send_leak.phpt
multiple_yield_from_on_same_generator.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
mutli_yield_from_with_exception.phpt Fix ClosedGeneratorException possibly thrown into wrong scope 2016-07-23 16:39:21 +02:00
nested_calls_with_die.phpt
nested_method_calls.phpt
no_foreach_var_leaks.phpt
recursive_yield_from.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
return_from_by_ref_generator.phpt Fix return from by-ref generators 2016-07-14 15:44:04 +02:00
send_after_close.phpt
send_returns_current.phpt
throw_already_closed.phpt
throw_caught.phpt
throw_into_yield_from_array.phpt Fixed bug causing exception not being thrown immediately into a generator yielding from an array 2015-11-25 23:09:44 +01:00
throw_not_an_exception.phpt
throw_rethrow.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
throw_uncaught.phpt
unused_return_value.phpt
xrange.phpt
yield_array_key.phpt
yield_array_offset_by_ref.phpt
yield_by_reference.phpt
yield_closure.phpt
yield_during_function_call.phpt
yield_during_method_call.phpt
yield_from_already_running.phpt
yield_from_array.phpt
yield_from_backtrace.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
yield_from_by_reference.phpt Forbid yield from in by-reference generators 2016-02-12 17:55:29 +01:00
yield_from_deep_recursion.phpt
yield_from_force_closed.phpt Forbid "yield from" in force closed generators 2016-05-28 13:21:05 +02:00
yield_from_greedy_parse.phpt Fix bug where yield from is captured too greedily 2017-03-23 13:31:06 -07:00
yield_from_iterator_agregate.phpt Fised possible use-after-free 2016-04-04 09:35:48 +03:00
yield_from_iterator.phpt
yield_from_multi_tree_exception.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
yield_from_multi_tree.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
yield_in_finally_cleanup.phpt Fix leak when generator closed during yield in finally 2019-12-20 17:46:31 +01:00
yield_in_finally.phpt
yield_in_parenthesis.phpt
yield_precedence.phpt
yield_ref_function_call_by_reference.phpt
yield_unary_precedence.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
yield_without_value.phpt