mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Updated test so it won't fail if the extension has been built with libiconv.
This commit is contained in:
parent
80a8ff3a43
commit
e661d9e22a
@ -25,9 +25,7 @@ set_time_limit(5);
|
||||
|
||||
$test = 'Écrit par %s.';
|
||||
|
||||
if (!@iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) {
|
||||
echo 'wrong is right';
|
||||
}
|
||||
var_dump(iconv("ISO-8859-1", "ASCII//TRANSLIT", $test));
|
||||
?>
|
||||
--EXPECT--
|
||||
wrong is right
|
||||
string(14) "'Ecrit par %s."
|
||||
|
Loading…
Reference in New Issue
Block a user