Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130804 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 4634F1A00BC for ; Fri, 8 May 2026 07:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1778226007; bh=52pA9epk6Afcin2o4rEd/Xq6JtDb37xOBxdM/MXcM24=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OUeKbndlwqp1QGwjgGMHMDdPTzc3YfUFw5NU2G550AeQzBcpxwCPXkjsE5pquwjXj jwqe2cth7g+Or1Ay/Bme43Vez0xNehAS2Lh/IMP/HbFUvpJhRwviQb0QX+J7WaAqIE NHENyFHdcy/DU6H9a8O8SaCOuWQLTFgBxlRBWoWXIMzL6vjNfgXMntcbIEdfaqegvK S0TwE96a0vCHWyyjzplo2zB7OWQrSu1WBwHiNh4nWeoLRaTQD1QZTDnOnLhnhKhzX3 95x65I5zHRxa+TpVUrruILPgygv5ml375VCaF9cAi4bxUzu9KlC0XCXpL2GdtVRT6W 6K0sjyV9l2mHw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 5D0151804B9 for ; Fri, 8 May 2026 07:40:06 +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 ; Fri, 8 May 2026 07:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1778225988; bh=e328eCJmrCVle/qs9luIQWuYVayhCMvzxVAcExLvhC0=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=n2kZsDgTXN3isK799fXrXse56KQ2gf82Dk8xJn5BcKFqP23wKERdKMu0mwQG4jgIL zIp68dRaRDAcizwrP/B2ecZJLrVJIi7U2RgkmS/giSJRfuKd9FKttV2ofkWmkC4pr2 camdOS21FaLIWaHUt4vfpOhhHwlh4JP/vofnY6R9+qR2soSTABXsgAQBuFTjDkKpE3 5XF554/h9s/IFo/nd0aSBWvzqC9muasKjzmhYRivF/UhMAH3u60SwVL2005xrrXhyR i9kB4gmorWQQGEvm9oiq4hbupgYnlswOh0xjq6lpmo7INUz2q26hZeVTNDCDRQm20+ 9xe0lJXrHBjzw== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 08 May 2026 09:39:48 +0200 To: erictnorris@gmail.com Cc: PHP internals Subject: Re: [PHP-DEV] `COM_RESET_CONNECTION` support in `mysqlnd` In-Reply-To: References: <3ff59f9b3d7a872dc0159651848dace8@bastelstu.be> <46155eca0b1416f045856ef48be5c444@bastelstu.be> Message-ID: <7df6d1ba6295dd9528a0557d322d4cdd@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-05-03 16:14, schrieb Eric Norris: > - I wasn't sure how to approach the merger of the two topics. I > decided to model this like the various deprecation RFCs, in that we're > deciding on a slate of minimum supported software for PHP 8.6. Yes, that makes sense to me. > - Ideally, if people objected to the MySQL minimum version for > persistent connections, I'd be able to include a vote that allowed for > an INI setting. This would effectively be two competing RFCs and that could work with our voting policy. One possible issue is that folks might be biased against voting for the upgrade if there is the INI escape hatch. I really don't like the extra maintenance effort (e.g. duplicate code paths that no one is going to test) of the INI. I generally think an opinionated RFC by a subject matter expert (i.e. you :-)) is stronger than one that leaves every decision up to the voters. > - Related to that: I'm not sure how much detail to add about the > actual implementation I'd like for persistent connections. Is this a > vote for my specific implementation, or just the higher-level concept > of requiring a certain version of software in PHP 8.6? My goal is to > ship this, so needing to do two RFCs back-to-back would be annoying. IMO it should be a vote for the increased minimum version with a good argument as to why this increased minimum version is useful, specifically “more predictable behavior for persistent connections, because any per-connection state can cleanly be reset” and “support for C11 in autotools, which already is the documented minimum in https://github.com/php/php-src/blob/8d0777e88b8494807727fc57c148c2497976eff5/CODING_STANDARDS.md?plain=1#L12, but folks will only notice if compilation fails halfway through”. Best regards Tim Düsterhus