Home
last modified time | relevance | path

Searched refs:INTL_IDNA_VARIANT_UTS46 (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/intl/tests/
H A Dbug72506.phpt2 Bug #72506 (idn_to_ascii with INTL_IDNA_VARIANT_UTS46 fatals for long domain names)
10 if (!defined('INTL_IDNA_VARIANT_UTS46')) die('skip no UTS #46 API');
16 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
21 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
26 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
H A Didn_uts46_errors.phpt7 if (!defined('INTL_IDNA_VARIANT_UTS46'))
17 var_dump(idn_to_ascii("domain", 0, INTL_IDNA_VARIANT_UTS46 + 10));
24 var_dump(idn_to_ascii("", 0, INTL_IDNA_VARIANT_UTS46));
30 var_dump(idn_to_ascii("www.fußball.com-", 0, INTL_IDNA_VARIANT_UTS46));
34 INTL_IDNA_VARIANT_UTS46, $foo));
41 INTL_IDNA_VARIANT_UTS46, $foo));
49 ValueError: idn_to_ascii(): Argument #2 ($flags) must be INTL_IDNA_VARIANT_UTS46
H A Didn_uts46_basic.phpt7 if (!defined('INTL_IDNA_VARIANT_UTS46'))
17 IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46));
20 var_dump(idn_to_ascii($utf8dn, 0, INTL_IDNA_VARIANT_UTS46));
24 INTL_IDNA_VARIANT_UTS46, $info));
28 var_dump(idn_to_utf8($asciiNonTrans, 0, INTL_IDNA_VARIANT_UTS46, $info));
H A Didn_bug76829.phpt8 …и.абвгдаежзи.абвгдаежзи.абвгдаежзи.абвгдаежзи.абвгдаеж.рф', IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46);
10 $unicode = idn_to_utf8($punycode, IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46);
/php-src/ext/intl/
H A Dphp_intl.stub.php101 const INTL_IDNA_VARIANT_UTS46 = UNKNOWN; define
456 …_ascii(string $domain, int $flags = IDNA_DEFAULT, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_i…
459 …o_utf8(string $domain, int $flags = IDNA_DEFAULT, int $variant = INTL_IDNA_VARIANT_UTS46, &$idna_i…

Completed in 8 milliseconds