Open Journal Systems  3.3.0
Symfony\Polyfill\Intl\Idn\Idn Class Reference

Static Public Member Functions

static idn_to_ascii ($domain, $options, $variant, &$idna_info=array())
 
static idn_to_utf8 ($domain, $options, $variant, &$idna_info=array())
 

Data Fields

const INTL_IDNA_VARIANT_2003 = 0
 
const INTL_IDNA_VARIANT_UTS46 = 1
 

Detailed Description

Partial intl implementation in pure PHP.

Implemented:

  • idn_to_ascii - Convert domain name to IDNA ASCII form
  • idn_to_utf8 - Convert domain name from IDNA ASCII to Unicode
Author
Renan Gonçalves renan.nosp@m..sad.nosp@m.dam@g.nosp@m.mail.nosp@m..com
Sebastian Kroczek sk@xb.nosp@m.ug.d.nosp@m.e
Dmitry Lukashin dmitr.nosp@m.y@lu.nosp@m.kashi.nosp@m.n.ru
Laurent Bassin laure.nosp@m.nt@b.nosp@m.assin.nosp@m..inf.nosp@m.o

Definition at line 44 of file Idn.php.

Member Function Documentation

◆ idn_to_ascii()

static Symfony\Polyfill\Intl\Idn\Idn::idn_to_ascii (   $domain,
  $options,
  $variant,
$idna_info = array() 
)
static

Definition at line 64 of file Idn.php.

◆ idn_to_utf8()

static Symfony\Polyfill\Intl\Idn\Idn::idn_to_utf8 (   $domain,
  $options,
  $variant,
$idna_info = array() 
)
static

Definition at line 96 of file Idn.php.

Field Documentation

◆ INTL_IDNA_VARIANT_2003

const Symfony\Polyfill\Intl\Idn\Idn::INTL_IDNA_VARIANT_2003 = 0

Definition at line 46 of file Idn.php.

◆ INTL_IDNA_VARIANT_UTS46

const Symfony\Polyfill\Intl\Idn\Idn::INTL_IDNA_VARIANT_UTS46 = 1

Definition at line 47 of file Idn.php.


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