php-src/ext/zend_test
George Peter Banyard b40ae80804
Convert iterable into an internal alias for Traversable|array (#7309)
This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP variance handling.

The arginfo generation script from stubs is updated to produce a union type when it encounters the type ``iterable``
Extension functions which do not regenerate the arginfo, or write them manually are still supported by mimicking the compile time transformation while registering the function.

Type Reflection is preserved for single ``iterable`` (and ``?iterable``) to produce a ReflectionNamedType with name ``iterable``, however usage of ``iterable`` in union types will be converted to ``array|Traversable``
2022-06-07 13:35:34 +01:00
..
tests Convert iterable into an internal alias for Traversable|array (#7309) 2022-06-07 13:35:34 +01:00
config.m4 Reorganize zend_test and add custom fiber implementation tests (#7137) 2021-06-11 12:25:47 -05:00
config.w32 Reorganize zend_test and add custom fiber implementation tests (#7137) 2021-06-11 12:25:47 -05:00
fiber_arginfo.h Add test for leaking prior context with symmetric coroutines 2021-06-12 00:10:17 -05:00
fiber.c Flexible fiber bailout handling (#7163) 2021-06-18 11:01:10 -05:00
fiber.h Flexible fiber bailout handling (#7163) 2021-06-18 11:01:10 -05:00
fiber.stub.php Add test for leaking prior context with symmetric coroutines 2021-06-12 00:10:17 -05:00
observer.c Release observed function name table 2021-09-16 10:38:28 +02:00
observer.h Reorganize zend_test and add custom fiber implementation tests (#7137) 2021-06-11 12:25:47 -05:00
php_test.h Stop closing stderr and stdout streams (#8570) 2022-05-20 13:40:09 +02:00
test_arginfo.h Convert iterable into an internal alias for Traversable|array (#7309) 2022-06-07 13:35:34 +01:00
test.c Convert iterable into an internal alias for Traversable|array (#7309) 2022-06-07 13:35:34 +01:00
test.stub.php Partial revert of 6d96f39a68 2022-06-01 16:10:30 +00:00