Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125718 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 40C8B1A00BD for ; Tue, 1 Oct 2024 21:02:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1727816685; bh=MbGCanQsiTUhvxjHryx96ckHHRUbscNmJP+2kPeefVY=; h=Subject:From:To:Date:In-Reply-To:References:From; b=aYDjZbnpJugh16fLCmGtmXLJz/szoyj6ExyiuKXhIbKCLQPJ8UAn/VcLoBUKvMiqQ 3hh9pTAc5dy+4j5Ea/Jx5xGbPndGwV4wLtYiPTjUO9MD/pU4YSnTrwpluYUJGaSUbf ssj63obK1zSx1yx5J0hodQNJ9rDE6qmf+ijF6kHQZInTOop4ULHjHzoUAERDE5fJDH +boQ8Xygb03cjh3NFMMflO1L7PyTRtx3vl1tQZZzaYIZvn2VinspXBGcUTNBCp+dCu 3OwIM7so2jJkgBGeha0x00wj782C8kjsN6lnjCFAdWEJe5lf8q59RW5Uwh/I7/zsNL x6EF+q0WKeWEQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9B7D018007E for ; Tue, 1 Oct 2024 21:04:44 +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.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from ageofdream.com (ageofdream.com [45.33.21.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 1 Oct 2024 21:04:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ageofdream.com; s=ageofdream; t=1727816550; bh=MbGCanQsiTUhvxjHryx96ckHHRUbscNmJP+2kPeefVY=; h=Subject:From:To:Date:In-Reply-To:References:From; b=ACwbFTy7RhW0QejVBIjFM0MhPY9RQnxcyiy0qTigIVnDsXmOLrvoc5Q9HedkgvBmC WuZxp3FKhRnR/+kEHSjtBz1IV0GAMy9QfVU2ZhCgGg9B5QgWeX4d5OJCjvvbvot2PB 9YVJXtoYBnB3AcXmsVOGtQp5z/xbyMBK6UEXONRWK2887aKYp2pfD2fYPjXs9564KS 6Gy7dPuMg6ZnDR4Zg8ze/rYxFlTNzVWsYT1JDvLn795fu6d4ue0yA3dOMUTCHDOWRp GbdYRkYZiBhggjXc6UQSst8Tqd0an/idX+M3XOhcgXE35svRD9l7CEBZGDfA0Jw4PX I0El9wUQNwVmA== Received: from [192.168.1.7] (unknown [72.255.194.227]) by ageofdream.com (Postfix) with ESMTPSA id DF8E927894 for ; Tue, 1 Oct 2024 17:02:30 -0400 (EDT) Message-ID: <892124c704f6e18abe2d6c85f6e207ed516d4ed1.camel@ageofdream.com> Subject: Re: [PHP-DEV] [RFC] Change Directory class to behave like an opaque object To: internals@lists.php.net Date: Tue, 01 Oct 2024 17:02:30 -0400 In-Reply-To: References: <2VnM6xycBpzqzDnAZKWS4zxCSUjvoKywJRiBzTcGhS8axaFS7QwbGNQtjkovo1jQi1XLiEGGTi3KfQfWoxUT527U_-6IGO3092BZdW436q0=@gpb.moe> <3ab9db77462c5f49c7c4a977098ba4677deb363f.camel@ageofdream.com> <680c10a5523288e4b1df2760e6e03da61a1ac6c5.camel@ageofdream.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 From: lists@ageofdream.com (Nick Lockheart) >=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.