php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
Spoofchecker Class Reference

Public Member Functions

 __construct ()
 
 isSuspicious (string $string, &$errorCode=null)
 
 areConfusable (string $string1, string $string2, &$errorCode=null)
 
 setAllowedLocales (string $locales)
 
 setChecks (int $checks)
 
 setRestrictionLevel (int $level)
 
 setAllowedChars (string $pattern, int $patternOptions=0)
 

Data Fields

const int SINGLE_SCRIPT_CONFUSABLE = UNKNOWN
 
const int MIXED_SCRIPT_CONFUSABLE = UNKNOWN
 
const int WHOLE_SCRIPT_CONFUSABLE = UNKNOWN
 
const int ANY_CASE = UNKNOWN
 
const int SINGLE_SCRIPT = UNKNOWN
 
const int INVISIBLE = UNKNOWN
 
const int CHAR_LIMIT = UNKNOWN
 
const int ASCII = UNKNOWN
 
const int HIGHLY_RESTRICTIVE = UNKNOWN
 
const int MODERATELY_RESTRICTIVE = UNKNOWN
 
const int MINIMALLY_RESTRICTIVE = UNKNOWN
 
const int UNRESTRICTIVE = UNKNOWN
 
const int SINGLE_SCRIPT_RESTRICTIVE = UNKNOWN
 
const int MIXED_NUMBERS = UNKNOWN
 
const int HIDDEN_OVERLAY = UNKNOWN
 
const int IGNORE_SPACE = UNKNOWN
 
const int CASE_INSENSITIVE = UNKNOWN
 
const int ADD_CASE_MAPPINGS = UNKNOWN
 
const int SIMPLE_CASE_INSENSITIVE = UNKNOWN
 

Detailed Description

@generate-class-entries @not-serializable

Definition at line 6 of file spoofchecker.stub.php.

Constructor & Destructor Documentation

◆ __construct()

Spoofchecker::__construct ( )

Definition at line 54 of file spoofchecker.stub.php.

Member Function Documentation

◆ areConfusable()

Spoofchecker::areConfusable ( string $string1,
string $string2,
& $errorCode = null )
Parameters
int$errorCode@tentative-return-type

Definition at line 66 of file spoofchecker.stub.php.

◆ isSuspicious()

Spoofchecker::isSuspicious ( string $string,
& $errorCode = null )
Parameters
int$errorCode@tentative-return-type

Definition at line 60 of file spoofchecker.stub.php.

◆ setAllowedChars()

Spoofchecker::setAllowedChars ( string $pattern,
int $patternOptions = 0 )

Definition at line 78 of file spoofchecker.stub.php.

◆ setAllowedLocales()

Spoofchecker::setAllowedLocales ( string $locales)

@tentative-return-type

Definition at line 69 of file spoofchecker.stub.php.

◆ setChecks()

Spoofchecker::setChecks ( int $checks)

@tentative-return-type

Definition at line 72 of file spoofchecker.stub.php.

◆ setRestrictionLevel()

Spoofchecker::setRestrictionLevel ( int $level)

@tentative-return-type

Definition at line 76 of file spoofchecker.stub.php.

Field Documentation

◆ ADD_CASE_MAPPINGS

const int Spoofchecker::ADD_CASE_MAPPINGS = UNKNOWN

@cvalue USET_ADD_CASE_MAPPINGS

Definition at line 48 of file spoofchecker.stub.php.

◆ ANY_CASE

const int Spoofchecker::ANY_CASE = UNKNOWN

@cvalue USPOOF_ANY_CASE

Definition at line 15 of file spoofchecker.stub.php.

◆ ASCII

const int Spoofchecker::ASCII = UNKNOWN

@cvalue USPOOF_ASCII

Definition at line 24 of file spoofchecker.stub.php.

◆ CASE_INSENSITIVE

const int Spoofchecker::CASE_INSENSITIVE = UNKNOWN

@cvalue USET_CASE_INSENSITIVE

Definition at line 46 of file spoofchecker.stub.php.

◆ CHAR_LIMIT

const int Spoofchecker::CHAR_LIMIT = UNKNOWN

@cvalue USPOOF_CHAR_LIMIT

Definition at line 21 of file spoofchecker.stub.php.

◆ HIDDEN_OVERLAY

const int Spoofchecker::HIDDEN_OVERLAY = UNKNOWN

@cvalue USPOOF_HIDDEN_OVERLAY

Definition at line 40 of file spoofchecker.stub.php.

◆ HIGHLY_RESTRICTIVE

const int Spoofchecker::HIGHLY_RESTRICTIVE = UNKNOWN

@cvalue USPOOF_HIGHLY_RESTRICTIVE

Definition at line 26 of file spoofchecker.stub.php.

◆ IGNORE_SPACE

const int Spoofchecker::IGNORE_SPACE = UNKNOWN

@cvalue USET_IGNORE_SPACE

Definition at line 44 of file spoofchecker.stub.php.

◆ INVISIBLE

const int Spoofchecker::INVISIBLE = UNKNOWN

@cvalue USPOOF_INVISIBLE

Definition at line 19 of file spoofchecker.stub.php.

◆ MINIMALLY_RESTRICTIVE

const int Spoofchecker::MINIMALLY_RESTRICTIVE = UNKNOWN

@cvalue USPOOF_MINIMALLY_RESTRICTIVE

Definition at line 30 of file spoofchecker.stub.php.

◆ MIXED_NUMBERS

const int Spoofchecker::MIXED_NUMBERS = UNKNOWN

@cvalue USPOOF_MIXED_NUMBERS

Definition at line 36 of file spoofchecker.stub.php.

◆ MIXED_SCRIPT_CONFUSABLE

const int Spoofchecker::MIXED_SCRIPT_CONFUSABLE = UNKNOWN

@cvalue USPOOF_MIXED_SCRIPT_CONFUSABLE

Definition at line 11 of file spoofchecker.stub.php.

◆ MODERATELY_RESTRICTIVE

const int Spoofchecker::MODERATELY_RESTRICTIVE = UNKNOWN

@cvalue USPOOF_MODERATELY_RESTRICTIVE

Definition at line 28 of file spoofchecker.stub.php.

◆ SIMPLE_CASE_INSENSITIVE

const int Spoofchecker::SIMPLE_CASE_INSENSITIVE = UNKNOWN

@cvalue USET_SIMPLE_CASE_INSENSITIVE

Definition at line 51 of file spoofchecker.stub.php.

◆ SINGLE_SCRIPT

const int Spoofchecker::SINGLE_SCRIPT = UNKNOWN

@cvalue USPOOF_SINGLE_SCRIPT

Definition at line 17 of file spoofchecker.stub.php.

◆ SINGLE_SCRIPT_CONFUSABLE

const int Spoofchecker::SINGLE_SCRIPT_CONFUSABLE = UNKNOWN

@cvalue USPOOF_SINGLE_SCRIPT_CONFUSABLE

Definition at line 9 of file spoofchecker.stub.php.

◆ SINGLE_SCRIPT_RESTRICTIVE

const int Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE = UNKNOWN

@cvalue USPOOF_SINGLE_SCRIPT_RESTRICTIVE

Definition at line 34 of file spoofchecker.stub.php.

◆ UNRESTRICTIVE

const int Spoofchecker::UNRESTRICTIVE = UNKNOWN

@cvalue USPOOF_UNRESTRICTIVE

Definition at line 32 of file spoofchecker.stub.php.

◆ WHOLE_SCRIPT_CONFUSABLE

const int Spoofchecker::WHOLE_SCRIPT_CONFUSABLE = UNKNOWN

@cvalue USPOOF_WHOLE_SCRIPT_CONFUSABLE

Definition at line 13 of file spoofchecker.stub.php.


The documentation for this class was generated from the following file: