original_string: public static function CountCharacters($value, $enc = 'UTF-8')
  	{
  		if (self::getIsMbstringEnabled()) {
  			$count = mb_strlen($value, $enc);
  			return $count;
  		}
  
  		if (self::getIsIconvEnabled()) {
  			$count = iconv_strlen($value, $enc);
  			return $count;
  		}
  
  		// else strlen
  		$count = strlen($value);
  		return $count;
  	}
code: public static function CountCharacters($value, $enc = 'UTF-8')
  	{
  		if (self::getIsMbstringEnabled()) {
  			$count = mb_strlen($value, $enc);
  			return $count;
  		}
  
  		if (self::getIsIconvEnabled()) {
  			$count = iconv_strlen($value, $enc);
  			return $count;
  		}
  
  		// else strlen
  		$count = strlen($value);
  		return $count;
  	}
code_tokens: public static function CountCharacters ( $ value , $ enc = 'UTF-8' ) { if ( self :: getIsMbstringEnabled ( ) ) { $ count = mb_strlen ( $ value , $ enc ) ; return $ count ; } if ( self :: getIsIconvEnabled ( ) ) { $ count = iconv_strlen ( $ value , $ enc ) ; return $ count ; } // else strlen $ count = strlen ( $ value ) ; return $ count ; }
docstring: Get character count. First try mbstring, then iconv, finally strlen
  
  @param string $value
  @param string $enc Encoding
  @return int Character count
docstring_tokens: Get character count . First try mbstring then iconv finally strlen