'; foreach($headers as $header) { $header = (object)$header; $html .= '<' . $header->tag; if(isset($header->props)) $html .= rgDnsConstructProps($header->props); $html .= empty($header->close) ? ' />' : '>' . $header->tag . '>'; } $html .= '