function does not support Mb_strlen what to do?
Reply to discussion (solution)
Window
Go to the PHP extension directory to see if there are any php_mbstring.dll files if necessary to open the extension in php.ini
Put
; Extension=php_mbstring.dll
Change into
Extension=php_mbstring.dll
Then turn on the MB extension
I have changed this: put
; Extension=php_mbstring.dll
Change into
Extension=php_mbstring.dll
How to expand, hope to give help, thank you!
What's your environment?
To tell you the truth, I don't understand what you mean.
What is your PHP environment, what is the operating system, and what is a Web server?
It is only possible to restart the service after the modification.
Specific can say your operation flow, after modifying the php.ini file, need to restart the service to take effect.
$s = ' I am you 1234abc '; function my ($str) { $strlen =0; for ($i =0; $i
0xa0) { $strlen +=0.5; } else{ $strlen +=1; } } return $strlen;} echo my ($s);
10
Meet the same problem, ask for answers, thank you!!!