[php-src] Issue #8254: mb_convert_encoding does not work in PHP 8.1.4

From: Date: Sat, 26 Mar 2022 16:55:58 +0000
Subject: [php-src] Issue #8254: mb_convert_encoding does not work in PHP 8.1.4
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240511@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8254 Author: Dingjerry ### Description The following code: ```php <?php $data=mb_convert_encoding($data,'UTF-8','GB18030'); ``` Resulted in this output: ``` Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in D:\www\index.php:194 Stack trace:.... ``` But I expected this output instead: ``` Some strings, including Chinese, English, numbers, etc. ``` ### PHP Version PHP 8.1.4 ### Operating System Windows 10

« previous php.bugs (#240511) next »