Re: [PHP-DEV] Adding attributes to compile-time constants

2024-11-29 Thread Tim Düsterhus
Hi Am 2024-11-26 21:39, schrieb Larry Garfield: I believe it would require an RFC, though I expect it would pass easily. I agree. Attributes on regular constants introduce new syntax, which is a pretty clear language change and thus requires an RFC. Best regards Tim Düsterhus

Re: [PHP-DEV] Adding attributes to compile-time constants

2024-11-26 Thread Larry Garfield
On Tue, Nov 26, 2024, at 2:15 PM, Daniel Scherzer wrote: > Hi internals, > > For the last few weeks, I've been working on a patch[1] that I just > uploaded that adds support for attributes on compile-time non-class > constants (those declared with `const` rather than via `define()`). The > patch