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 = domxml_open_mem($xml);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
Parse error: syntax error, unexpected '$domxml' (T_VARIABLE) in /in/isqXb on line 10
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: syntax error, unexpected T_VARIABLE in /in/isqXb:10 Stack trace: #0 {main}
Process exited with code 255.
Output for 4.4.3
Parse error: syntax error, unexpected T_VARIABLE in /in/isqXb on line 10
Process exited with code 255.