php-src/ext/intl/tests/idn.phpt
Gustavo André dos Santos Lopes 9762609cec Remove executable bit from files
2012-07-30 10:25:17 +02:00

18 lines
281 B
PHP

--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