Re: [PHP-DEV] Re: [RFC] Attributes v2

2020-04-18 Thread Guilliam Xavier
On Fri, Apr 17, 2020 at 6:11 PM Theodore Brown wrote: > > the RFC says that the alternate T_ATTRIBUTE `@:` token has the > downside "that it does not permit whitespace in attribute names to > allow detecting the ending of the declaration." Can you provide an > example of an attribute name containi

Re: [PHP-DEV] Typed array properties V2

2020-04-18 Thread Sebastian Bergmann
Am 21.01.2020 um 22:21 schrieb Matthew Brown: What if we left the array type alone, and instead focussed on "list" type and "dict", "dict" types? That would allow a clear break from previous behaviour, and would allow you to introduce other changes (e.g. removing string -> int coercion for numer