Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130013 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 C039F1A00BC for ; Wed, 4 Feb 2026 17:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1770225417; bh=N28o3A1jRRcJZFEkU55odW80m5YS+W9X/AexSBlc1lQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MyqCNINkNjoVtJ9YOtzv0/azEhjsjU0LBdyGyGR5MSw1gyNsfqp2zaWWCbqr2QHQk ao3RJKRU7GYrvJ0Jx5ah1jJinV3udGEw7+NtALdWVvw7b8YH8VhMysalzsdMHpn8c9 SBiwLXVryPyd/r69V5y2LWblqKkkT8YtOVb6QNgFg/6VeHHA8pY0SiwduNDpuXBLiy MdPGpXRppeknK43vIo2DUel2+vVVLk0uGFdKdOXbcRqj/AlGVNc79x+yvZBAIGNw+a LctQAXdriVanv6TYk0MEAOWAWcS/lhBrMsCwVqGU4mYWrtvGelUI+AWGQHiSH3mjXN 7AYMWxTEuG2Wg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BEF061801D9 for ; Wed, 4 Feb 2026 17:16:56 +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=ARC_SIGNED,ARC_VALID,BAYES_50, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 ; Wed, 4 Feb 2026 17:16:56 +0000 (UTC) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-b885d8f4092so1192637966b.2 for ; Wed, 04 Feb 2026 09:16:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770225410; cv=none; d=google.com; s=arc-20240605; b=fYGU79wO8a5GNSaxsFYP0FMRjofuca89D+TMb12OTr48/Tl+Y3XT/BGjVPHRKysiGS SihDiLZhXUJamkwHiHJeU3duyFbE5JPqEnMcW2hwtvLM6VfOJRJXq3AWzSftIeWz/0c8 SW0+TkgbHt/oqHRobMDjAJM71uTrJGXn+a3CPUG0VG3wXLugmsVZVlxbmHbGKXw+qJcM lsSG3BLozAuT+tzXWXXAk8BFNuIs5vQNUIzsQzApHDkrEt8OYzBXK0X3HnNuWS/6CM9d Tl0Fzt3jyr6OxYU5lfsaAg27sIRdYtvRkfxbzLk+DWw8i0J8703wL1BjB1rqQNbWo8w9 CikA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=BbYfRchf9rvDq0rlpdxPpHxtfk5A0rGppIPibFxwmKM=; fh=4tytjhG5+ySp4dS8TT3glIm8x63aEeiUDfnQqxW22lk=; b=dk4hCbSuBoSB27gKVETNP3fFbNCfIzSDRK1Ru8Zc1+k3qdjUwGzHtY94inL0SpQ/SJ +UDEVjL5IT4vCUWG3ZBFHvMO46qY1moifFAhYRN7q0h4zob8ZWIIEExcvOoWEZieG7us nQ1jAgauBXd9fWG7Hk9unryuyD69VKCGKNwrdiuJci4Wyup89uQNL6FQDu0ZM19lh3cY eyiCBF6UuMdCgcYk8+TXX5S6fbxIrQhShtHTBXM9B+jt6m3zyQQfRWQPjwEwnnK0ZxEu rA1suro7OXLyyQHleotIRwD4qbKaRcFu/RvSetZQatmG7CcZuQJwIDAp2V/WzxEx2IKZ znyw==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tideways-gmbh.com; s=google; t=1770225410; x=1770830210; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BbYfRchf9rvDq0rlpdxPpHxtfk5A0rGppIPibFxwmKM=; b=DxrPAT/R82JThBVdB4VsimqP8Br7art/ReDEA3s0ZSrCBGwWITo3QpyNR0HlJueoVj dslOC0CpFSfjcco4jGFEYUjMLrhYKqZsTK+GP0ZOktr7S2IrQN8tSvXhqFyE1zkXlF2l gK0095mSypT0dDQtL8J7EjT0M6OxWVyc7bpWAFXNpFlGcFFpHoDeVImyIPEa75+p4TRa XlC4AYivzmoOS96iDhGNHvK5qtqnNpgJ7foeIyasJGT8XboUjHhZlrXqfho/DXEVnXnL 3JebanyB9LWabqfMj54keBEueyfDCn0ehX615/mA4oh6Jrtq31TE9H9y4S28mDDv1vRp 9xww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770225410; x=1770830210; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=BbYfRchf9rvDq0rlpdxPpHxtfk5A0rGppIPibFxwmKM=; b=Hrz6RngMCkTPcM0OU3rZqPppUC2HL/UQrhGERpcFRCoDWbvnAuF5nNedetbU2Fpn9M MMjHvDumNf9fUttLEYpLLrPaaQEn4I0UBQX0mK7lvNAZdZ8JNH0jLFJWiJwrHB3IVz8c uGVyj1tWkJq39JaqRR1m5rG6prnHgteux952XT9Q84nTgCpFWKpSXRMPC62tVirNmmx2 Lh5dqa599JhdnM62HszEmNQP5dz5KgqerBf+nzQl1126YeaLi4kDJmRcTlI+HKw0CakK gHLP25DwmNWh7sF37YUpkVmSYW3fuM9I8zIJZBx4awW1cWDtdC5mdHEDD4rpesNKZqW0 uopQ== X-Gm-Message-State: AOJu0YxedFI4+hkpfV8+5abojdNCBzz6L/nRfuga8pxFZuowUfknmzNR a1N+UL2CiR9D7d6uYSBtvnXJkLZjG9VFdRMnz3trRxEI5DBybxBP3Ju004kd3ibJqUpdcOCNhKn Yal3ZVoTg37QjudMnSMbGc1VVlJw7ZAYjGy/65Bs0Pg== X-Gm-Gg: AZuq6aKXCQf9Ata4dlOzqEBGC93dVcYSUdN/jwSYzAULqjIWbQWjSFzUVF6n4f2rT6M NHP82n19VFkee3OWGmuPk9PlFUPV7EM2UTDddRmkQRUHcCKKfdeo/H8t2KSWtLeNtC++h7j5QTA zl7jby1OTYEbg9bKOuSrTVg+QPeqHcHnWZFFx97KK5qUReKFvXyftad9FGIj6aFP63cZYaXysgM kDSYELy/oRm+LUUFQTJJ1lPQb5ZXw+Jf9vWdUQotrNqBsOqTEs2HJo93oATAXubttTiYpth4sSk wP7GJ/tcGTSK5bTTWaqa0ug3aQ== X-Received: by 2002:a17:906:209c:b0:b8e:a179:3332 with SMTP id a640c23a62f3a-b8ea1793afbmr150709066b.59.1770225410072; Wed, 04 Feb 2026 09:16:50 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <4deea2df.a2a0.19be6247b75.Coremail.lamentxu@163.com> <20260130003750.5CA2A1A00BD@lists.php.net> In-Reply-To: <20260130003750.5CA2A1A00BD@lists.php.net> Date: Wed, 4 Feb 2026 18:16:37 +0100 X-Gm-Features: AZwV_QiQn2NxDS0NTKWnNxPGSAK_2tdlcQ_PBXKHspFTzl56PwShuorqgHeFFhM Message-ID: Subject: Re: [PHP-DEV] [Vote] Add form feed as a whitespace character in trim, ltrim and rtrim To: Ben Ramsey Cc: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: volker@tideways-gmbh.com (Volker Dusch) On Fri, Jan 30, 2026 at 1:39=E2=80=AFAM Ben Ramsey wrote: > > I've voted "no" on this RFC since the RFC says the proposed PHP version > is PHP 8.5, which I interpret as meaning PHP 8.6, since 8.5 was released > in November. > > Even if PHP 8.6 is the proposed version, I still think the target > version should be PHP 9.0, since this is a BC break. I mentioned my > concern about this being a BC break in the discussion thread. > > The RFC is also clear this is a BC break. It says: > > > This is a **backward incompatible change**. Scripts that rely on > > `trim()` *preserving* leading or trailing Form Feed characters will > > be affected. > > I'm a little surprised by the number of folks who voted "yes" on this, > despite it being very clear this is a BC break and PHP "Next" is the > implied proposed version. > > Cheers, > Ben > > I would urge you to reconsider. Pushing all bug fixes with extremely minor BC implications into a single release that happens every 5-7 years will create problems with adoption. This fix should, imho, very clearly go into 8.6. Every minor ships with a BC list. E.g. https://www.php.net/manual/en/migration85.incompatible.php and there is nothing I can think of that is more minor than this change (maybe except adding deprecations). Kind regards, Volker --=20 Volker Dusch Head of Engineering Tideways GmbH K=C3=B6nigswinterer Str. 116 53227 Bonn https://tideways.io/imprint Sitz der Gesellschaft: Bonn Gesch=C3=A4ftsf=C3=BChrer: Benjamin Au=C3=9Fenhofer (geb. Eberlei) Registergericht: Amtsgericht Bonn, HRB 22127