CascadiaPHP 2024

Spoofchecker::setRestrictionLevel

(PHP 7 >= 7.3.0, PHP 8)

Spoofchecker::setRestrictionLevelSet the restriction level

Descripción

public Spoofchecker::setRestrictionLevel(int $level): void

Sets the restriction level of SpoofChecker::isSuspicious().

Parámetros

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.

Valores devueltos

No devuelve ningún valor.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top