Raw content of DOMElement::innerHTML
<p>How, in PHP, I can get the raw content of <code>DOMElement</code>, like JS <code>innerHTML</code> does?</p>

<p>I tried with <code>saveHTML()</code> or <code>saveXML()</code> iterating over each <code>childNodes</code> to simulate <code>innerHTML</code>, but it replaced code like turning <code>&lt;br /&gt;</code> to <code>&lt;br&gt;</code> or <code>&lt;br/&gt;</code> (in case of the XML version).</p>