From: Moriyoshi Koizumi Date: Thu, 14 May 2009 19:07:41 +0000 (+0000) Subject: - MFH:Add a new test for the additional delimiter of the encoding conversion X-Git-Tag: php-5.2.10RC1~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bb8d604c7bc06fc955f535de940fb8f4ccd2428;p=php - MFH:Add a new test for the additional delimiter of the encoding conversion filter --- diff --git a/ext/iconv/tests/iconv_stream_filter_delimiter.phpt b/ext/iconv/tests/iconv_stream_filter_delimiter.phpt new file mode 100644 index 0000000000..e28ebab293 --- /dev/null +++ b/ext/iconv/tests/iconv_stream_filter_delimiter.phpt @@ -0,0 +1,50 @@ +--TEST-- +iconv stream filter +--SKIPIF-- + +--INI-- +iconv.internal_charset=iso-8859-1 +--FILE-- + +--EXPECTF-- +string(20) "1b244224332473244b24" +string(10) "41244f1b28" +string(2) "42" +string(20) "a4b3a4f3a4cba4c1a4cf" +string(10) "69636f6e76" +string(2) "0a" +string(20) "a4b3a4f3a4cba4c1a4cf" +string(10) "69636f6e76" +string(2) "0a" + +Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %s/iconv_stream_filter_delimiter.php on line %d +string(20) "1b244224332473244b24" +string(10) "41244f1b28" +string(2) "42"