Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123250 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 4A8AB1A009C for ; Thu, 2 May 2024 11:00:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1714647701; bh=9IqfhYE7M+oSKrbipp1fkesv01a3N+eq1uCGbE3dIwM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZwxnRds6ubiKm5OQ0tifENeINAt5ZzpNrT+4fthXh5nlVCqWyjGCghqD8jnoYphh9 f8vMNh1kvhIqJ0Q6lr06uiRwQoaRH3O2p1OtPomw7SQ5+Ag/+luZCU1+Tg/bshVxjg Szyb5kwZtP4vpT8Zwuh9XPmveVRMFTbNgh8hI3b8BDzSflnN8pamyiWZOu6eKTuaOl tvHkG8vviZ9hrk1VusWjTWpssFbzLOPs/s+5CZmtTyZzifSq3c6h28vzzlJ0z3IXyY Slf8hSfTwwKvV7vkNEO6WFKP/+SigiolOH7g/28qHhVjYRl7VPUeEP+bPsd3E1uBuM 8TAWVdMOnxNyw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 36F9A18005F for ; Thu, 2 May 2024 11:01:40 +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: No X-Envelope-From: Received: from mail-ua1-f51.google.com (mail-ua1-f51.google.com [209.85.222.51]) (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 ; Thu, 2 May 2024 11:01:39 +0000 (UTC) Received: by mail-ua1-f51.google.com with SMTP id a1e0cc1a2514c-7f3a5ab6a18so520882241.2 for ; Thu, 02 May 2024 04:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20230601.gappssmtp.com; s=20230601; t=1714647654; x=1715252454; 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=9IqfhYE7M+oSKrbipp1fkesv01a3N+eq1uCGbE3dIwM=; b=BR6AA8R11RLTJFftplhqsYAD5FQIAbbvLmbVGenI9WzD7Eu5+W+Yt7S7vV3aPHNgWo lLl7nAnm+r2U9zZi4lZLa2aVjJSFpLw4sAxOYgOu6s6x/VaagdRnMKynKtVd0uEkILMq X1xZp76BlCxPH8RpqlY59NdNqvsAniEv8fF+o8gg+eqPRiGdJDuRX/+7i9IV0neKIUiz Yx/sWqQ+NuOlhcmPDbGJYhWXshSU/h/fOYcUh1xzcyE4ku+VHyjYFNx8ITq6ijDWq9AY rAjPk7hLiHsBv/hBExFAdy3eLF8vH6CuSvZxajyvOkgwZ7yxHNaqsAapQPFZJD2iAx10 erqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714647654; x=1715252454; 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=9IqfhYE7M+oSKrbipp1fkesv01a3N+eq1uCGbE3dIwM=; b=rKoDf5x077xwYPWbg8px31NgYJcSXwjpl//WN3cBAI/ld3BZQZt812olIY+Q9OryQh P8RG/vVNgemvZAwtbbUdaO4mQgdCSOnCt7oBCpRK0ViLAsSgotITVYGOe9N8nThjPOoj HiFq1UhYZRSNUWcNi6zedDwfh13QPKpS3LX0MIBl425eod/xQgAr78+QbMFNb6/SxppH qJ3yjc2m/bqkDpAJdzUajuLlVCfmmLtJH7QjxgANcrKQqTS4Ujo8vquyxKW+Dzg/MYgT DWoVNDsFw3OzMr0nzKwq/ihsF+widlUKyuMwZFubwe4sG6ODcjXiN1YjTifs6HnZyOHh LeaA== X-Gm-Message-State: AOJu0YxVYcJmFzmxBRbTEKhT4hrBUjNWwXzPPClsJPgfTMTLXTh+rL5S 1SuiXW4O4ee9O1K25stvt4A7iuPxOi1zg+UN02H6ftZBEYy8hjakqZBuQEpBRL3KpUxU013u5oa /tXhMD15m16+OIgoNdOJk5sTaO0TBUPtt2e4SjM98ufkRBqTS X-Google-Smtp-Source: AGHT+IFA0HoLriNNWIhNdRLNxbp6C9lF+JaR2HvIDbG53MqQFgTP8weiN/OAJhNMto900Lk30fTvBL8zH+l9I5Di7ds= X-Received: by 2002:a05:6122:2227:b0:4c9:2540:8520 with SMTP id bb39-20020a056122222700b004c925408520mr5711946vkb.1.1714647652844; Thu, 02 May 2024 04:00:52 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 2 May 2024 13:00:41 +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="000000000000437501061776840b" From: kontakt@beberlei.de (=?UTF-8?Q?Benjamin_Au=C3=9Fenhofer?=) --000000000000437501061776840b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 no= w > 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 constants 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 got reflection support (for 8.4). We are planning to work on adding $since next and get back to the list once that is finished. --000000000000437501061776840b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Apr 23, 2024 at 3:27=E2=80=AF= PM Benjamin Au=C3=9Fenhofer <kont= akt@beberlei.de> wrote:
H= i internals,

My PR for #[\Deprecated] attribute was in h= ibernation for a long while now and after some off-list discussion a few we= eks 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 al= so worked in additional features such as #[Deprecated] support in stub gene= ration.

While there are still some small todos, at= this point we want to restart the discussion about the RFC for inclusion i= n 8.4:






--000000000000437501061776840b--