Thanks!
Moriyoshi Koizumi
"Jani Taskinen" <[EMAIL PROTECTED]> wrote:
> 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 = ' rit 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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php