original_string: public static function html($symbol)
      {
  
  
          if (is_string($symbol) && EmojiDictionary::get($symbol))
              $symbol = EmojiDictionary::get($symbol);
  
          // In case that multiple unicode sequences are used
          if (is_array($symbol))
          {
              $output = '';
  
              foreach ($symbol as $sequence)
                  $output .= self::html($sequence);
  
              return $output;
          }
  
          $symbol = dechex($symbol);
  
          return '&#x' . $symbol;
  
      }
code: public static function html($symbol)
      {
  
  
          if (is_string($symbol) && EmojiDictionary::get($symbol))
              $symbol = EmojiDictionary::get($symbol);
  
          // In case that multiple unicode sequences are used
          if (is_array($symbol))
          {
              $output = '';
  
              foreach ($symbol as $sequence)
                  $output .= self::html($sequence);
  
              return $output;
          }
  
          $symbol = dechex($symbol);
  
          return '&#x' . $symbol;
  
      }
code_tokens: public static function html ( $ symbol ) { if ( is_string ( $ symbol ) && EmojiDictionary :: get ( $ symbol ) ) $ symbol = EmojiDictionary :: get ( $ symbol ) ; // In case that multiple unicode sequences are used if ( is_array ( $ symbol ) ) { $ output = '' ; foreach ( $ symbol as $ sequence ) $ output .= self :: html ( $ sequence ) ; return $ output ; } $ symbol = dechex ( $ symbol ) ; return '&#x' . $ symbol ; }
docstring: Return an emoji as a html entity
  
  @param $symbol
  @return string
docstring_tokens: Return an emoji as a html entity