|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
40 + 23 = ?
Subscribe to this entry?

 [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-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 02:01:28 2024 UTC