Horde_Idna
in package
Provide normalized encoding/decoding support for IDNA strings.
Tags
Table of Contents
- $_backend : mixed
- The backend to use.
- decode() : mixed
- encode() : mixed
- _checkForError() : mixed
- Checks if the $idna_info parameter of idn_to_ascii() or idn_to_utf8() contains errors.
- _getBackend() : mixed
- Return the IDNA backend.
Properties
$_backend
The backend to use.
protected
static mixed
$_backend
Methods
decode()
public
static decode(mixed $data) : mixed
Parameters
- $data : mixed
Tags
Return values
mixed —encode()
public
static encode(mixed $data) : mixed
Parameters
- $data : mixed
Tags
Return values
mixed —_checkForError()
Checks if the $idna_info parameter of idn_to_ascii() or idn_to_utf8() contains errors.
protected
static _checkForError(array<string|int, mixed> $info) : mixed
Parameters
- $info : array<string|int, mixed>
-
Fourth parameter to idn_to_ascii() or idn_to_utf8().
Tags
Return values
mixed —_getBackend()
Return the IDNA backend.
protected
static _getBackend() : mixed
Return values
mixed —IDNA backend (false if none available).