code: public function renderValue($value)
      {
          $output = '';
          if ($value) {
              if (is_scalar($value)) {
                  $output = $this->escapeHtml($value);
              } else if (is_array($value)) {
                  $output = $this->renderArray($value);
              } else {
                  return $this->escapeHtml(var_export($value, true));
              }
          }
  
          return $output;
      }
docs: Prints recursively a value. We don't test for cyclic references for compound types (e.g array)
  
  @param $value
  @return string