![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: IDN ! 3: --SKIPIF-- ! 4: <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> ! 5: --FILE-- ! 6: <?php ! 7: ! 8: /* ! 9: * Test IDN functions (procedural only) ! 10: */ ! 11: ! 12: echo idn_to_ascii("t\xC3\xA4st.de")."\n"; ! 13: echo urlencode(idn_to_utf8('xn--tst-qla.de'))."\n"; ! 14: ! 15: ?> ! 16: --EXPECT-- ! 17: xn--tst-qla.de ! 18: t%C3%A4st.de