⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 translit-failure.phpt

📁 PHP v6.0 For Linux 运行环境:Win9X/ WinME/ WinNT/ Win2K/ WinXP
💻 PHPT
字号:
--TEST--Translit failure--SKIPIF--<?phpinclude('skipif.inc');(ICONV_IMPL != "libiconv") and die("skip ICONV_IMPL != \"libiconv\""); ?>--INI--error_reporting=2039--FILE--<?php// 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 = '蒫rit par %s.';var_dump(iconv("ISO-8859-1", "ASCII//TRANSLIT", $test));?>--EXPECT--string(14) "'Ecrit par %s."

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -