php-src/ext/iconv/tests/translit-utf8.phpt
Marcus Boerger 6663f2cd0a -do not dl() load
-magic_quotes_runtime
2002-10-29 21:51:32 +00:00

29 lines
531 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--TEST--
Translit UTF-8 quotes
--SKIPIF--
<?php
/* include('skipif.inc'); */
( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\"");
?>
--INI--
magic_quotes_runtime=0
error_reporting=2047
--FILE--
<?php // vim600: syn=php
/* include('test.inc'); */
//error_reporting(E_ALL);
$utf = implode('', file('ext/iconv/tests/Quotes.UTF-8'));
print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf));
print(iconv("UTF-8", "ASCII//TRANSLIT", $utf));
?>
--EXPECT--
"Hello"
`Hello´
"Hello"
`Hello´
"Hello"
'Hello'
"Hello"
'Hello'