xref: /PHP-8.1/ext/intl/tests/idn.phpt (revision 74859783)
1--TEST--
2IDN
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7
8/*
9 * Test IDN functions (procedural only)
10 */
11
12echo idn_to_ascii("t\xC3\xA4st.de")."\n";
13echo urlencode(idn_to_utf8('xn--tst-qla.de'))."\n";
14
15?>
16--EXPECTF--
17xn--tst-qla.de
18t%C3%A4st.de
19