mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
b40ae80804
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`` |
||
---|---|---|
.. | ||
ax_check_compile_flag.m4 | ||
ax_func_which_gethostbyname_r.m4 | ||
ax_gcc_func_attribute.m4 | ||
config-stubs | ||
config.guess | ||
config.sub | ||
gen_stub.php | ||
genif.sh | ||
libtool.m4 | ||
ltmain.sh | ||
Makefile.gcov | ||
Makefile.global | ||
order_by_dep.awk | ||
php_cxx_compile_stdcxx.m4 | ||
php.m4 | ||
pkg.m4 | ||
print_include.awk | ||
shtool |