Table of Contents
-
ERRORS
= [\yxorP\lib\parser\idna::ERROR_EMPTY_LABEL => 'a non-final domain name label (or the whole domain name) is empty', \yxorP\lib\parser\idna::ERROR_LABEL_TOO_LONG => 'a domain name label is longer than 63 bytes', \yxorP\lib\parser\idna::ERROR_DOMAIN_NAME_TOO_LONG => 'a domain name is longer than 255 bytes in its storage form', \yxorP\lib\parser\idna::ERROR_LEADING_HYPHEN => 'a label starts with a hyphen-minus ("-")', \yxorP\lib\parser\idna::ERROR_TRAILING_HYPHEN => 'a label ends with a hyphen-minus ("-")', \yxorP\lib\parser\idna::ERROR_HYPHEN_3_4 => 'a label contains hyphen-minus ("-") in the third and fourth positions', \yxorP\lib\parser\idna::ERROR_LEADING_COMBINING_MARK => 'a label starts with a combining mark', \yxorP\lib\parser\idna::ERROR_DISALLOWED => 'a label or domain name contains disallowed characters', \yxorP\lib\parser\idna::ERROR_PUNYCODE => 'a label starts with "xn--" but does not contain valid Punycode', \yxorP\lib\parser\idna::ERROR_LABEL_HAS_DOT => 'a label contains a dot=full stop', \yxorP\lib\parser\idna::ERROR_INVALID_ACE_LABEL => 'An ACE label does not contain a valid label string', \yxorP\lib\parser\idna::ERROR_BIDI => 'a label does not meet the IDNA BiDi requirements (for right-to-left characters)', \yxorP\lib\parser\idna::ERROR_CONTEXTJ => 'a label does not meet the IDNA CONTEXTJ requirements', \yxorP\lib\parser\idna::ERROR_CONTEXTO_DIGITS => 'a label does not meet the IDNA CONTEXTO requirements for digits', \yxorP\lib\parser\idna::ERROR_CONTEXTO_PUNCTUATION => 'a label does not meet the IDNA CONTEXTO requirements for punctuation characters. Some punctuation characters "Would otherwise have been DISALLOWED" but are allowed in certain contexts']
-
$errorList
: array<string|int, mixed>
-
$errors
: int
-
$isTransitionalDifferent
: bool
-
$result
: string
-
__set_state()
: self
-
error()
: string|null
-
errorList()
: array<string|int, mixed>
-
errors()
: int
-
fromIntl()
: self
-
isTransitionalDifferent()
: bool
-
result()
: string
-
__construct()
: mixed
ERRORS
private
mixed
ERRORS
= [\yxorP\lib\parser\idna::ERROR_EMPTY_LABEL => 'a non-final domain name label (or the whole domain name) is empty', \yxorP\lib\parser\idna::ERROR_LABEL_TOO_LONG => 'a domain name label is longer than 63 bytes', \yxorP\lib\parser\idna::ERROR_DOMAIN_NAME_TOO_LONG => 'a domain name is longer than 255 bytes in its storage form', \yxorP\lib\parser\idna::ERROR_LEADING_HYPHEN => 'a label starts with a hyphen-minus ("-")', \yxorP\lib\parser\idna::ERROR_TRAILING_HYPHEN => 'a label ends with a hyphen-minus ("-")', \yxorP\lib\parser\idna::ERROR_HYPHEN_3_4 => 'a label contains hyphen-minus ("-") in the third and fourth positions', \yxorP\lib\parser\idna::ERROR_LEADING_COMBINING_MARK => 'a label starts with a combining mark', \yxorP\lib\parser\idna::ERROR_DISALLOWED => 'a label or domain name contains disallowed characters', \yxorP\lib\parser\idna::ERROR_PUNYCODE => 'a label starts with "xn--" but does not contain valid Punycode', \yxorP\lib\parser\idna::ERROR_LABEL_HAS_DOT => 'a label contains a dot=full stop', \yxorP\lib\parser\idna::ERROR_INVALID_ACE_LABEL => 'An ACE label does not contain a valid label string', \yxorP\lib\parser\idna::ERROR_BIDI => 'a label does not meet the IDNA BiDi requirements (for right-to-left characters)', \yxorP\lib\parser\idna::ERROR_CONTEXTJ => 'a label does not meet the IDNA CONTEXTJ requirements', \yxorP\lib\parser\idna::ERROR_CONTEXTO_DIGITS => 'a label does not meet the IDNA CONTEXTO requirements for digits', \yxorP\lib\parser\idna::ERROR_CONTEXTO_PUNCTUATION => 'a label does not meet the IDNA CONTEXTO requirements for punctuation characters. Some punctuation characters "Would otherwise have been DISALLOWED" but are allowed in certain contexts']
$errorList
private
array<string|int, mixed>
$errorList
$errors
private
int
$errors
$isTransitionalDifferent
private
bool
$isTransitionalDifferent
$result
private
string
$result
__set_state()
public
static __set_state(array<string|int, mixed> $properties) : self
Parameters
-
$properties
: array<string|int, mixed>
-
Return values
self
—
error()
public
error(int $error) : string|null
Parameters
-
$error
: int
-
Return values
string|null
—
errorList()
public
errorList() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
errors()
public
errors() : int
Return values
int
—
fromIntl()
public
static fromIntl(array<string|int, mixed> $infos) : self
Parameters
-
$infos
: array<string|int, mixed>
-
Return values
self
—
isTransitionalDifferent()
public
isTransitionalDifferent() : bool
Return values
bool
—
result()
public
result() : string
Return values
string
—
__construct()
private
__construct(string $result, bool $isTransitionalDifferent, int $errors) : mixed
Parameters
-
$result
: string
-
-
$isTransitionalDifferent
: bool
-
-
$errors
: int
-
Return values
mixed
—