Spoofchecker::setChecks
(PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0)
Set the checks to run
Description
Sets the checks that will be performed by SpoofChecker::isSuspicious.
Parameters
checksThe checks that will be performed by
SpoofChecker::isSuspicious. A bitmask ofSpoofchecker::SINGLE_SCRIPT_CONFUSABLE,Spoofchecker::MIXED_SCRIPT_CONFUSABLE,Spoofchecker::WHOLE_SCRIPT_CONFUSABLE,Spoofchecker::ANY_CASE,Spoofchecker::SINGLE_SCRIPT,Spoofchecker::INVISIBLE, orSpoofchecker::CHAR_LIMIT. Defaults to all checks as of ICU 58; prior to that version,Spoofchecker::SINGLE_SCRIPTwas excluded.
Return Values
Void