Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123333 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 8E1C51A009C for ; Fri, 17 May 2024 15:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1715958224; bh=Ridv1/6QItDfVE6bvYXlvQ4rLdHzj2AZbEjN+ld+AHg=; h=In-Reply-To:References:Date:From:To:Subject:From; b=kaYq931o59l9sV8muXaThBo8Kkm++efSZ8OhEmuXhT8ic4MNIFuj3Bapw8HVbbMeS UsU8XXM6efszmX4O5MgCMwNG9XZxPhtUaOpXzsdbGc8QobtQNX0R6+pKp9LIf7D7ze L9d6/oWLbR8XwFhFkFczkjHiFm6e82cDplKOjYIMpp/8unbHD6/HygZkqHmqxJDX43 H9wg04Uu1s2CgiYk0lSkZa8XPKYDIAT3NyCqvkzUqq4oLkxk8N8o61t+rP+qFenABF HauAdE0v7z1RCfdu7oOo+Ug6QLf5n1iizrUcSLdiDf31Rp7JrfdzrxtbVAbx8ugTUt cmrJ6RPW3t2Kg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 025F618006E for ; Fri, 17 May 2024 15:03:44 +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_MISSING,SPF_HELO_PASS, 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 wfout2-smtp.messagingengine.com (wfout2-smtp.messagingengine.com [64.147.123.145]) (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 ; Fri, 17 May 2024 15:03:43 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.west.internal (Postfix) with ESMTP id B2FAC1C0008E for ; Fri, 17 May 2024 11:02:48 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Fri, 17 May 2024 11:02:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=fm3; t=1715958168; x=1716044568; bh=71dEjXhPysxwnzXi6bEZa OIQ7Yz4ANmqX1vrt1l/DEQ=; b=43sD1QaeJhEGX6OLH/MXmlRaAAnh3V4TjsYqS 58VgMIL1ixWO0XejfNJ3IhBwseTQnkCleLyudYFrbnykOM0yN/GUrlHILzE6PakW fi79dn7ygGlEIL30KAwOJUCFsjT8/wUtubmPqdkAuRuE/D7TK3n1vy+eVqop7r5U IWfR6b3RcIPcgvfiYESY8JiyUoQ2dvocxscxzpTL1eZDm6pGvieENVyBR458Hwrr Fdlb8tF60fvl0OqH2d5fm0D+65Rpy/ZkJm0ohlaQFkqa1JGwScUmmWcmdQN3tyOw +yNQiz7CFgLJBWG9IH9XaY6LvNx5hbJiSWdtAOI+6UpMbmOFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715958168; x= 1716044568; bh=71dEjXhPysxwnzXi6bEZaOIQ7Yz4ANmqX1vrt1l/DEQ=; b=b xY3Zt/Bwly0IU90JV4U/GYoTRTGXEJZXOLs9/ceb+uWpXUDzndLr/PIz9mW7Ptj/ Zz3L38GblMfyEjc0k5pgm/j1CaUSL6ABJrvVWg67U34w5TAukRfKVqOL/IEXr80A wuvPuBkOCs2HoookyIHwjLc19KQpUAWxay1onFgFh68K/dRiMX/eYshT637kj8Y5 mmYgqnSd4Uy77R+1WcoikU/mpr56e7l6GEnPetkEHPJwY8qtl0jVR8/7S3G5Xuej K5TIFihj9oP1HtSVMzo3wOaaWLxaqWdyxbkHTG/hSB7svOHjItcB9RUG2LpSCHZg CUpOM6QK2+CCXVjFIOriA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehfedgudefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfn rghrrhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrd gtohhmqeenucggtffrrghtthgvrhhnpefgudelveehheetueeigeefudevfeejkeejjeek udethfekgfduffevteetheeitdenucffohhmrghinhepphhhphdrnhgvthdpghhithhhuh gsrdgtohhmpdgvgihtvghrnhgrlhhsrdhiohenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtg homh X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A9FD81700096; Fri, 17 May 2024 11:02:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-456-gcd147058c-fm-hotfix-20240509.001-g0aad06e4 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Message-ID: <8432541c-ad13-4682-9034-bcfe47e142ff@app.fastmail.com> In-Reply-To: References: Date: Fri, 17 May 2024 15:02:27 +0000 To: "php internals" Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] #[\Deprecated] attribute again v1.3 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Fri, May 17, 2024, at 9:53 AM, Benjamin Au=C3=9Fenhofer wrote: > On Tue, Apr 23, 2024 at 3:27=E2=80=AFPM Benjamin Au=C3=9Fenhofer wrote: >> Hi internals, >>=20 >> My PR for #[\Deprecated] attribute was in hibernation for a long whil= e 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. >>=20 >> Tim has cleaned up the PR quite a bit and also worked in additional f= eatures such as #[Deprecated] support in stub generation. >>=20 >> While there are still some small todos, at this point we want to rest= art the discussion about the RFC for inclusion in 8.4: >>=20 >> 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 >>=20 >> Let me know about your questions and feedback. > > Feedback period is now nearing 4 weeks and the last 2 have not brought=20 > any new significant discussions, as such we plan to open the vote next=20 > Wednesday if no new roadblocks come up. > > Thank you to all participants for the feedback.=20 >>=20 >> greetings >> Benjamin Why is the attribute not allowed on classes? I think it would make sens= e on every language structure, unrestricted. (Including classes, parame= ters, everything.) The user-space definition of the attribute is invalid in the example: It= declares properties AND promoted constructor args. That can/should be = combined. Otherwise, this looks good to me. --Larry Garfield