Annotation of embedaddon/php/ext/iconv/tests/iconv004.phpt, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>