summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2005-03-23 23:07:42 (GMT)
committerMoriyoshi Koizumi <moriyoshi@php.net>2005-03-23 23:07:42 (GMT)
commit3b39b2237f1ab4a5cc291723d3130c11ce4740e8 (patch)
tree061ed0b84bff32695ede4ff925ea97a3533a2a93 /ext
parent8f14211e13c4e75ab3b0d2f3e620f71d4b7f7732 (diff)
downloadphp-3b39b2237f1ab4a5cc291723d3130c11ce4740e8.tar.gz
- Add test case for iconv_mime_encode().
Diffstat (limited to 'ext')
-rw-r--r--ext/iconv/tests/iconv004.phpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/iconv/tests/iconv004.phpt b/ext/iconv/tests/iconv004.phpt
new file mode 100644
index 0000000..0e40ed4
--- /dev/null
+++ b/ext/iconv/tests/iconv004.phpt
@@ -0,0 +1,10 @@
+--TEST--
+iconv_mime_encode() sanity cheeck.
+--FILE--
+<?php
+var_dump(iconv_mime_encode('', ''));
+var_dump(iconv_mime_encode('', '', array('line-break-chars' => 1)));
+?>
+--EXPECT--
+string(19) ": =?ISO-8859-1?B??="
+string(19) ": =?ISO-8859-1?B??="