Spoofchecker::setChecks
(PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0)
Spoofchecker::setChecks — Set the checks to run
说明
Sets the checks that will be performed by SpoofChecker::isSuspicious().
参数
checks
-
The checks that will be performed by SpoofChecker::isSuspicious(). A bitmask of
Spoofchecker::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_SCRIPT
was excluded.
返回值
没有返回值。
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/spoofchecker.setchecks.php