Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130370 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 lists.php.net (Postfix) with ESMTPS id 7F2661A00BE for ; Mon, 16 Mar 2026 18:00:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1773684060; bh=bChyxA462EmA797x75QKWxFXf3SD3tIa9Uh4BtmvNG4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AyJ+89BuDW3XAouVmt/nzU6Izq3fcs0l7In67Nx9omX9wk5x9nXful4AygBORPHYU yUNE2gvUAcR+blo0UFSkn62kBv0ZI8yOLUibHmsx5KMgTqtYd4Js9WIEaQ3I/K4Yl+ qCj4slz4F++ys53yLSj7J2d7ovlyHBN7wguAdqDLvyi2MKq1kpKl2hfoyTmlDSxHPQ Nksy1cOryAf1gnZ5WyAOwr1jOXGw/3MPDppnWYe13eKgvbw3YBzhtpZC5oJisCWOH0 RYyZkippGd8lHP/oP8S3jLx/ajMudeWdq4MsK7wE8Tq33KLC2PqBgH/fggc169tDgd h0QwzJGZHdX7g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4927618059F for ; Mon, 16 Mar 2026 18:00:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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, 16 Mar 2026 18:00:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1773684049; bh=ALToFLaoBi6s+xzIrgeLDttNEpV8p3MZOBSE+w8zWbE=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=kyDihlLUulxdVQFQylZTnlTCuTj/ZIGRJjdnYZC4N9X677HmCWBhpDWIAhn+EWFFi XNnPT4VUNSjsz3r/FiXSYpLcuRddpkSJeAIY4z1fIYvNGCpfwLYX2YpfGGCvVB2hF6 FuNrD+GMguEC7oYwD9t5vVeePcqZg1LvDBXoCJuje8TYxFG9tPqAzaeiQArFG/LxN2 pAdcX7WZi2/ugTiAMBGVSpiWxJ5fO+oo6oTjHL+ynChI0ikPmE+4DUd2CGKaruQLXx EeVBGDbWKEt3byH1PBIx9IL8W8G0JNsacy4jEo5Yv03b2LT7kVnMp29djI7+qGbkyP 82c085WCZB5Ng== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 16 Mar 2026 19:00:48 +0100 To: Larry Garfield Cc: php internals Subject: Re: [PHP-DEV] [RFC] enum SortDirection In-Reply-To: <6c1fed72-7890-466d-8b2a-4bef608f8558@app.fastmail.com> References: <5bec7fdd-e2d0-47ab-92d0-ead8eade21e6@bastelstu.be> <0fdf66b9-2027-444b-bee5-01bed296e3c9@app.fastmail.com> <58700a4c-7d1b-4e4b-b6f9-adc5843b0206@bastelstu.be> <98259e0e-22e6-48ca-b520-b91ae8072e11@app.fastmail.com> <4562f90e687f719a18cacb43cae0db33@bastelstu.be> <6c1fed72-7890-466d-8b2a-4bef608f8558@app.fastmail.com> Message-ID: <451508d52b85f4371e72497f5b94f18d@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2026-03-16 17:55, schrieb Larry Garfield: > […] Which functions? How will I even know? What's the plan here other > than "we can do that later quietly without telling anyone" (because > vanishingly few PHP devs look at Internals PRs that have no RFC)? > That's what is missing. As with any other user-facing change, the changes to the function signatures would be listed in the NEWS file and the UPGRADING guide and would then be incorporated into the documentation, both in the function’s signature and the changelog that is available on every function page (e.g. “8.6.0 The $sorting_order parameter was widened to int|SortDirection”). I suppose that tools like Rector will also be able to suggest migrating from the old constants to the enum when that happens. Best regards Tim Düsterhus