Added __toString method to the Element objects that returns the outerHTML of the element.
Added __toString method to the Element objects that returns the outerHTML of the element.

ivopetkov/html5-dom-document-php