Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123315 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 38A531A009C for ; Tue, 14 May 2024 07:00:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1715670103; bh=TSm9MXwWLcC9E6ypCnpGKUXrpBjQ6owrpRdsR4JcPoY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Vtih+suOUxSsm1aULH5CDPdJQYFT8NWrFHz1XX1zIvfh6BmC5oGGnN9FgCFrsZtNh XO5rPZsC6mDxvvl3aS9856iD9W3bpIKPpM6QSMrSXSytF9q3ivemQ56q0wT3ty7AOP 68npwuIf3ZvPR/Uyl5P/a2TiADEtoXianMk+ZXZtXRcLumuiY77uOSZvPrCIV5iYCa rw2dTzgZEtPslGspN/WBO/VXYXIavxpCaLAUWJ7mF1vA2D1Pk6/A4ZZ96XTD7Whv7E ZIyLN/GCRY1OM+4gMfO32eLrZKQcSNrLGvITC01SEvDwlagxe49D5FLp7SzGMH8psO fS3aZ1wTFrdOw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C51F7180072 for ; Tue, 14 May 2024 07:01:42 +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.8 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DMARC_MISSING,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com [209.85.222.49]) (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 ; Tue, 14 May 2024 07:01:42 +0000 (UTC) Received: by mail-ua1-f49.google.com with SMTP id a1e0cc1a2514c-7f170dc5f70so1275328241.1 for ; Tue, 14 May 2024 00:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20230601.gappssmtp.com; s=20230601; t=1715670050; x=1716274850; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TSm9MXwWLcC9E6ypCnpGKUXrpBjQ6owrpRdsR4JcPoY=; b=j5wEZPblOetSvJuk9btUaIUF/WRrXECSFepBMq7pMFOcrrNsPlKwvoJ7mqYfWnSozY tVzlQdOudtv9QFc7sGNG9D7Xp9nlz7U61cMDLBP78Y2bJkrfnDN/tMNKa5vJvr7tq3ua kRxPdSoRh5CoTkM0k0iJdKi8twv4ce2Z3vY0GRC05nKwJ3d72AtgQWs86XhH+6ax6xiC 2/OR6SwTkMUQGDDacTiQTpS6HUOpe3SaVC5VaEUKiLlTkwQZfV9V8x+7gtxLrR3GAecu tOqPFg86sbJiI5mP/TZ5eQgRUcTTpQ3Sr3xzYXwXKeTIta7ANlI+5IWeUM73wlV+LLDn 1deg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715670050; x=1716274850; h=cc: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=TSm9MXwWLcC9E6ypCnpGKUXrpBjQ6owrpRdsR4JcPoY=; b=wju2M2xiXCdTBh4iAB4RSAyMt12daJIEW142ykLRwHxKPxmwaLIHYE3/0gnTO8mGxQ SWsFJ5jeJBRkkLdD4fUeH3QtW1wsoijyFzojh96PzVBvDPuacBhyExtEYyDOFABLvrvW dzRIAzaJdVph1kQ5Bfy/MHdzrM7x0KraTRjiNKYH32eV490RsE1B5/sarhdpo2T2A2s3 z6XDl90mjY2tMKi4MdQfTR9MvrESMPm+prPCzJdbJEE4kQyc6sOKFiQ8SwU6F24wg3tx Yn9FmrPJGTZYiXHbUy7Z4+QLGAmMcQWw22A/+mNy7+5PCfiSHYZN+M3qZWteIx7nOXpZ OSXA== X-Gm-Message-State: AOJu0YzprO8b57Mk/hTgcNG6hcyemEiZIHS+MRw8HypcyePYiDtyAoBO aaDPcfVWZjDIcwmBB/Cb6MakcCe5MKqXsHdGYdv9bdJuur53Zb9PI6gh4cHnzxhk+1laRL0nnXv p4UbWC/IAfyS11Ri0nVuwIjrY5EvCs1GfPnz0A0cPD1U6XSTN X-Google-Smtp-Source: AGHT+IGm8pUsNPTLQqORlhDoJxioKmv0pmDyTtX3Qyf868HRywvIZRfm/4KUv+M7T++V5z1MWNshVSnSGBzkZ51p4v0= X-Received: by 2002:a05:6102:3f47:b0:47e:d47a:7ce2 with SMTP id ada2fe7eead31-48077e5cf9amr11333139137.31.1715670049708; Tue, 14 May 2024 00:00:49 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 14 May 2024 09:00:38 +0200 Message-ID: Subject: [PHP-DEV] Re: [RFC] [Discussion] #[\Deprecated] attribute again v1.3 To: PHP Internals Cc: "tim@tideways-gmbh.com" Content-Type: multipart/alternative; boundary="000000000000dd7a620618648f55" From: kontakt@beberlei.de (=?UTF-8?Q?Benjamin_Au=C3=9Fenhofer?=) --000000000000dd7a620618648f55 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 2, 2024 at 1:00=E2=80=AFPM Benjamin Au=C3=9Fenhofer wrote: > > > On Tue, Apr 23, 2024 at 3:27=E2=80=AFPM Benjamin Au=C3=9Fenhofer > wrote: > >> Hi internals, >> >> My PR for #[\Deprecated] attribute was in hibernation for a long while >> now and after some off-list discussion a few weeks ago I have decided to >> revisit it and asked Tim to help me out with the work. >> >> Tim has cleaned up the PR quite a bit and also worked in additional >> features such as #[Deprecated] support in stub generation. >> >> While there are still some small todos, at this point we want to restart >> the discussion about the RFC for inclusion in 8.4: >> >> RFC: https://wiki.php.net/rfc/deprecated_attribute >> PR: https://github.com/php/php-src/pull/11293 >> Old discussion: https://externals.io/message/112554#112554 >> >> Let me know about your questions and feedback. >> >> greetings >> Benjamin >> > > We have updated the RFC and PR to include #[Deprecated] on class constant= s > and enum cases as this is something the engine already supports for > internal class constants. > > This does not include support for non-class based constants, because they > don't have support for attributes at the moment and also only recently go= t > reflection support (for 8.4). > > We are planning to work on adding $since next and get back to the list > once that is finished. > The $since implementation is now added to the RFC and to the PR. We decided to make this a secondary voting choice, while there are use-cases for it in php core for doc rendering, other ways of doing the same thing are also available and given userland frameworks stated different requirements maybe its better left for userland to implement. --000000000000dd7a620618648f55 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, May 2, 2024 at 1:00=E2=80=AFP= M Benjamin Au=C3=9Fenhofer <konta= kt@beberlei.de> wrote:


On Tue, Apr 23, 2024 at 3:27=E2=80=AFPM Benjamin Au=C3= =9Fenhofer <kon= takt@beberlei.de> wrote:
= Hi internals,

My PR for #[\Deprecated] attribute was in = hibernation for a long while now and after some off-list discussion a few w= eeks ago I have decided to revisit it and asked Tim to help me out with the= work.

Tim has cleaned up the PR quite a bit and a= lso worked in additional features such as #[Deprecated] support in stub gen= eration.

While there are still some small todos, a= t this point we want to restart the discussion about the RFC for inclusion = in 8.4:


Let me know about your questions and feedback= .

greetings
Benjamin

We have updated the RFC and PR to include #[Deprec= ated] on class constants and enum cases as this is something the engine alr= eady supports for internal class constants.=C2=A0

= This does not include support for non-class based constants, because they d= on't have support for attributes at the moment and also only recently g= ot reflection support (for 8.4).

We are planning t= o work on adding $since next and get back to the list once that is finished= .

The $since implementati= on is now added to the RFC and to the PR.

We decid= ed to make this a secondary voting choice, while there are use-cases for it= in php core for doc rendering, other ways of doing the same thing are also= available and given userland frameworks stated different requirements mayb= e its better left for userland to implement.


<= /div>


=C2=A0
--000000000000dd7a620618648f55--