The Spoofchecker class
(PHP >= 5.4.0, PECL intl >= 2.0.0)
Introduction
Class synopsis
Spoofchecker
{
/* Constants */
/* Methods */
}Predefined Constants
Spoofchecker::SINGLE_SCRIPT_CONFUSABLESpoofchecker::MIXED_SCRIPT_CONFUSABLESpoofchecker::WHOLE_SCRIPT_CONFUSABLESpoofchecker::ANY_CASESpoofchecker::SINGLE_SCRIPTSpoofchecker::INVISIBLESpoofchecker::CHAR_LIMIT
Table of Contents
- 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