3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo DOMDocument::loadXML('<?xml version="1.0" encoding="utf-8"?><entry xml:base="http://exact.test.fb:8020/services/Exact.Entity.REST.EG/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://exact.test.fb:8020/services/Exact.Entity.REST.EG/MandateAccount(84)</id><category term="Exact.Metadata.Entity.MandateAccount" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="MandateAccount" href="MandateAccount(84)" /><title /><updated>2014-08-11T10:23:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Account m:type="Edm.Guid">58bd69dd-3c41-4b8b-ac48-b7ae56e479fc</d:Account><d:BankAccountNumber>793-501-01 0044410117</d:BankAccountNumber><d:Creator m:type="Edm.Int32">9</d:Creator><d:CreatedDate m:type="Edm.DateTime">2014-08-11T12:23:03</d:CreatedDate><d:ModifiedDate m:type="Edm.DateTime">2014-08-11T12:23:03</d:ModifiedDate><d:Description m:null="true" /><d:ID m:type="Edm.Int32">84</d:ID><d:LastSEPADirectDebitDate m:type="Edm.DateTime" m:null="true" /><d:Modifier m:type="Edm.Int32">9</d:Modifier><d:PaymentCondition m:null="true" /><d:Reference>44498237</d:Reference><d:SequenceType>F</d:SequenceType><d:SignatureDate m:type="Edm.DateTime">2014-07-18T00:00:00</d:SignatureDate><d:SortOfMandate>C</d:SortOfMandate><d:Status>A</d:Status></m:properties></content></entry>');
based on YVJPi
Output for 7.1.0
Deprecated: Non-static method DOMDocument::loadXML() should not be called statically in /in/ucWM1 on line 2 Recoverable fatal error: Object of class DOMDocument could not be converted to string in /in/ucWM1 on line 2
Process exited with code 255.
Output for 7.0.0 - 7.0.14
Deprecated: Non-static method DOMDocument::loadXML() should not be called statically in /in/ucWM1 on line 2 Catchable fatal error: Object of class DOMDocument could not be converted to string in /in/ucWM1 on line 2
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Catchable fatal error: Object of class DOMDocument could not be converted to string in /in/ucWM1 on line 2
Process exited with code 255.
Output for 5.2.0 - 5.6.28
Strict Standards: Non-static method DOMDocument::loadXML() should not be called statically in /in/ucWM1 on line 2 Catchable fatal error: Object of class DOMDocument could not be converted to string in /in/ucWM1 on line 2
Process exited with code 255.
Output for 5.0.0 - 5.1.6
Strict Standards: Non-static method DOMDocument::loadXML() should not be called statically in /in/ucWM1 on line 2 Object id #1
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'domdocument' in /in/ucWM1 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'domdocument' in /in/ucWM1 on line 2