Re: Adding attributes to compile-time constants

From: Date: Sat, 30 Nov 2024 10:59:09 +0000
Subject: Re: Adding attributes to compile-time constants
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Since it seems that this requires an RFC, I have created an account on
wiki.php.net with the username danielescherzer and kindly request edit
privileges so that I can create the RFC.

-Daniel

On Tue, Nov 26, 2024 at 12:15 PM Daniel Scherzer <
[email protected]> 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 has a memory leak that I have been unable to resolve, but otherwise
> the functionality is there and seems to work. Is anyone willing to help
> with the memory issue?
>
> Separately, once the memory issue is fixed, would this need to go through
> an RFC process?
>
> Thanks,
> --Daniel Scherzer
>
> [1] https://github.com/php/php-src/pull/16952
>


Thread (5 messages)

« previous php.internals (#126082) next »