Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112496 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 23408 invoked from network); 14 Dec 2020 18:03:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Dec 2020 18:03:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 95F5E1804E1 for ; Mon, 14 Dec 2020 09:33:56 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 14 Dec 2020 09:33:55 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 45C565C01B7 for ; Mon, 14 Dec 2020 12:33:55 -0500 (EST) Received: from imap26 ([10.202.2.76]) by compute4.internal (MEProxy); Mon, 14 Dec 2020 12:33:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=wIDbRyN3s3Jss1wpHhOozla/eOyIc GFGZdBBN9/cLvA=; b=rzblZJ7EM5Ak8ijcuPiZV1b0Ym+PXHSDSab+DTFfPpzEM SL6Em5zpbxBWrPFtJJEsnxc4Lp0gh5aD1qAlFt920s2pXXfnJ3Gvd10AyPhDDsl1 TcxoV60uJ/Wy7Hu227wTR1YxhKgnjY/TjT7hjvZjKXKHCtJ1PCimylQjgAt0VQxM tsDUzyEYQD9C9UDfxFcqBX1hyQX4fiwgLvJi9WdDvG4yc/k6dKUb45gegfSQvWSc ytZN2TITQh/4pe8x4f0AnYIOHSFNI7/28nP8rIyj32Y/+e5YA6E+m+oWUlhPZeQo n+g+jok++Ub+AitVQFAx/nXvq4DnHYAYZKADw1wbw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekkedguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepgeehffeihfdtkeefveffueeiiefhjeduhfeuhfdtteel lefhvdejteekgffgueeinecuffhomhgrihhnpehphhhprdhnvghtnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgv lhguthgvtghhrdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C490414200A2; Mon, 14 Dec 2020 12:33:54 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396 Mime-Version: 1.0 Message-ID: Date: Mon, 14 Dec 2020 11:33:33 -0600 To: "php internals" Content-Type: text/plain Subject: [RFC] Short-match From: larry@garfieldtech.com ("Larry Garfield") I present to Internals this tiny RFC to follow up on the match() expression RFC from earlier in the year. There was solidly positive support for this shortcut previously but it was removed for simplicity at the time, with the intent to bring it back later. It's now later. https://wiki.php.net/rfc/short-match -- Larry Garfield larry@garfieldtech.com