xref: /PHP-7.2/ext/mbstring/tests/bug25140.phpt (revision 9cd7b9d3)
1--TEST--
2Bug #25140 (mb_convert_encoding returns FALSE on an empty string)
3--SKIPIF--
4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
5--FILE--
6<?php
7var_dump( mb_convert_encoding( '', 'SJIS', 'EUC-JP' ) );
8?>
9--EXPECT--
10string(0) ""
11