|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71180 The mb_string extension have a bug in windows.
Submitted: 2015-12-21 11:45 UTC Modified: 2016-01-03 04:22 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: cevin dot cheung at gmail dot com Assigned:
Status: No Feedback Package: *Web Server problem
PHP Version: 7.0.1 OS: Win10
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-12-21 11:45 UTC] cevin dot cheung at gmail dot com
The mb_string extension have a bug.

In browser && (apache || nginx), the extension is not loaded.
But , In console, the extension is loaded and okay.

And, The Yii PHP Framework it's not worked error report as below:

Uncaught Error: Call to undefined function yii\web\mb_strlen() in script.php:394

Test script:


echo mb_strlen('1','utf-8');


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-21 18:26 UTC]
-Status: Open +Status: Feedback
 [2015-12-21 18:26 UTC]
Thanks for the report. It seems that a relative path is used in the extension_dir ini directive. It is likely that Apache will change CWD to its own root, so please use an absolute path to the extension dir.

 [2016-01-03 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Dec 04 09:03:37 2021 UTC