[php-src] PR #25222: ext/intl: Implement Collator::getRules()

From: Date: Thu, 05 Nov 2026 18:43:10 +0000
Subject: [php-src] PR #25222: ext/intl: Implement Collator::getRules()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40334@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25222 Author: LamentXU123 This is a follow-up to https://github.com/php/php-src/pull/24384 where I find the getRules function is also missing in Collator today. This expose [ucol_getRules](https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/ucol_8h.html#:~:text=ucol_getRules()) to userland as Collator::getRules(). Returns the collator’s tailoring rules as a UTF-8 string or an empty string when no tailoring rules is there.

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