3v4l.org

run code in 200+ 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("</CONTENT>",$xml),$content);
Output for 4.3.0 - 7.2.0
<html> <head><title></title></head> <body> <CONTENT/> </body> </html>