Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129795 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 39B201A00BC for ; Tue, 20 Jan 2026 08:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1768896856; bh=AnGGT/AsTzIHbypD47TrS4m0rLq1r+/nwoQMilqERu4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C8Ivpi7DC017SgJaIUV4e3aGx1tfQOOvg9KcBBRUqrhbd9Gx3FZPDr2qaTYwxTHG5 IH6BV0XEXG6MU8pKxPNkUcHw8DO+bMsE4GOxNGYZwFRGsyO2CNvlD9i0y6yGK733Da WO8+CJBSK9fHhttseXe+acc/eI3cqMN3VATJTb/3oTiJkJ2YZuXf7uR1wrsx5unvbW R2dm7yeNKR5UNTC2d6cKgO9kuYrMqPTA6QJFttpvv8NufxsKuMh+z1W3xmE/7KJeOm swjGGKr5ZqB3U/zHtpIxMjxYznws9pbtNWm7y6F0Z+1koUJ1m5T6r+BP+w+ARQZIdJ oQhKPVwRPxApg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E6CEE180081 for ; Tue, 20 Jan 2026 08:14:15 +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_PASS, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 ; Tue, 20 Jan 2026 08:14:15 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4801bc32725so24159595e9.0 for ; Tue, 20 Jan 2026 00:14:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1768896849; cv=none; d=google.com; s=arc-20240605; b=DL+ciauutGPEkIXFeywkKWc/jdqe+I3eKKje+QuANQMNbR0UPRZz+Jo9tCelCRzIY9 Rm7HQIX6VZrBtf4ggc6sZ1vVns6ZuQbmhgTgoFZ170g3VgEgRt33mDcC3MAOyCNDoFnE lIENLGMl07gAnuTaAW85Qu34QSzS6/MnFSxwSF32AAIk0M5qQkBOnuR0Fgxx4rJ58a0J ZpGIxDgEL4ZRGZlcaTUXaxibVWqAk9k6rkMerhwH2B85tcT3uAkyxy6HsXWMFQNuj8Fj qCRLFhv81JvY4RiUIYgOfL2zwdd5us1uNZwX0hSEaku+S4pRg1kxt6Dg/zANrr1BifiL nLZg== 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=AnGGT/AsTzIHbypD47TrS4m0rLq1r+/nwoQMilqERu4=; fh=c1WSnxVwDY3t/nAU1a/dXUry14dwM/QMAmopynCn/Kc=; b=jtdmFk281bCUMfYvfOTatNOy8kEJdzpM+Ii0hWYB7KnhFu0DMhWXkhWAyEu/0lan+u n3v3h3RZVewEOukZi6T2MWh91oqmBniQd9f49VJIdiYos/JCKrey2P3IsMiK4BzehKii izX9yvUrMBPlw/MIlJSeQz1/lI19RyrpvVJMLMTrJ6O+F7h9w73tDp4EldQoW5QwmHlg cHyK1tz5i7ss1xUf9aVhhmpFFZDJ1COeDpW8hbeOxpU/yhvoR9H2VC0g6CV6zZCtKHol 51BArNH0A7MwdCgRCDJFQzJtM5/AhnZeFdXmcKgTFKIjp5046j8G8Pk3Dm860uyAbip+ SEHQ==; 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=gmail.com; s=20230601; t=1768896849; x=1769501649; 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=AnGGT/AsTzIHbypD47TrS4m0rLq1r+/nwoQMilqERu4=; b=T4/0rv3mrWsVkcnMKNWmjjA9NdFrKnuX5XUfazWn9z1XNVV5BoS98gcku8N61iEtng dP/wsRknnr6RoJuyOA0LclSedB9PdNNcKNKBQ8PIrQxH2KCjGzVDhE8jcYVPP/bWBTQA vL/Qwy5Rf4H783hmekjqzyf1olsYSGIRu8DsymYfGWtt2JVBxKSfqujc+8syJsYnJ68V EcM7IMYdZh7KMyU/R0WOwKhTXLlyt+I+09yvRSDZSk5gkw40n3dvP7HZo+7jyK9UGZXL vLheEEGP5oxeun2ImpZkmYlEO4w7WsTVAwj8Ia0OrJblYQm7gtgwG7P/fwcz9xeAljYe 99Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768896849; x=1769501649; 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=AnGGT/AsTzIHbypD47TrS4m0rLq1r+/nwoQMilqERu4=; b=GuAq4FjFJVjqL61oIy6oiiB7kD1Klxdgxubd4D9RDdxJe9qmBfuNHjqjispd8CLeHo +YcC06KPVkzvCCKaOnP7aZQ+wwMiww2n1TraoEKp67lZ7n/DY5gBmJ8Ux6We4aS5NFb4 oTLW8rPS8RKEM7gGIO97jMJILIuV5Ok3ExJvamnhE5+oREME6RnZtT9OnQznqM+y7ITQ khVMy7q2tgOQ+I78SWf7B1yQVM+8tncCZxU5DcgpxTpzyzEZ8h/uCh5ze8Ms3D2yGfaf 70Qt5QwAWHn7GivhSWhAtq6kK+J9NwW6U53pk99qlqdwG4bN/XntJKmHCJSiCYG6zz3A jnJg== X-Gm-Message-State: AOJu0Yyp0BoMwMkHtOUqHoSIIDKJkiZYlTCE/Wj8gCcMPPyGjcqGIob1 N5WZqKUI6YSXWkdQyzJiRIEtjhckSe3whMkYKqRJ/GxzR89tw6prURHwp/S1AvNsJfB2QnLlp8E n4WlgHNVB9FY2bY0vQrVYr3WtpYZUExLcsOo= X-Gm-Gg: AY/fxX4Yt2a5lrAki+4YLv8lcVZ+UPGteyEkmK+IsCC6O+rq6mGS/ns78B69ri0D74f pjF7HGTly5c3/kynN1Dx/X57WSEih7aYXxMbdQ/KHX4TA6woHuJnHblPu2sZ1p2fe4Lsc8ztRLD yUwW7a9EkTX8E9RZ1fu/PySBrJGi1oe5hmbUnE0/J1MpSfS+Ts/EU0C3rL8ZE2JML4ThPlmnlBS c/Fj2BWIX0jhBgLJtS9lyMQKYGDRdVNMj7giiIFFeOEXN792ZhAOz38w41ifBKeQYEE1g== X-Received: by 2002:a05:600c:8207:b0:477:7af8:c8ad with SMTP id 5b1f17b1804b1-4801eb11027mr182468835e9.31.1768896849025; Tue, 20 Jan 2026 00:14:09 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 20 Jan 2026 17:14:05 +0900 X-Gm-Features: AZwV_Qi9qGjlTwQD6ikKz8HwGOz0-s4K-NK1lGXKbI-3yLlv7B6VPEhQO9Ay8Xo Message-ID: Subject: Re: [PHP-DEV][UNDER DISCUSSION][RFC] grapheme_strrev function To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: php internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: youkidearitai@gmail.com (youkidearitai) 2026=E5=B9=B41=E6=9C=8820=E6=97=A5(=E7=81=AB) 3:34 Tim D=C3=BCsterhus : > > Hi > > On 1/16/26 08:20, youkidearitai wrote: > > I creating a new function for strrev for grapheme cluster unit. > > grapheme_strrev function. > > > > My investigate, Sometime found mb_strrev function for userland. > > However, I think create a grapheme cluster unit for strrev function. > > Because multi code point in human language and emoji. > > > > I created an RFC and Pull Request. > > Feel free to comment. > > https://wiki.php.net/rfc/grapheme_strrev > > https://github.com/php/php-src/pull/20949 > > Thank you for your RFC. Aligning the feature set of the grapheme > functions with those of mbstring and the bytestring-based functions > definitely makes sense to me. I am thus in favor of the RFC. > > For the RFC document itself: > > You did not fill in the "RFC Impact" section. I think it can just be > "None" for each of them. The only impact is the conflict with a possibly > existing function. You already mentioned that in the breaking changes > section. Adding new functions doesn't have any relevant impact on tools > or IDEs, this is something that regularly happens. > > For Future Scope it can probably also be "None"? Even if you plan to add > more grapheme functions, they are independent of grapheme_strrev. > > In the References section, please add a link to the mailing list > archives of the discussion. This makes it easy for folks to find the > discussion in the future. The correct link is: > https://news-web.php.net/php.internals/129765 > > Best regards > Tim D=C3=BCsterhus Hi, Tim Thank you for your feedback! I'm glad your agree. And apply from your feedback. Regards Yuya --=20 --------------------------- Yuya Hamada (tekimen) - https://tekitoh-memdhoi.info - https://github.com/youkidearitai -----------------------------