Re: RFC Proposal - Types for Inline Variables
| From: | Wendell Adriel | Date: | Wed, 08 Feb 2023 19:08:06 +0000 |
| Subject: | Re: RFC Proposal - Types for Inline Variables | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119497@lists.php.net to get a copy of this message | ||
> For
array<int, string> why not just use
> list?
>
> Robert Landers
> Software Engineer
> Utrecht NL
Hey Robert, IDK if I fully understood, but the idea when having the need to
define arrays that are not associative is to use only array<string> instead.
The example I put was to show how something like array<string> is going to
be interpreted behind the scenes.
*---*
*Best Regards,*
*Wendell Adriel.*
*Software Engineer **| Investor | Amateur Photographer | Musician | INFP*
*https://wendelladriel.com <https://wendelladriel.com>*