Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125720 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 46D6B1A00BD for ; Tue, 1 Oct 2024 23:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1727825735; bh=DrWiyeA2W0QRjXdeWgFcA7+QKbLy3UStziFYVvbrwWQ=; h=Date:From:To:In-Reply-To:References:Subject:From; b=UtB7j73ZKvWCjNVgXLDBiaJARxG7+WqfIF+l/Yb/fU9Ieq3JheskP7TAJ9KTkOAqZ zRk3FKWnSRzSG5n4bx3xI6/nYcDXwdDunsz0JFF7jyndDJN8dPrla1cM+y6SnDY76+ riFbiuKtj9oqk9WKDnnRvrxmJjXJLc4PxiYx3fFLI1FaZHFMndDR+JSA4ZaKMsJqqm HAPKaMfb0Y7hE0aIt/O9MoHBHpj0SWoa5glPL9x3C0Yu8GRszNdhBCuQySRgRps9lO YI4hGJ/Oo46/cqR4YTbRUwLzPZPMoAXWHRR/r9AYSsEWyNvVoxRj4yZfYY4HDraavI D521/rrH8ZR9A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 61B64180042 for ; Tue, 1 Oct 2024 23:35:34 +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, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-a8-smtp.messagingengine.com (fhigh-a8-smtp.messagingengine.com [103.168.172.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 ; Tue, 1 Oct 2024 23:35:33 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id A64D611405CB for ; Tue, 1 Oct 2024 19:33:19 -0400 (EDT) Received: from phl-imap-06 ([10.202.2.83]) by phl-compute-01.internal (MEProxy); Tue, 01 Oct 2024 19:33:19 -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=fm2; t=1727825599; x=1727911999; bh=TcQHT9llFG2BQ3SnOZoE/ gD4tH4WpkOtxnLWdY2bFp8=; b=XBPc9W0P54xzhThV71U1vqndeZsrILUnMF+wL IhlMjdSBTfod/JWpdCnr/FfgY+GTCeEJaeOxb2F5yYJa//V0kwA/Q0OrvLYE/UW8 gM0ybZRbHaCgEyTTa92x4t1cR4WJr1bjlqr42R14N8DgbhWGZcuWRJGSM+42juvb xk6mZo+xxBq2jHwrdJNpwJoV07UaKlBbzBSaiJTpBiAGL/zcWouttVHoeut6Sk4+ wToFReELDcEu1bW9gmuIxMDCgmmKU6No/tKwDGTmc0cGVp9BlF6nTXhnySshQE7+ bn2QA6APtAkxk9ukqhj1prYVGwemPiaysbnObNz9uEoWxMs3w== 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=fm2; t=1727825599; x= 1727911999; bh=TcQHT9llFG2BQ3SnOZoE/gD4tH4WpkOtxnLWdY2bFp8=; b=N 3JuVtxrlBTCs1/EPVyJisQiWjm+qc/FF8W7Pig/2hYibTEZWc/FBFiWq16YHM5po G5iEMzb4wQdEPGWRDiTvX3L/ERXE1ICBX5ydW/+KljEQi6S2UDKX76V+EAbceEXu 9dcgJTmKAEgdnjhs5iv8UuikoRSDOVryNb8YJpaX6i3ZNObfmm+4hIM7cBlg7w2L pidmcvHaYIOk1OxglL7U6rS2Kvx529g7ucg2v+T3saqNzFfcJ7tMhGTFahfSy/VX C8DOqIhyr0WJtLjlScQLcbIO4EgFPJOOz7/o1ud+uqydG/skmyF53w8Cj3AxErRU S3ZRmUdhoL0jVOm9c3kZg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddukedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvffkjghfufgtgfesthhqredtredtjeen ucfhrhhomhepfdfnrghrrhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfih gvlhguthgvtghhrdgtohhmqeenucggtffrrghtthgvrhhnpeffieeivdfhvdeguddttdeg teeiueegvefhteehfeeffeetudeitdehtdegjeeuieenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggt hhdrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 4D63229C006F; Tue, 1 Oct 2024 19:33:19 -0400 (EDT) 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: Tue, 01 Oct 2024 18:32:59 -0500 To: "php internals" Message-ID: In-Reply-To: <892124c704f6e18abe2d6c85f6e207ed516d4ed1.camel@ageofdream.com> References: <2VnM6xycBpzqzDnAZKWS4zxCSUjvoKywJRiBzTcGhS8axaFS7QwbGNQtjkovo1jQi1XLiEGGTi3KfQfWoxUT527U_-6IGO3092BZdW436q0=@gpb.moe> <3ab9db77462c5f49c7c4a977098ba4677deb363f.camel@ageofdream.com> <680c10a5523288e4b1df2760e6e03da61a1ac6c5.camel@ageofdream.com> <892124c704f6e18abe2d6c85f6e207ed516d4ed1.camel@ageofdream.com> Subject: Re: [PHP-DEV] [RFC] Change Directory class to behave like an opaque object Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: larry@garfieldtech.com ("Larry Garfield") On Tue, Oct 1, 2024, at 4:02 PM, Nick Lockheart wrote: >>=20 >> Hey Nick, >>=20 >> Is this actually an issue though? \Directory would be a weird thing >> to autoload. Most people tend to autoload specific namespaces. I >> think it would be weird to autoload into the global namespace. >>=20 >> Maybe I am wrong, and that is why I ask. >>=20 >> =E2=80=94 Rob > > > In a situation where people aren't using namespaces at all, it would be > normal to create your own class with a conflicting name, not knowing > there was a built-in. Which is why anyone creating a global namespace class, especially with a= generic name like that, in 2024 is Doing PHP Wrong(tm). The top-level = namespace has been considered "reserved" (at least de facto, if perhaps = not sung from the rooftops) for... 15 years? Maybe not as long as there= have been namespaces, but close to. I have no strong opinions on this RFC as I've not paid close attention t= o it, but "we can't introduce an unnamespaced class, that's a BC break" = is simply not true, and not consistent with how Internals and the stdlib= are and have been developed. --Larry Garfield