ResourceBundle::getLocales
Spoofchecker::areConfusable
intl
PHP Manual

# The Spoofchecker class

(PHP >= 5.4.0, PECL intl >= 2.0.0)

## Wstęp

## Krótki opis klasy

Spoofchecker {
/* Constants */
const integer SINGLE_SCRIPT_CONFUSABLE = 1 ;
const integer MIXED_SCRIPT_CONFUSABLE = 2 ;
const integer WHOLE_SCRIPT_CONFUSABLE = 4 ;
const integer ANY_CASE = 8 ;
const integer SINGLE_SCRIPT = 16 ;
const integer INVISIBLE = 32 ;
const integer CHAR_LIMIT = 64 ;
/* Metody */
public bool areConfusable ( string `$s1` , string `$s2` [, string `&$error` ] )
public __construct ( void )
public bool isSuspicious ( string `$text` [, string `&$error` ] )
public void setAllowedLocales ( string `$locale_list` )
public void setChecks ( string `$checks` )
}

## Stałe predefiniowane

`Spoofchecker::SINGLE_SCRIPT_CONFUSABLE`

`Spoofchecker::MIXED_SCRIPT_CONFUSABLE`

`Spoofchecker::WHOLE_SCRIPT_CONFUSABLE`

`Spoofchecker::ANY_CASE`

`Spoofchecker::SINGLE_SCRIPT`

`Spoofchecker::INVISIBLE`

`Spoofchecker::CHAR_LIMIT`

## Spis treści

- 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

ResourceBundle::getLocales
Spoofchecker::areConfusable
intl
PHP Manual