Sent from my iPhone On 1 Jul 2024, at 09:03, Richard Miles <richard@miles.systems> wrote:
Given other improvements in the language, I don't really see much need for the ability to specify fixed keys and their types (ie associative arrays) (I assume that's what the "['a' => string]" syntax is meant to be?) Is there some fundamental aspect of the original arrayof RFC that prevents it from being revived today? The whole "does it include nulls" part is moot now presumably because we have both ? And |null, and the Type[] syntax is very common in docblocks. Cheers Stephen |
- Re: [PHP-DEV] [Initial Feedback]... Larry Garfield
- Re: [PHP-DEV] [Initial Feedback]... Rob Landers
- Re: [PHP-DEV] [Initial Feedback]... Richard Miles
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Rob Landers
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Levi Morrison
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Derick Rethans
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Richard Miles
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Richard Miles
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Richard Miles
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Richard Miles
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Stephen Reay
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Richard Miles
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Stephen Reay
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Rob Landers
- Re: [PHP-DEV] [Initial Feedback] Typed Arrays Richard Miles
- Re: [PHP-DEV] [Initial Feedback] Typed Ar... Larry Garfield
- Re: [PHP-DEV] [Initial Feedback] Typ... Richard Miles
- Re: [PHP-DEV] [Initial Feedback]... Richard Miles
- Re: [PHP-DEV] [Initial Feedback]... Levi Morrison
- Re: [PHP-DEV] [Initial Feedback]... Richard Miles
- Re: [PHP-DEV] [Initial Feedback]... Gina P. Banyard