xref: /PHP-8.3/ext/iconv/tests/iconv004.phpt (revision e9f783fc)
1--TEST--
2iconv_mime_encode() sanity cheeck.
3--EXTENSIONS--
4iconv
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