Spoofchecker::setRestrictionLevel
(PHP 7 >= 7.3.0, PHP 8)
Spoofchecker::setRestrictionLevel — Set the restriction level
说明
Sets the restriction level of SpoofChecker::isSuspicious().
参数
level-
The restriction level of SpoofChecker::isSuspicious(). One of
Spoofchecker::ASCII,Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE,Spoofchecker::HIGHLY_RESTRICTIVE,Spoofchecker::MODERATELY_RESTRICTIVE,Spoofchecker::MINIMALLY_RESTRICTIVE, orSpoofchecker::UNRESTRICTIVE. Defaults toSpoofchecker::HIGHLY_RESTRICTIVE.
返回值
没有返回值。