FYI, it is also noted in the [UPGRADING][1] file: > - Core: > . The iterable type is now a built-in compile time alias for > array|Traversable. > Error messages relating to iterable will therefore now use > array|Traversable. > 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
[1]: https://github.com/php/php-src/blob/PHP-8.2/UPGRADING -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php