original_string: public static function encode($data): string
      {
          if (PHP_VERSION_ID >= 50400) {
              return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
          }
  
          return json_encode($data);
      }
code: public static function encode($data): string
      {
          if (PHP_VERSION_ID >= 50400) {
              return json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
          }
  
          return json_encode($data);
      }
code_tokens: public static function encode ( $ data ) : string { if ( PHP_VERSION_ID >= 50400 ) { return json_encode ( $ data , JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ) ; } return json_encode ( $ data ) ; }
docstring: encode data to json
  @param $data
  @return string
docstring_tokens: encode data to json