123456789101112131415161718 |
- --TEST--
- IDN
- --SKIPIF--
- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
- --FILE--
- <?php
- /*
- * Test IDN functions (procedural only)
- */
- echo idn_to_ascii("t\xC3\xA4st.de")."\n";
- echo urlencode(idn_to_utf8('xn--tst-qla.de'))."\n";
- ?>
- --EXPECT--
- xn--tst-qla.de
- t%C3%A4st.de
|