[php-src] PR #21311: [RFC][PoC] Add grapheme_limit_codepoints function

From: Date: Fri, 27 Feb 2026 06:10:18 +0000
Subject: [php-src] PR #21311: [RFC][PoC] Add grapheme_limit_codepoints function
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-35044@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21311 Author: youkidearitai Unicode's grapheme cluster is no limit codepoints. But 1 grapheme cluster and many codepoints can maybe crash. So I would like set limit for codepoints per grapheme cluster. Process 1. Validate to grapheme cluster code points because avoid crash. 2. If passed, measure grapheme cluster uses grapheme_strlen. - If not passed, throws an error.

« previous php.git-pulls (#35044) next »