Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126003 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 5A7981A00BD for ; Wed, 20 Nov 2024 17:39:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1732124507; bh=on7IZxOMR2Ht9xg2J+oLTOhiJTH6Cuf8QR6iA1wwDYE=; h=Date:From:To:In-Reply-To:References:Subject:From; b=dzTJXJ4lqbED6m6w4IGU5AbjxY8YdhvfakS2vvxRuSqPGJG20OOFbFr6L20DalrFl Ln21/5J13EYmCfG+mBjBMjcvgpikA8vUX96HMCTttyRiy6rMoGaYM4AXJqX+vOJwiv 4eGT0nqbZlXPVtXpgQVUaQ0vq1hosb1EzRD51FzFk9k0ilK/zQuKxs+Lt7C74IWIHL blcrUo4PA+KIY97M+SVXolULKDV3BimS+IoyI2GjmIXB/p95+nIfDg9EAzzb90PneK Hzw9XQc0p8I2uccQ5Uxf9YTBfE0fnRXoM+I9kGMC2h19CSvYL0IpMaMb819W1vOdkC GXOL2O7pGlH/w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F1EA118003E for ; Wed, 20 Nov 2024 17:41:46 +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_H2,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (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 ; Wed, 20 Nov 2024 17:41:46 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 6D50D254010F for ; Wed, 20 Nov 2024 12:39:06 -0500 (EST) Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-01.internal (MEProxy); Wed, 20 Nov 2024 12:39:06 -0500 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=fm1; t=1732124346; x=1732210746; bh=G624FjScmJ2fOdi6iHhdG L8yMqMoyTy4DXqqBaLhQNk=; b=ldOXVkzOkgH+B+zzs7JC/pQxK7PRt02lHmej8 RMuPYAQDlZkxbWHTfsddHbj/Ncq2RQMuDYSX1msa+tYkbGviOjzWIkeDVPyjs3FN oePkLzwvJRmQI8N7brzmQn4B8uSW4OUFSsQ1I6UGgXizFXY7j1V57Fyz3lvDvPL9 1mWjom2LEGIdm8s1D7EthCYafLjIDud1AjT6TUjU555hjNxisvi+yvVaw1rOOuWL oqkeiSWi7IAp+uWkvzY5xNlK8iVkn4fuCPxGBOnwB+6Fvr7O7abBZnKc3PoSy27a YxqZ6R5L7b0GxYMv2JJJOkd2dlhrZuC8gHHtttKXEs8jx+3Pg== 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-sender :x-me-sender:x-sasl-enc; s=fm1; t=1732124346; x=1732210746; bh=G 624FjScmJ2fOdi6iHhdGL8yMqMoyTy4DXqqBaLhQNk=; b=rqM/GmjkPtn32E+7k yncVGFl2815T6MNmkmuEyMHoy4ysrlmIw3fB75WeoYj6jx+Oeb+53ZuH8L7QvyfR Qsjg96LG/cZK4R78KE15bOtNo2FRLOSAeqlB/urqpHr1bO42XL3FdxSMXsuSVSSA EwzuxR19ZnPAzg0Izu9WEDL2jo1RCw/7K8vuSVXPmrvo78WntIY4673nNTGkbWNr /yak98D9bVgoGkYnknxdjU3VV+BI8c+Rr2rpE/qx9GdUvDNKnnjNdISAVQ2QxIEK L5x1GOxaTINZ0Bb1PaynK6jCqRr06wsWKlRj/7Abaxw/3utbaigznsDs/AGD4S7/ O7oow== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfeeggddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvffkjghfufgtgfesthhqredtredtjeen ucfhrhhomhepfdfnrghrrhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfih gvlhguthgvtghhrdgtohhmqeenucggtffrrghtthgvrhhnpeeihfefveekhefhjeeghfeh jeekfefhjeekudegjedtjeeftdeiffdvieefveefieenucffohhmrghinhepvgigthgvrh hnrghlshdrihhonecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmpdhnsggprhgtphhtth hopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehl ihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id EEC1829C006F; Wed, 20 Nov 2024 12:39:05 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 20 Nov 2024 11:38:42 -0600 To: "php internals" Message-ID: <9416c614-4e83-4c12-b4e3-1da504e3f3e6@app.fastmail.com> In-Reply-To: References: Subject: Re: [PHP-DEV] Deprecate alternate switch case syntax? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Wed, Nov 20, 2024, at 10:44 AM, Claude Pache wrote: >> Le 20 nov. 2024 =C3=A0 15:45, Theodore Brown = a =C3=A9crit : >>=20 >> Hello Internals, >>=20 >> I recently found out (after 15 years of being a PHP developer) that P= HP allows using a semicolon rather than a colon after case statements. [= 1] I.e.: >>=20 >> =20 > > Hi, > > For reference, previous discussion on the subject: > > https://externals.io/message/109350 > > =E2=80=94Claude Interesting history! Chesterton's Fence gate achieved. :-) Unless it's causing parser issues somewhere I don't think we *need* to a= ddress it. Maybe just document that one really shouldn't use it, and it= 's only there for legacy reasons. That said, if someone wants to go to = the work of removing it, I'd probably support it. --Larry Garfield