xref: /PHP-8.0/ext/iconv/tests/iconv004.phpt (revision 487d4d07)
1--TEST--
2iconv_mime_encode() sanity cheeck.
3--SKIPIF--
4<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
5--INI--
6input_encoding = ISO-8859-1
7internal_encoding = ISO-8859-1
8output_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