3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $xml = '<received> <![CDATA[ from DM2PR07MB1563.namprd07.prod.outlook.com ([::1]) by DM2PR07MB1563.namprd07.prod.outlook.com ([fe80::645f:4ee6:7808:6c7f%13]) with Microsoft SMTP Server id 15.01.1220.018; Fri, 7 Jul 2017 19:27:18 +0000 ]]> </received>'; $domxml = new DOMDocument(); var_dump($domxml->loadXML($xml));
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.3.1
bool(true)