Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126082 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 4E31F1A00BD for ; Sat, 30 Nov 2024 10:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1732964197; bh=gAYovvYauP/WZ1iPWdJ9PBb40BB0Ra+fXxVnH5+OZdU=; h=References:In-Reply-To:From:Date:Subject:To:From; b=CDkWmIvJ9gHbrrFEzwRx0zEdVoY/9WzA3JY0P7L3JYeqDSvU/TfgRDLfP7yCz9tyK 5gZwC6PtaLZavNTPLKKhBIYEYark/I9yLMJRuctpvIzXbrWneDVdoMWAAx++GlbfUs IfCKlIHPc77jmkECCvJbMrvZNEiWp8wQpPeyfG/70DUM9omvLhfPGCAOwjGOLQOkJ7 2bz8m/7i4lYd5XJc2xG2/pbpNInA/fJsBAsmspocuXsX+S6mov16DjU7/9CCGu24RB 6Y0J2ib9NJaxi45niDS+iw9dnuOsTG05Oq5K60YsOieyM2/a7jGXoM7N5VBkoXgX5L cPi+ZoWhnHq9Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DB125180069 for ; Sat, 30 Nov 2024 10:56:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com [209.85.221.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 30 Nov 2024 10:56:36 +0000 (UTC) Received: by mail-vk1-f177.google.com with SMTP id 71dfb90a1353d-5148381f2a4so562325e0c.2 for ; Sat, 30 Nov 2024 02:59:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732964384; x=1733569184; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=gAYovvYauP/WZ1iPWdJ9PBb40BB0Ra+fXxVnH5+OZdU=; b=iMbKdC18hPqCM4PveMsY361lFf+hjS1X328rX5+SXVUS1iY7zDdaQwulLmeUn0Y8WB dHFfAprhTFa8AkAKdPWremQ9769OzS3QxVLkzXyUxM08ED8U0Lbf7SlWygmjUBQg4agG /i6aDowG9UfHyjDyHaW9M6kLGb8Lh7Cf3s5Z2Dbbg+VndifoWPaUFLDaHCL4/HDgYpNB g49E/VwN/2K3+aStczd4WK+Z7mEuWfjQ2r0muTdILJvboCXwExEue0Axy9W2JAD/WasK KhQVu2DtPlOskEYgsthitOG0S9ztcT38p5DbeWUpUymOSqPQr7h3DOfprCJ/WGVFGWvG dUqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732964384; x=1733569184; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gAYovvYauP/WZ1iPWdJ9PBb40BB0Ra+fXxVnH5+OZdU=; b=tBm/KSJV7QzcKdktiDDGdxEnk4ecczwduQyzmfDVPkEoX6eOhpFrGv4fRUSG1k8aqg XDlRiw9xUs3EjK6isTvtwBRwAAK6Lg4AkDI6D6RynQXJbVmSvwfVQJXn/C73Q5EtmKeI +1RQ7dhJ8+YAHiz8ZuCzxlSZkp2YEvzy+lNKlYm5fd3gUdwz4nJJjna6PqcDc4n7yL+h 3NqSykVVhnQBObLLNOsn+j3T9bZxWXz9/6s1tkYKISaHA8z5iVUa54L/jHfJqOWCd+e/ B8Nc30mUKgAFQ87BQ6soJrU7SfSI+YIMwMPuVKoBCVGLciTtOvoURRfZn1WZ8pA13Teb L9Zw== X-Gm-Message-State: AOJu0YywoPAb90P0Su96aWyN1CepDe3x9gnjrfmqLG3VHlRDwkEcCGQO fvgwtG39BuOQ0LxT810DvPjt4q0PDr9uG/2xreFPBW06Xg/Url+6jDlHm69wseB7BVbAA6JmakM yXk9rtM677XHE4zKVnUPVZB2Pg5zhKQ== X-Gm-Gg: ASbGnct3gr2xMk6YMUEd7tjlGRjxUXomVq08VxCgHWT7gUfU4uTVOB0sjv88sn8ZRfU C5fsYETUFA/eK8rwtX0bZpDB97ArIO+vZ X-Google-Smtp-Source: AGHT+IEM4+6yPmMHVilttG6bDv345omCsWa86fiP+tf8YBxclQKIKJMHcUtL9rzKrvdTNsrZaUeX+RtTMjJzjjxgkcA= X-Received: by 2002:a05:6122:3786:b0:50d:3ec1:1531 with SMTP id 71dfb90a1353d-51556aa539emr18489231e0c.8.1732964384227; Sat, 30 Nov 2024 02:59:44 -0800 (PST) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 30 Nov 2024 02:59:09 -0800 Message-ID: Subject: [PHP-DEV] Re: Adding attributes to compile-time constants To: internals@lists.php.net Content-Type: multipart/alternative; boundary="00000000000087ca5f06281f366f" From: daniel.e.scherzer@gmail.com (Daniel Scherzer) --00000000000087ca5f06281f366f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Daniel Scherzer < daniel.e.scherzer@gmail.com> 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 > --00000000000087ca5f06281f366f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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=E2=80=AFPM Daniel Scherzer <daniel.e.sch= erzer@gmail.com> wrote:
Hi internals,

For the la= st 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 dec= lared with `const` rather than via `define()`). The patch has a memory leak= that I have been unable to resolve, but otherwise the functionality is the= re 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,
<= div>--Daniel Scherzer

--00000000000087ca5f06281f366f--