array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'spoofchecker.setrestrictionlevel.php', 1 => 'Spoofchecker::setRestrictionLevel', 2 => 'Set the restriction level', ), 'up' => array ( 0 => 'class.spoofchecker.php', 1 => 'Spoofchecker', ), 'prev' => array ( 0 => 'spoofchecker.setchecks.php', 1 => 'Spoofchecker::setChecks', ), 'next' => array ( 0 => 'class.transliterator.php', 1 => 'Transliterator', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/intl/spoofchecker/setrestrictionlevel.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(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
, or
Spoofchecker::UNRESTRICTIVE
.
Defaults to Spoofchecker::HIGHLY_RESTRICTIVE
.
Es wird kein Wert zurückgegeben.