Search Results
Aug 4, 2020 · Checks if given strings can be confused Spoofchecker::areConfusable (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) Spoofchecker::areConfusable — Checks if given strings can be confused
Table of Contents Spoofchecker::areConfusable — Checks if given strings can be confused Spoofchecker::__construct — Constructor Spoofchecker::isSuspicious — Checks if a given text contains any suspicious characters Spoofchecker::setAllowedLocales — Locales to use when running checks Spoofchecker::setChecks — Set the checks to run Spoofchecker::setRestrictionLevel — Set the ...
Spoofchecker::areConfusable — Checks if a given text contains any confusable characters Spoofchecker::__construct — Constructor Spoofchecker::isSuspicious — Checks if a given text contains any suspicious characters Spoofchecker::setAllowedLocales — Locales to use when running checks Spoofchecker::setChecks — Set the checks to run PHP ...
Spoofchecker::areConfusable — Checks if a given text contains any confusable characters Spoofchecker::__construct — Constructor Spoofchecker::isSuspicious — Checks if a given text contains any suspicious characters Spoofchecker::setAllowedLocales — Locales to use when running checks Spoofchecker::setChecks — Set the checks to run
The first line of the example creates a SpoofChecker object with confusable-checking enabled; the second line performs the confusability test. For best performance, the instance should be created once (e.g., upon application startup), and the more efficient areConfusable(java.lang.String, java.lang.String) method can be used at runtime.
Table of Contents Spoofchecker::areConfusable — Checks if given strings can be confused Spoofchecker::__construct — Constructor Spoofchecker::isSuspicious — Checks if a given text contains any suspicious characters Spoofchecker::setAllowedLocales — Locales to use when running checks Spoofchecker::setChecks — Set the checks to run
Introduction This class is provided because Unicode contains large number of characters and incorporates the varied writing systems of the world and their incorrect usage can expose programs or systems to possible security attacks using characters similarity.
