Re: [RFC] grapheme_str_pad()
| From: | Tim Düsterhus | Date: | Wed, 04 Nov 2026 13:58:15 +0000 |
| Subject: | Re: [RFC] grapheme_str_pad() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-132996@lists.php.net to get a copy of this message | ||
Hi
On 2026-11-04 00:01, Chris Abner Herrera Navarro wrote:
I'd like to start the discussion on a new RFC: https://wiki.php.net/rfc/grapheme_str_pad […] Semantics and errors mirror mb_str_pad(). For ASCII input the result is identical to str_pad().Thank you for your RFC. Padding graphemes to a given length makes sense to me and the RFC clearly follows the established pattern of mirroring the string (bytestring) and mbstring (codepoint) functionality. I don't have any comments, the RFC includes exactly what I expected to see. Best regards Tim Düsterhus