Fix ext/xml warnings
Fix $x .= $x

Also add a nice comment pointing out that concat runs on magic.