3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xml = <<<XML <html> <head><title></title></head> <body> <CONTENT/> </body> </html> XML; $content = "<div id='wrap'>text text text</div>"; echo implode(explode($xml,"</CONTENT>"),$content);
Output for 4.3.0 - 7.1.0
</CONTENT>