Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126765 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 A99981A00BC for ; Fri, 14 Mar 2025 21:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1741986349; bh=zMD848KAuvT1D+3ECCWUQNaI3GnBgc9bzsmHURxWYsc=; h=Date:Subject:To:References:From:In-Reply-To:From; b=nK+aay+2VIB+oyCs0mVHWoz/cEXdnVIVQA0uZ/AzzeAP0FkK7OY6hmCMfnv8PCC5O pjk4I/GdEZXKhQ9xopn2HXW6B79J3f89HrUjnKKXkHsxbIO1vbZKozcShUOE9qL48/ C3b4PXnVTFM6jpTh9B8qBvD0RZcWEWj+Lu2dW9PkESZ+57B0i7CbTHl2Trj9ep2U/e TTTjG8XD8q0dPafflIs6ge8pcRExP/M4fLVN89zWYrzMxBh7ET2JSL53omKDvjp74X BFe+ogA5W00Sbui/v0U6LZMFaGcqvty3Tm/3cDnnr8ERqMDIB2/QbZUuVU/pD8CGeO DQdupKhrL++VA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A4AA5180037 for ; Fri, 14 Mar 2025 21:05:48 +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 fhigh-a6-smtp.messagingengine.com (fhigh-a6-smtp.messagingengine.com [103.168.172.157]) (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, 14 Mar 2025 21:05:48 +0000 (UTC) Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8EE551140210 for ; Fri, 14 Mar 2025 17:08:20 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Fri, 14 Mar 2025 17:08:20 -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=1741986500; x=1742072900; bh=uRZe9/YGNXoiuR5FOKaYMiT3G9KRHqQyQDZbimsuI1Q=; b= MhV2YovKRsLdKOefqjqK3TBuI68I/G+BT3ExGhBhUMlf4QgZdIGkPpkovK0xjJj4 RcSJ4JpLSPHiRwWSR4+D3gzyq3mcoI4Zx9NDBlzy6yEk43cT0WLKuej1Mn8prELk 6TujjiZ3VueYTwIsrZrVPS9EPWIO3BEAr3K9NH6kpKOjKqSqVvryV5eMq8TYUg1m JJWix48f/ewF3P4ST3zDWUA6ltZMFIBN5kyg55jO0CIiTlFLoRsoPJmYYybyzlRH qd2nTeeoIlzEeygR39FnAOXToPx2NhzA64ClBeP4w/OgnC1YtD7sYlWey6FCVWJ0 qt6xA5NakYj7N6ZSCeHuhQ== 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=1741986500; x=1742072900; bh=u RZe9/YGNXoiuR5FOKaYMiT3G9KRHqQyQDZbimsuI1Q=; b=3UYP/a+kfL4Hu0TcO 2Q+wLw9ywXr3BDZ+nGHAs8nM8NL9aeKfpGT2R72LOkAv3w4STxhaDeJcs//Vdu1d 9g29Gc0GeBMFdx9Vdymw5tDnq7qBsrkHrs+VIfpE5YYbSmWMJw8pr0iqQr3JJ1G3 PO/csNaUikQd4TnOZ7/MKRLpmMDsnFd/vgsFmCaqTGhXTpozUnJPYeXIMvjQ9W1u 6QmwfeOQVis70rrGlScgDkCmQ3NQdfK1uoQT843KCFAS0RND5myj3Qu3RRDYpR2Z BqEWEw/EhD9sGKrf/cS4ki+8HPsWP9t7gfmUhN3fkr8sn5jTuWkEyXLny9vhI64/ hGqkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddufedukeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkff ggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpedftfhofigrnhcuvfhomhhm ihhnshculgfkoffuohfrngdfuceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqe enucggtffrrghtthgvrhhnpefhudeggeehgeegudfhueduteeutdeileegtdfgfeffleeh keffheelleegffefleenucffohhmrghinhepvgigthgvrhhnrghlshdrihhopdhphhhprd hnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep ihhmshhophdrphhhphesrhifvggtrdgtohdruhhkpdhnsggprhgtphhtthhopedupdhmoh guvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhsrdhp hhhprdhnvght X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 14 Mar 2025 17:08:19 -0400 (EDT) Message-ID: <5aedb962-dfab-41ec-86ac-811dfe1074be@rwec.co.uk> Date: Fri, 14 Mar 2025 21:08:17 +0000 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] RFC: short and inner classes To: internals@lists.php.net References: Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 14/03/2025 17:37, Rob Landers wrote: > What about a hybrid approach? Maybe something like `\\` that Tim > suggested? I'm surprised nobody has pointed out yet that \ as namespace separator is already controversial because of how commonly it is used as an escape prefix, leading to a lot of situations where it has to be doubled. A double backslash would be, literally, twice as bad, needing `\\\\` (four backslashes) to reference the name in a string, a JSON or YAML config file, a Markdown tutorial, etc As a perfect example of this, check out how the second paragraph is rendered wrong here: https://externals.io/message/126589#126741 (compare here: https://news-web.php.net/php.internals/126741) The other thing I wonder is whether the original reason why `::` wasn't used as the namespace separator still applies, and needs to be accounted for here? -- Rowan Tommins [IMSoP]