code: protected function buildArgString($args)
      {
          $numArgs = \count($args);
          if ($numArgs == 1 && \is_string($args[0])) {
              $args[0] = \strip_tags($args[0]);
          }
          foreach ($args as $k => $v) {
              if ($k > 0 || !\is_string($v)) {
                  $args[$k] = $this->dump($v);
              }
              $this->valDepth = 0;
          }
          $glue = ', ';
          $glueAfterFirst = true;
          if ($numArgs && \is_string($args[0])) {
              if (\preg_match('/[=:] ?$/', $args[0])) {
                  // first arg ends with "=" or ":"
                  $glueAfterFirst = false;
              } elseif (\count($args) == 2) {
                  $glue = ' = ';
              }
          }
          if (!$glueAfterFirst) {
              return $args[0].\implode($glue, \array_slice($args, 1));
          } else {
              return \implode($glue, $args);
          }
      }
docs: Convert all arguments to text and join them together.
  
  @param array $args arguments
  
  @return string