mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Debug toolbar WIP
This commit is contained in:
@ -24,6 +24,9 @@ class StringHelper
|
||||
*/
|
||||
public static function strlen($string)
|
||||
{
|
||||
if (!function_exists('mb_strlen')) {
|
||||
throw new \Exception('here');
|
||||
}
|
||||
return mb_strlen($string, '8bit');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user