Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123120 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 976361A009C for ; Fri, 12 Apr 2024 09:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1712914397; bh=6KjEL1UH578XybAL5kAbYxC1KB24pNJKK5JR5vAan1k=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fsdTDvxJg0YgSGpfXyx9xT7f+pxhmMmt/HjzxREwesmnnIFiBqy10FVx8LwFhdqA2 TD1CPXVSSgrtsWI6qL0PCOFHxaj3Xb6o9ahsNL+izZDVcs2MEOj/xh5ewPED6vLP0X WDNhuLfYoUTw7+3K358C7cKY39mqV2fJh0OWaiJRZw7qUkifNRJzv0yiUzeQQerOxT wC7HyN94AIT8Pp5vjc5FR87dIdMOgwCPi06KAK58fk4TRVf5Nl4/g9yeS91K3RviUa UXJV77LRsAHWykcxoKNTmm8XOtA72o+07ATlqBSxM5hfpGZiyrZ/fvpOpV10COYLFn HYqzFpzujPi4Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7A6A8180047 for ; Fri, 12 Apr 2024 09:33:17 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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, 12 Apr 2024 09:33:17 +0000 (UTC) Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-516d3776334so908886e87.1 for ; Fri, 12 Apr 2024 02:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712914362; x=1713519162; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6KjEL1UH578XybAL5kAbYxC1KB24pNJKK5JR5vAan1k=; b=OhMgxMn7VpH3dLRZTnLZ/MmOiHgpnON//XxGp/+u4Va0qNXUDLMK0DonaKg9bKI68Y 7MEtcFWNnGZmQQvDxXzJi27QVcAZ4Vv0OaYr/XFGpb2pV2U2VLegjLHuvIiSPY4ObgkY fgo0v9KVYXR2w/lrEhk356oPpSpCvV9u8t+dg7vPfzcA5SNmH/FuOwj/6qsrqgGXeBCd pE9AtS0oimqFzmMUHHDU7C4o0Eflu/87jZW2iiKUrsOQRjq47+5NfLS/GQ18x7wolLWv oiEHjn9+web/oUm5nteUbRFMwSUq9wEaJqb7f4RiVG5wqIgIHqEdYSJlotbW7gLB+cYX xfmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712914362; x=1713519162; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6KjEL1UH578XybAL5kAbYxC1KB24pNJKK5JR5vAan1k=; b=pYToMqreXgKtqsvNnj8ganbZFjK2BMibUpvudhbOjQu6bt1XjAdsVnbhK0ygy5qc9u HICkE000pa7o3whRniIMo8u+/HG0F5pSPr06XxLt9tp616VGX6p675P4iV0ZIwuybyuJ hpEfIoNKuJhnz1SXpkU7F/LiX+1R+wM6ROmCaQ0KTYJnphlUAyUzKTXgyez6Hjm4AAPq o2DMZudX3ig9htje5qdJArjmcI3wb1C6wAOd72d6iy3scw+4kjzjnql0HY/ca5HZdU40 tcKiKuFxU1iOnHlONcDOR4yy6qRyxJUXEsNoGTom4zWSi1Z+Omu44CIZIUI/9jmaNmyZ 5t/g== X-Gm-Message-State: AOJu0YygP+R5x1MmHgZbyVnjg2yggoUqvJlwKMrExa6VilT/QM6zevpN /hwjvXJTJClwhulO2eYbTOE3y5eZ/qDdhuyP/bMfAkbNeWu2eHJPmA2MfQ+mSUby8u5elt1QHIZ M+QHwkptps+S5ogjGuhxRLTCeZq8= X-Google-Smtp-Source: AGHT+IFstSLzkrK8+Q+P2xH2eAzT6SaaBlKKaPXN2kiko1h2i0LsueNTfw68lkTkUTX5pwfIEaUhUa5GP2NtPXH6nvU= X-Received: by 2002:a19:5509:0:b0:513:e369:cc41 with SMTP id n9-20020a195509000000b00513e369cc41mr1498352lfe.49.1712914361455; Fri, 12 Apr 2024 02:32:41 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: <733732ea-7b2a-473c-9f65-6ef975404543@bastelstu.be> In-Reply-To: Date: Fri, 12 Apr 2024 11:32:29 +0200 Message-ID: Subject: Re: [PHP-DEV][DISCUSSION] Fix mb_trim inaccurate $character To: youkidearitai Cc: php internals Content-Type: multipart/alternative; boundary="0000000000000b9fe40615e2f473" From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --0000000000000b9fe40615e2f473 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Le jeu. 4 avr. 2024 =C3=A0 07:41, youkidearitai a =C3=A9crit : > 2024=E5=B9=B44=E6=9C=884=E6=97=A5(=E6=9C=A8) 6:30 Tim D=C3=BCsterhus : > > > > Hi > > > > On 4/3/24 10:02, youkidearitai wrote: > > > Therefore, I think require an RFC, I have written a draft an RFC that > > > fixes these issues. > > > https://wiki.php.net/rfc/mb_trim_change_characters > > > > I don't think this (widening the type and changing the default value to > > obtain the *intended* behavior) requires an RFC. It's a bugfix, a bugfi= x > > with a slightly larger observable impact than other bugfixes. > > > > Best regards > > Tim D=C3=BCsterhus > > Hi > Thank you very much for comment. > > I would like to discuss this RFC with all of you, as we have not yet > decided on the correct revision policy. > I created the RFC for that purpose. > > Still waiting for your comments! > Thank you. > > I also don't think this requires an RFC. This is a minor design issue that has only one possible solution, so there is little to discuss. Cheers, Nicolas --0000000000000b9fe40615e2f473 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

Le=C2=A0jeu. 4 avr. 2024 =C3=A0=C2= =A007:41, youkidearitai <youk= idearitai@gmail.com> a =C3=A9crit=C2=A0:
2024=E5=B9=B44=E6=9C=884=E6=97=A5(=E6=9C= =A8) 6:30 Tim D=C3=BCsterhus <tim@bastelstu.be>:
>
> Hi
>
> On 4/3/24 10:02, youkidearitai wrote:
> > Therefore, I think require an RFC, I have written a draft an RFC = that
> > fixes these issues.
> > https://wiki.php.net/rfc/mb_trim_change_= characters
>
> I don't think this (widening the type and changing the default val= ue to
> obtain the *intended* behavior) requires an RFC. It's a bugfix, a = bugfix
> with a slightly larger observable impact than other bugfixes.
>
> Best regards
> Tim D=C3=BCsterhus

Hi
Thank you very much for comment.

I would like to discuss this RFC with all of you, as we have not yet
decided on the correct revision policy.
I created the RFC for that purpose.

Still waiting for your comments!
Thank you.


I also don't think this requires a= n RFC. This is a minor design issue that has only one possible solution, so= there is little to discuss.

Cheers,
Nicolas
--0000000000000b9fe40615e2f473--