cvs: php4 /ext/iconv/tests translit-failure.phpt

From: Date: Mon, 14 Oct 2002 23:09:48 +0000
Subject: cvs: php4 /ext/iconv/tests translit-failure.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14922@lists.php.net to get a copy of this message
sniper Mon Oct 14 19:09:48 2002 EDT Modified files: /php4/ext/iconv/tests translit-failure.phpt Log: This test should not print out the error (which is correct). Index: php4/ext/iconv/tests/translit-failure.phpt diff -u php4/ext/iconv/tests/translit-failure.phpt:1.4 php4/ext/iconv/tests/translit-failure.phpt:1.5 --- php4/ext/iconv/tests/translit-failure.phpt:1.4 Fri Oct 11 14:07:47 2002 +++ php4/ext/iconv/tests/translit-failure.phpt Mon Oct 14 19:09:48 2002 @@ -21,8 +21,10 @@ */ $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

« previous php.cvs (#14922) next »