Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123135 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 3727D1A009C for ; Mon, 15 Apr 2024 01:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1713143534; bh=ZG41Z3HM0ZA2H/338g+VDiRt0niZG5PeMt2Jp0IaOb8=; h=References:In-Reply-To:From:Date:Subject:To:From; b=laQI8ZuDxtUCqgYt74Pq79n5HjGqg1q3Yk58J4cEOfGeXHQUSHhjG9aTsF+1/RxQf 0VCFQ65UA5kImYDnz7WcFaVjzBrTkXxH39T9hCcD18VfZdECsoHPPpigWPOyV2XY5v ITGzSeYFqZSJQIEp4d7oROHSriw8LNHB1SUSbQy7FZPRo6G3++aMj/dn7RjoJPSK/z y5ewpbYtdnZ4645cbXXXyJ9B2K1I8ycSvEezqUFPEDIL4/LtpbNBlnlj5EJLB6obcJ 1NbKx207wzMl5RUum5bp0o8h5Yz3jPVWCiGWA3Aehnon9L7wLXjKVKW1FmX9jy9Q3e tTVndQWZiU7fw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C145218005F for ; Mon, 15 Apr 2024 01:12:12 +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, 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-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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, 15 Apr 2024 01:12:12 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-343d2b20c4bso2078429f8f.2 for ; Sun, 14 Apr 2024 18:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713143496; x=1713748296; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZG41Z3HM0ZA2H/338g+VDiRt0niZG5PeMt2Jp0IaOb8=; b=KWPDJUUla+3X+GvJoHKlsB/FoDEIzMzLyi9VWTgV7/8h9vTSBrQBXUqCx6wNTDGrya CpcxEcbYQ9xiaQb/lmKgilVIqwbeeApZYhClnloVFBRGqsE1TRVlMYR+ItiC9sDQBMGC mq7fkMFhpHI9iUzAd8cox6+IjaBIQW0xAhx0bpHm7ZI2LbFV2Tjdwz3i+mZ/WXSB4ruM otBPKByzM2/eJ0k/wszzfs/9mYESznLzdlILvl8rTRJu6Zcg5oWeGaG+CJXRCa8xW40G XhUaV86oDf+v0/YU/U+RKoTUwV3uvdYJ7fgTPFihSCV69PCgC8bHYBmeSJD8KPu+gbdY CTKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713143496; x=1713748296; h=content-transfer-encoding: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=ZG41Z3HM0ZA2H/338g+VDiRt0niZG5PeMt2Jp0IaOb8=; b=xLOY58Mqk8FcfWsL0Kmnpet9ja/iWrNJ3lr3uRaiyHtELUIkY0wuD3QO5v/LYS6qPi tIgTmQKY22wlWK6svRZdPDl6NqUeMQDWFUvKOTkxZ3QMhT4hnd4RKRDzoaQSNb4/JYH+ Uhi9YNTwsWvHfjOq3hGbu1p5HAahcQie/UWccZRKD9QjN3vaN1KiopztTJ6+nAOfxLD3 xw8sUuXXRuiUHccMuAwFR4Rvs1HL2WLZgYjeah1BZ5WccXiUBOyuFRNLi9sTl01uSEDh 2DUpcCPkdDxjPZnqvI+dQYBKvhdhFiYswxj7BdHoJZXRoQi6bIzpStLwGUgkkm07zQPu pPvw== X-Gm-Message-State: AOJu0Yy6O015bdwwO4DvOdAyWTkJw1yNK99e6k/w6iBz16Rd4d4fkFTm CoDb3TwDGl/J7jTPtn28OrK+reE4Y+z/A8t8cKjl2wKhgTVthWqYGxpiTdeSRaIgPemkU24ed2X sRVw3ofVodnka4thV9CrfpEkZJ6MW+CU= X-Google-Smtp-Source: AGHT+IEV3K2BUpCu6dCDdfWjE7D33aymTRtktNYQMI4JrrEzYC31HDrBAtuN2vsoiRdxl/u8zeiimXXNiXzey6Fjbqw= X-Received: by 2002:a5d:5f92:0:b0:343:ef1b:9f69 with SMTP id dr18-20020a5d5f92000000b00343ef1b9f69mr7409460wrb.43.1713143495653; Sun, 14 Apr 2024 18:11:35 -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: Mon, 15 Apr 2024 10:11:24 +0900 Message-ID: Subject: Re: [PHP-DEV][DISCUSSION] Fix mb_trim inaccurate $character To: php internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: youkidearitai@gmail.com (youkidearitai) 2024=E5=B9=B44=E6=9C=8812=E6=97=A5(=E9=87=91) 18:32 Nicolas Grekas : > > 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 tha= t >> > > 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 t= o >> > obtain the *intended* behavior) requires an RFC. It's a bugfix, a bugf= ix >> > 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 tha= t has only one possible solution, so there is little to discuss. > > Cheers, > Nicolas Hi, I appreciate late my response. I got it. I modified original an RFC (https://wiki.php.net/rfc/mb_trim) that $character is default parameter. Please point out any problems, I revert it. Regards Yuya --=20 --------------------------- Yuya Hamada (tekimen) - https://tekitoh-memdhoi.info - https://github.com/youkidearitai -----------------------------