From 3bb8d604c7bc06fc955f535de940fb8f4ccd2428 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Thu, 14 May 2009 19:07:41 +0000 Subject: [PATCH] - MFH:Add a new test for the additional delimiter of the encoding conversion filter --- .../tests/iconv_stream_filter_delimiter.phpt | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 ext/iconv/tests/iconv_stream_filter_delimiter.phpt 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" -- 2.50.1