array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'spoofchecker.setchecks.php', 1 => 'Spoofchecker::setChecks', 2 => 'Set the checks to run', ), 'up' => array ( 0 => 'class.spoofchecker.php', 1 => 'Spoofchecker', ), 'prev' => array ( 0 => 'spoofchecker.setallowedlocales.php', 1 => 'Spoofchecker::setAllowedLocales', ), 'next' => array ( 0 => 'spoofchecker.setrestrictionlevel.php', 1 => 'Spoofchecker::setRestrictionLevel', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/intl/spoofchecker/setchecks.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Spoofchecker::setChecks

(PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0)

Spoofchecker::setChecksSet the checks to run

Beschreibung

public Spoofchecker::setChecks(int $checks): void

Sets the checks that will be performed by SpoofChecker::isSuspicious().

Parameter-Liste

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, or Spoofchecker::CHAR_LIMIT. Defaults to all checks as of ICU 58; prior to that version, Spoofchecker::SINGLE_SCRIPT was excluded.

Rückgabewerte

Es wird kein Wert zurückgegeben.