Browse Source

This test should not print out the error (which is correct).

migration/unlabaled-1.29.2
foobar 24 years ago
parent
commit
9618e4e854
  1. 4
      ext/iconv/tests/translit-failure.phpt

4
ext/iconv/tests/translit-failure.phpt

@ -21,8 +21,10 @@ set_time_limit(5);
*/
$test = 'Écrit par %s.';
if (!iconv("ISO-8859-1", "ASCII//TRANSLIT", $test))
if (!@iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) {
echo 'wrong is right';
}
?>
--EXPECT--
wrong is right
Loading…
Cancel
Save