Re: [PHP-DEV] [RFC] [Discussion] Attributes on compile-time constants

2024-12-05 Thread Tim Düsterhus
Hi On 12/3/24 15:40, Daniel Scherzer wrote: This is not just extensions, but also userland code that did not anticipate any new attribute targets. Given that 1. there isn't (as far as I know) a way to search for everything that has an attribute 2. there isn't a current way to identify if a co

Re: [PHP-DEV] [RFC] [Discussion] Attributes on compile-time constants

2024-12-03 Thread Daniel Scherzer
On Mon, Dec 2, 2024 at 2:48 PM Tim Düsterhus wrote: > Thank you for your RFC. As you might have guessed from my comments on > the PR, I quite like the proposal to round off attributes. Nevertheless > any new syntax has quite a bit of an impact on tooling around PHP (see > also (3) below), so I'm

Re: [PHP-DEV] [RFC] [Discussion] Attributes on compile-time constants

2024-12-02 Thread Tim Düsterhus
Hi On 11/30/24 18:00, Daniel Scherzer wrote: Based on feedback to my last thread[1] that an RFC would be needed to allow attributes on constants, I have just filed https://wiki.php.net/rfc/attributes-on-constants and added it to the "Under Discussion" section on the main RFC page. Thank you fo

[PHP-DEV] [RFC] [Discussion] Attributes on compile-time constants

2024-11-30 Thread Daniel Scherzer
Hi again, Based on feedback to my last thread[1] that an RFC would be needed to allow attributes on constants, I have just filed https://wiki.php.net/rfc/attributes-on-constants and added it to the "Under Discussion" section on the main RFC page. I plan to open the vote in two weeks unless issues