Commit fae44063 by Qiang Xue

Removed extra code.

parent 5eac34a4
...@@ -24,9 +24,6 @@ class StringHelper ...@@ -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');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment