$value) { if (is_array($value)) { $value = $this->ppArray($value, $depth+1); } else { $value = h($value); } $text .= sprintf( '
%s: %s
', h($key), $value ); } return $text; } } ?>