xref: /PHP-5.4/ext/iconv/tests/iconv004.phpt (revision 0d5a13dd)
1--TEST--
2iconv_mime_encode() sanity cheeck.
3--SKIPIF--
4<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
5--INI--
6iconv.input_encoding = ISO-8859-1
7iconv.internal_encoding = ISO-8859-1
8iconv.output_encoding = ISO-8859-1
9--FILE--
10<?php
11var_dump(iconv_mime_encode('', ''));
12var_dump(iconv_mime_encode('', '', array('line-break-chars' => 1)));
13?>
14--EXPECT--
15string(19) ": =?ISO-8859-1?B??="
16string(19) ": =?ISO-8859-1?B??="
17