Skip to content

Commit 9618e4e

Browse files
author
foobar
committed
This test should not print out the error (which is correct).
1 parent 4f9b61a commit 9618e4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/iconv/tests/translit-failure.phpt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ set_time_limit(5);
2121
*/
2222

2323
$test = 'Écrit par %s.';
24-
if (!iconv("ISO-8859-1", "ASCII//TRANSLIT", $test))
24+
25+
if (!@iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) {
2526
echo 'wrong is right';
27+
}
2628
?>
2729
--EXPECT--
2830
wrong is right

0 commit comments

Comments
 (0)