Re: [PHP-DEV] Attributes on property groups

2020-09-25 Thread Sara Golemon
On Tue, Sep 22, 2020 at 7:51 AM Nikita Popov wrote: > Currently, placing an attribute on property (or constant) groups is not > allowed: > > This is a case that was not explicitly mentioned in the RFC and we decided > to be conversative when landing the initial implementation. > > Conservative is

Re: [PHP-DEV] Attributes and strict types

2020-09-25 Thread Sara Golemon
On Tue, Sep 22, 2020 at 7:59 AM Nikita Popov wrote: > I would like to clarify how attributes are supposed to interact with > strict_types. Consider the following code, split up into three files to > make it clear that each one could have their own strict_types mode: > > MyAttribute.php > #[Attri