[php-src] PR #25708: ext/intl: Reject truncated lengths in UConverter::setSubstChars()

From: Date: Tue, 24 Nov 2026 13:28:42 +0000
Subject: [php-src] PR #25708: ext/intl: Reject truncated lengths in UConverter::setSubstChars()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40960@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25708 Author: LamentXU123 ```php <?php $c = new UConverter('US-ASCII', 'UTF-8'); var_dump($c->setSubstChars(str_repeat('X', 257))); ``` should be bool(false), but now the 257 'X's are truncated to 1 'X' so its true 😂 Originally reported by @wwkenwong

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