Re: [Initial Feedback] Typed Arrays
| From: | Richard Miles | Date: | Wed, 26 Jun 2024 20:53:29 +0000 |
| Subject: | Re: [Initial Feedback] Typed Arrays | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123891@lists.php.net to get a copy of this message | ||
I looked online, and I see two RFC’s relating to generics. One talks about arrays specifically.
https://wiki.php.net/rfc/generics
https://wiki.php.net/rfc/generic-arrays
I don’t think that it gives the full power we’re looking for, and also not sure where the work
at on these either.
Would love to get involved with generic classes.
How would you pose the syntax?
Best,
Richard Miles
> On Jun 26, 2024, at 2:08 PM, Bilge <bilge@scriptfusion.com> wrote:
>
> On 26/06/2024 20:59, Richard Miles wrote:
>> I think we should have typed arrays in PHP.
>
> Generics or bust.
>
> Cheers,
> Bilge