Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126811 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 1C2BD1A00BC for ; Mon, 17 Mar 2025 18:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1742236762; bh=02kh8A9vUTr+5aGya37Nubl6A6hX33cYgvAh31L/6zE=; h=Date:From:To:Subject:In-Reply-To:References:From; b=ELMXnOg6T95K8R8GCkxW96/8jF9It6ge9PJpOKd4CU1xa78Zpsl75j5el19XErDOR 6xK9sMSVp2ULuNqWszGYrJo8gSShIgM91bkKYgFEzxsL96k7B4IUBfF4aUCejHLTVh ZsdIL0AIQ766LFqkjkG1Jq3lxR5aaTjhQQgeHL8tqGHKURTh12+YLelTDIjcbYPfKO 8A1Pg5R528alaMTVR+GcIHrBqosKD53e1QJpe1B4Pskgv1yOeIlCoyIs92LH4wHLYo hSZbWuKhvwPnBEEmrKTz1m71aZ6g3wVZBKJE6uD+qyRQAVu94EFwGqLAzr3tin702p 21dljrh57wnAA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1864F180072 for ; Mon, 17 Mar 2025 18:39:21 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout-a6-smtp.messagingengine.com (fout-a6-smtp.messagingengine.com [103.168.172.149]) (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 ; Mon, 17 Mar 2025 18:39:20 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 034281380A14 for ; Mon, 17 Mar 2025 14:41:52 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Mon, 17 Mar 2025 14:41:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; 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=1742236912; x=1742323312; bh=02kh8A9vUTr+5aGya37Nubl6A6hX33cYgvAh31L/6zE=; b= G4KNTkZuy6Ev1I4WqDuX7vRiraptYZ25adp8OByhKzMdzfvnBFzTPM7ZqskSlSiE Qc+mGojJfn1QVY/pQgi+hSQhY9YVYhL3MNpiQcQ+T8H56Qj0Khs93oEU0OnewAYF gkZQ2C1ppeSB/Cd5p1uch55QdYtxpVMEl5lUd/kQ63dZgSReAPd2hJ0nzFciuM4s GBEQ4/HovZfAcNqyAZDxNYaGkPQZYYr4SCzg9gRxOKEdhMdNupiYgyoM0tAW1BO9 CqdVgjS7ZRmVtkc1PRqsYv5wJq6E88YhTMgpuGivIeWTfhKvp3hSRq4p5rYz/MNp b97F44htff+LAWX5DjE7GQ== 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=1742236912; x=1742323312; bh=0 2kh8A9vUTr+5aGya37Nubl6A6hX33cYgvAh31L/6zE=; b=iwUFssGzn+Vbjk1Xr /81FDhwh1Zmvmw62mBD0WoYETWgZXT3bn6G+HexKX3dSgXlkaAmvRUZCXHrrVQd2 T8/BY7nq2qWfb5+yka0ZdifWeiI8V5+MKiUw3V8Je7s0ukH+bOBmOcPF8r4Tu0nm BBcsB19IjVM4SHYArwlQZJg36BkCcvPvx8MjnUY1EchAD0ZtI5evgk9iPVzFnx6e msxQJVdDJkqj40zFyiESw5y6Hnd0KWJy2xtnAHWcnvjeqlz3USIX0+nseHsEl7NI K/Nq95Lui94qMD36J9v0ubeUVAiqAtyeBpGH8klTOryJ4oETCoq8E9vcPoyFNGvp gPGDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddugedtvdeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhf fvufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpedftfhofigrnhcuvfhomhhm ihhnshculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqe enucggtffrrghtthgvrhhnpeehleffteeigfevudetfedugedtudevledugeeugeelheei hfehgfdtkeevvefgleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehimhhsohhprdhphhhpsehrfigvtgdrtghordhukhdpnhgspghrtghpthht ohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepihhnthgvrhhnrghlsheslh hishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 17 Mar 2025 14:41:51 -0400 (EDT) Date: Mon, 17 Mar 2025 18:41:49 +0000 To: internals@lists.php.net Subject: Re: [PHP-DEV] RFC: short and inner classes User-Agent: K-9 Mail for Android In-Reply-To: References: <3e4ba7ea-a154-452d-abfc-05ef1322fade@app.fastmail.com> Message-ID: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 17 March 2025 18:05:49 GMT, Bob Weinand wrote: >I have not grasped any single argument in favour of \, except "other lang= uages are doing it too", "existing tooling splitting on backslash would con= tinue to work" and "we could use the existing use statement as is"=2E This wording feels a bit disingenuous - clearly, you *can* grasp some adva= ntages=2E It's fine if you don't think those advantages outweigh the disadv= antages, but that's different from believing they don't exist=2E=20 In other words, it's like the famous Monty Python joke: > All right, but apart from the sanitation, medicine, education, wine, pub= lic order, irrigation, roads, the fresh water system and public health, wha= t have the Romans ever done for us? >Also, just because other languages are doing a mistake, it does not mean = we have to repeat it=2E They are generally doing it because their identifie= r separator is universal and it's consistent=2E It does not mean that it's = without its own problems=2E Absolutely, but where there's a wide adoption of a particular pattern or s= tyle, it's worth at least asking whether we're making things better or wors= e by doing something different=2E=20 If we look at that, and decide we can do something better, great! >Using the double colon is a very minor BC break (accessing a class by a c= lass constant value?! That's also quite inconsistent that it works at all, = as you can't do that with normal constants, only class constants=2E)=2E >Using another sigil would also be possible (like :>)=2E But for the backs= lash I only see drawbacks=2E > >Also, nothing precludes us from allowing "use Foo\Bar::Inner;"=2E Personally, I would be equally happy with either \ or :: and less happy wi= th anything that required us choosing yet another set of punctuation, for w= hat is otherwise quite a minor feature in its language impact=2E Rowan Tommins [IMSoP]