original_string: public static function fromCodeUnit($unit){
  		
  		if(!\is_numeric($unit)){
  			throw new \InvalidArgumentException('$unit must be a number');
  		}
  		
  		$str = \mb_convert_encoding(
  				\sprintf('&#%s;', $unit),
  				static::ENCODING,
  				'HTML-ENTITIES');
  		
  		return new static($str, static::ENCODING);
  		
  	}
code: public static function fromCodeUnit($unit){
  		
  		if(!\is_numeric($unit)){
  			throw new \InvalidArgumentException('$unit must be a number');
  		}
  		
  		$str = \mb_convert_encoding(
  				\sprintf('&#%s;', $unit),
  				static::ENCODING,
  				'HTML-ENTITIES');
  		
  		return new static($str, static::ENCODING);
  		
  	}
code_tokens: public static function fromCodeUnit ( $ unit ) { if ( ! \ is_numeric ( $ unit ) ) { throw new \ InvalidArgumentException ( '$unit must be a number' ) ; } $ str = \ mb_convert_encoding ( \ sprintf ( '&#%s;' , $ unit ) , static :: ENCODING , 'HTML-ENTITIES' ) ; return new static ( $ str , static :: ENCODING ) ; }
docstring: Converts a code unit to a unicode character in UTF-8 encoding
  @param int $unit
  @return \static
docstring_tokens: Converts a code unit to a unicode character in UTF - 8 encoding