diff options
Diffstat (limited to 'ext/iconv/tests/translit-failure.phpt')
-rw-r--r-- | ext/iconv/tests/translit-failure.phpt | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/iconv/tests/translit-failure.phpt b/ext/iconv/tests/translit-failure.phpt deleted file mode 100644 index d0fbf5c86a..0000000000 --- a/ext/iconv/tests/translit-failure.phpt +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -Translit failure ---SKIPIF-- -<?php -/* include('skipif.inc'); */ -( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\""); -?> ---INI-- -error_reporting=2039 ---FILE-- -<?php -/* include('test.inc'); */ -// Should be ok. -// Content from file is from libiconv testkit. Tested both -// with a string as an implode, no difference. -// if at some point internal encoding changes, set correct one -// in INI section or use file 'TranslitFail1.ISO-8859-1'. - -set_time_limit(5); -/* - * The bug (fixed in libiconv 1.8) was confirmed that iconv goes into an - * infinite loop when ASCII//TRANSLIT is performed. We should stop it in - * some time. - */ - -$test = 'Écrit par %s.'; - -if (!@iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) { - echo 'wrong is right'; -} -?> ---EXPECT-- -wrong is right |