Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124557 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 EC0371A00B7 for ; Tue, 23 Jul 2024 14:04:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1721743576; bh=BwyuNjYiK9mPW1Vp78YmiNDTBCrAtLog5BQB1jH3XEY=; h=In-Reply-To:References:Date:From:To:Subject:From; b=iRvPwr3yFYjnrvZmy3ESJlVVyLvfB2+mBKiyAwA15PQnjFwCaO3AmquWoVzFJXFNn ZjV/rgUdTGSOHWwNEcfSaqtctqeN5jYcoQsyYd8wxgRZGmahc8Y3fYUJjcJdgwRHAC ZGypHahISAyyV/KQijqsCSdH7DFuYRCFKCkYgOUBC3ycBE4SaKm/I5ylfXEuPihEn3 whW82F6Z2Y+hMsBk+AP1Gc1vhV2PgSh+xF8JcIt7R4yiIJn+GgU7fiHHkPhHwkQbFo Uozd1GkMNaIUcj6zBHdXK+KDB/rA5wTK+bt0fk55RyNTwkNY26IFJc9r8xkBOz9oVR ZomZp18sxPTPA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4EB7C18003A for ; Tue, 23 Jul 2024 14:06:15 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh5-smtp.messagingengine.com (fhigh5-smtp.messagingengine.com [103.168.172.156]) (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, 23 Jul 2024 14:06:14 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 840AE11400AB for ; Tue, 23 Jul 2024 10:04:39 -0400 (EDT) Received: from wimap23 ([10.202.2.83]) by compute3.internal (MEProxy); Tue, 23 Jul 2024 10:04:39 -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=1721743479; x=1721829879; bh=BZ8B9NeLZ4y83DfrxGxjF m12eGY3XXkYMx+w4IUWbjA=; b=0t6uhPDWdTgtoJwEEDCzSt6yxzjX67UCskccB H9LRgILJhaG/RUJ0DpvkkPnA8SD71p5As+29ai3MQgertNE8Yr9UJgFnECmgJl2A 4BlUMLlzeNMN0cRImioTE3a/r82FTJtOULlvjrelRmzq5rTHEpTtPVomKDFR3u/x ATcypeXtm6mGmyt6d2wcR5d5IGB1uYQW5PxEyzrcmRigmKY1/+0ffKLre7waNgNB 8o9B65/R3QDbdpSORnB0cNtwhihamyCkyDzZVixk8b7WM4HrgtmaDXNdTpASTtrE AUS3InxASfXAbx5eIT8tbd6rVD+h9lrHo/t7HFE93IfGN06aQ== 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=1721743479; x= 1721829879; bh=BZ8B9NeLZ4y83DfrxGxjFm12eGY3XXkYMx+w4IUWbjA=; b=k roH7ktk0ymObfU83TMY/xf9M0XIlQ2Gmjj9QGF4OZDHYcdzFh5GNyb7vVrShuBvf dAYLENz7tbDK4YDIUXJmfM4Il8XhY2RM3nLfh6CLDCHxBL6cYhCpQV3erxTYHTY5 ttCy1tVhOwodPgcESuV1LQJPB8cb7ekS+pS0vGLfUPh2bjNYpFrMWgRCGu8fDkCO 53+iDxh0ePgjqiqWdLVSzOmQ1bAPEMR8gmwXlZcaxPW1Hg8HL2Z6OKQN8AcQy3iz c3lKbVuwmy1cmniubTkbU0oaOnjaKmh8cZjt29rKtZievbKrDJPx0d/y0Lt50ll7 d6ZcP+TfceCs7tjFZrsww== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrheelgdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeeggeehgfetjeehgefggefhleeugefgtdejieevvdet hfevgeeuudefleehvdetieenucffohhmrghinhepphhhphdrnhgvthenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhi vghlughtvggthhdrtghomhdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6D3C52920062; Tue, 23 Jul 2024 10:04:38 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-582-g5a02f8850-fm-20240719.002-g5a02f885 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Message-ID: In-Reply-To: References: Date: Tue, 23 Jul 2024 14:04:18 +0000 To: "php internals" Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.4 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Tue, Jul 23, 2024, at 1:42 PM, Matthew Weier O'Phinney wrote: > On Fri, Jul 19, 2024 at 12:41=E2=80=AFPM Gina P. Banyard wrote: >> Hello internals, >>=20 >> I have opened the vote for the mega deprecation RFC: >> https://wiki.php.net/rfc/deprecations_php_8_4 >>=20 >> Reminder, each vote must be submitted individually. >>=20 >>=20 >> Best regards, >>=20 >>=20 >> Gina P. Banyard > > > The section "Deprecate using a single underscore ''_'' as a class name= "=20 > indicates that probably the primary reason to deprecate it is a=20 > potential future conflict in the pattern matching RFC, where it can be=20 > used as a wildcard. > > However, I see no mention of this character as a wildcard anywhere in = that RFC. > > Can somebody clarify? The pattern matching RFC previously listed _ as a wildcard character. In the discussion a month ago, someone pointed out that `mixed` already = serves that exact purpose, so having an extra wildcard was removed. However, a few people indicated a desire to have an explicit wildcard _ = anyway, even if it's redundant, as it's a more common and standard appro= ach in other languages. We've indicated that we are open to making that= an optional secondary vote in the pattern matching RFC if there's enoug= h interest (it would be trivial), though I haven't bothered to add it to= the RFC text yet. Having _ available could also be used in other "wildcard" or "ignore thi= s" cases, like exploding into a list assignment or similar, though I don= 't believe that has been fully explored. That's the context/background here. Whether that encourages you to vote= for or against that section I leave as an exercise for the reader. --Larry Garfield