Re: ReflectionType for iterable / PHP 8.2
| From: | Benjamin Morel | Date: | Wed, 02 Nov 2022 22:29:25 +0000 |
| Subject: | Re: ReflectionType for iterable / PHP 8.2 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118945@lists.php.net to get a copy of this message | ||
>
> > That's a intentional behaviour change and related to this accepted PHP
> 8.2 RFC: https://wiki.php.net/rfc/iterator_xyz_accept_array
> >
> > Smile,
> > Juliette
>
> It is rather related the following RFC:
>
> https://wiki.php.net/rfc/dnf_types
>
> The change was discussed in this thread:
>
> https://externals.io/message/117577
>
> —Claude
Thanks to both of you, if this change is expected then I'll adjust my code
accordingly.
Benjamin