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