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