original_string: public function shorten($num) {
  		$str = '';
  
  		while ($num > 0) {
  			$str = $this->alphabet[($num % $this->base)] . $str;
  			$num = (int) ($num / $this->base);
  		}
  
  		return $str;
  	}
code: public function shorten($num) {
  		$str = '';
  
  		while ($num > 0) {
  			$str = $this->alphabet[($num % $this->base)] . $str;
  			$num = (int) ($num / $this->base);
  		}
  
  		return $str;
  	}
code_tokens: public function shorten ( $ num ) { $ str = '' ; while ( $ num > 0 ) { $ str = $ this -> alphabet [ ( $ num % $ this -> base ) ] . $ str ; $ num = ( int ) ( $ num / $ this -> base ) ; } return $ str ; }
docstring: Converts the specified integer ID to a short string
  
  This is done by performing a (bijective) base conversion
  
  @param int $num the integer ID to convert
  @return string the short string
docstring_tokens: Converts the specified integer ID to a short string