Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125727 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 344091A00BD for ; Wed, 2 Oct 2024 11:31:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1727868806; bh=OuBusa3cBusIZaOg/NW9bSkOgoFmd/Sn4x7oYnyl6TI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cnHqkDg/K5ZdmyrbMRfLVPTxfiXjck1z4AT6Xm1LbIilAoAhecDkOu6gjziL4kul1 vNrt6EYu01NetqpZg3Fm+HbWt7dIZnsPfbsj3iyDXBMbm0E5mz3O2uwBPkO1iJFmRq 33ZJsgAOOWDw7PEoH4wgFLdCY8AhP8eJjrVEVUNkb5b+AoWB/XtbYsFwLXvIf6VNBu zTS7N8Nl9PWzTSupVZwTdbTRTxMCczG4aYk4wfxhK/pgHC6sc3i7+6QaOpkHUzXESG RAJUI/a94K6eass/3I0HFukU8HcSqjn2MZlJk/cOGZWLLUiBOpeNLhuiH7rDI1NWy0 Hp1WkX1W1M65w== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CA2C618007E for ; Wed, 2 Oct 2024 11:33:23 +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_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 2 Oct 2024 11:33:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1727868662; x=1728473462; i=cmbecker69@gmx.de; bh=GvV78F0+chEDP0EwXpVN+/rdMBM+t1B7EKO7T+RTlxU=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=nziPUZaW9x7466x1pwN+4a8mwAcu9MVBl72bQF+NIDzRpW9w1WhxQxQmTF9jOMUf kKlHPjK+gCwmuSmAKx106kJZnhJLls1FjbHnonQiNxI17X+7WE2YPGNLuIqnemOBn BQ0eTGYsZ7/f2emCtgbybIf5XCHj7fSKEJPBR5i7YwwMagwCCjdrsXGKnETUcqbuV 2FhhKFdYjqhHlIWjO11wul08l1oSGq4Fq19pwVxc2W8g472Y5pe2f0/nGizjkTJPx JfyLnT4mHj5fZuoueMm4JQu3zkSE7Q1fRZItyYsBIbpndyaEM0v0zSAl7VqIkltVx 9aMb/R08hDD8T0zJ3Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.2.130] ([79.251.205.37]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MsHnm-1s3hxU1GZO-00xmxq; Wed, 02 Oct 2024 13:31:02 +0200 Message-ID: <92135a49-84c4-42ac-9c98-9d83e33f4c51@gmx.de> Date: Wed, 2 Oct 2024 13:31:02 +0200 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] Change Directory class to behave like an opaque object Content-Language: de-DE To: "Gina P. Banyard" , Larry Garfield Cc: php internals References: <2VnM6xycBpzqzDnAZKWS4zxCSUjvoKywJRiBzTcGhS8axaFS7QwbGNQtjkovo1jQi1XLiEGGTi3KfQfWoxUT527U_-6IGO3092BZdW436q0=@gpb.moe> <3ab9db77462c5f49c7c4a977098ba4677deb363f.camel@ageofdream.com> <680c10a5523288e4b1df2760e6e03da61a1ac6c5.camel@ageofdream.com> <892124c704f6e18abe2d6c85f6e207ed516d4ed1.camel@ageofdream.com> <0VZtrSDTuGwRkGGWFc_2yiAbJa69FBZ1dvn1xfi7dr5KpuGs-Xuo8xH-2WPOwzj-4KB-y0wrfg3t5QXEpx6TvSM0FVYpPfY7jD8efFweGLk=@gpb.moe> In-Reply-To: <0VZtrSDTuGwRkGGWFc_2yiAbJa69FBZ1dvn1xfi7dr5KpuGs-Xuo8xH-2WPOwzj-4KB-y0wrfg3t5QXEpx6TvSM0FVYpPfY7jD8efFweGLk=@gpb.moe> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:cZLJIza9j74NnipKUMw5BmlkgXqG9FtAEBeG55YD8gTTR/fcbRd U9Y+JMDaX1PaRfdbrATI1qezrvkJbtTJzr82T+w5I+F1pZwz9fJgdm146q59XqCynv5Wf9q vlGiRNnox2/u8261sonr+NubsyVMY79AlqoifHEBRNzv1xjailkqhWbyAoyzDs036dGW9ys whStJZRRy718hn6agl4zw== UI-OutboundReport: notjunk:1;M01:P0:n1QbSsCPGjs=;txjS4z8STJerc8nx6KrQtY8ePVw Urq9YJWW5EXW3Mkm22ssT0C6QKYGZ3f5bA2HJgguDeZ4VCkkgpyrVfC3vTW8fnVtVbr7eAVna hbB7gwA4Jb+UZ/o67pnBFVbseog5+EIQMfr/B2k5k8LhnKxAW2KUqfN82UhnSMov+o7sWhKrx adfr+bBjnr1FGj+gpwUvOmiKul9tfwmVZM2uHF2PeKaL0zOlxn9r/zuqJtQkKKFLFmF3OBDkD STsGXRwwqomT3MpwZzXMMktbBvBkExhRq/jjufak7flqhlZyP0Z4HQ6R+W23HMy4IJCPWeKRL MWvw0l1QgBT341j6jOGQ84KUw2SNingOotx5zKiZ5iVcvC0oO1/bC5B6MXAbgg8JliN555fUe EHGsedXyUpIqBFNArZTFteN+p31twsjT0H006MzYl7ZIA1xhahtIL5vsGbER6oRd/V7Xi1MXN 0iLgGv/6shIzaPeOBM93r5cNH133/bHo3uSX2fy6WU9NfTYILoifPEzEqSFgHHjrqB63iNx3o pC9q0guV05V1Pdd/Dy0/IzQekcCu6pJHgiaY4MCsl39RntaxNvlnchDk+sGMJm5avkSOohQre mUtLBkyL6RuehBTrHc15KDOeyrTVcWWXX+l1VluvWtxoaaTpQT+NQ/xAEDUSoaVyMefcC/Kfs PxUsuUGPFLMJ7nwiO7br2IPiTqMiMSBvktFVtSjbr4ebUMocBw4g8rVIrwzqGGntYc5QzHFu1 AS2rHJ8z3pJ0omfWpgLcyv65feOIZXljjIAjVBOT/5vWlDwKorJLv2MomGJgWFq8nvz80y2fk 3osSDGYwf/imbsgkFnE4DyvA== From: cmbecker69@gmx.de ("Christoph M. Becker") On 02.10.2024 at 12:55, Gina P. Banyard wrote: > On Wednesday, 2 October 2024 at 00:32, Larry Garfield wrote: > >> I have no strong opinions on this RFC as I've not paid close attention = to it, but "we can't introduce an unnamespaced class, that's a BC break" i= s simply not true, and not consistent with how Internals and the stdlib ar= e and have been developed. > > This is not a new class, it is a class that has existed since the PHP 4 = days. Plus it is not part of some rarely used extension, but rather of ext/standard, so it is always available, and nobody had been able to declare a userland class Directory (https://3v4l.org/dUOq0). > Arguably, if this would be a new class, that argument would have more me= rit. Right. > But changing the name of class that is 20+ years old and could have been= used in type declarations since possibly PHP 5.0 is a non-starter IMHO. I agree, although one could pursue the RFC process. This would be a completely different RFC, though. Christoph