From: Anatol Belski Date: Thu, 2 Nov 2017 12:34:58 +0000 (+0100) Subject: Note to UPGRADING about Spoofchecker::setRestrictionLevel() X-Git-Tag: php-7.3.0alpha1~1102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b66eeb3652a794031a30474688e26bcd9bce291c;p=php Note to UPGRADING about Spoofchecker::setRestrictionLevel() --- diff --git a/UPGRADING b/UPGRADING index 3cca433485..7aa446b1f3 100644 --- a/UPGRADING +++ b/UPGRADING @@ -75,6 +75,19 @@ Date: . Added the DateTime::createFromImmutable() method, which mirrors DateTimeImmutable::createFromMutable(). +Intl: + . Added void Spoofchecker::setRestrictionLevel(int $level) method, available + when linked with ICU >= 58.1. Levels are represented as class constants + - Spoofchecker::ASCII + - Spoofchecker::HIGHLY_RESTRICTIVE + - Spoofchecker::MODERATELY_RESTRICTIVE + - Spoofchecker::MINIMALLY_RESTRICTIVE + - Spoofchecker::UNRESTRICTIVE + - Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE + For the detailed documentation on the restriction levels, see + URestrictionLevel under + http://icu-project.org/apiref/icu4c/uspoof_8h.html + ======================================== 7. New Classes and Interfaces ========================================