protected static function strlen($text) 
    {
        $exits = (function_exists('mb_strlen') && ((int) ini_get('mbstring.func_overload')) & 2);

        return $exits ? mb_strlen($text,'8bit') : strlen($text);
    }
protected static function strlen($text) 
    {
        $exits = (function_exists('mb_strlen') && ((int) ini_get('mbstring.func_overload')) & 2);

        return $exits ? mb_strlen($text,'8bit') : strlen($text);
    }
protected static function strlen ( $ text ) { $ exits = ( function_exists ( 'mb_strlen' ) && ( ( int ) ini_get ( 'mbstring.func_overload' ) ) & 2 ) ; return $ exits ? mb_strlen ( $ text , '8bit' ) : strlen ( $ text ) ; }
Calculates the length from given string

@param  string $text
@return int
Calculates the length from given string