3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 5.6.3 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.17, 8.4.1 - 8.4.5
<?xml version="1.0" encoding="UTF-8"?> <!--Sample XML file generated by XMLSpy v2013 (http://www.altova.com)--> <ftc:FATCA_OECD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ftc="urn:oecd:ties:fatca:v2" xmlns:sfa="urn:oecd:ties:stffatcatypes:v2" version="2.0" xsi:schemaLocation="urn:oecd:ties:fatca:v2 FatcaXML_v2.0.xsd"> <ftc:MessageSpec> <sfa:SendingCompanyIN>S519K4.99999.SL.392</sfa:SendingCompanyIN> <sfa:TransmittingCountry>JP</sfa:TransmittingCountry> <sfa:ReceivingCountry>US</sfa:ReceivingCountry> <sfa:MessageType>FATCA</sfa:MessageType> <sfa:MessageRefId>DBA6455E-8454-47D9-914B-FEE48E4EF3AA</sfa:MessageRefId> <sfa:ReportingPeriod>2016-12-31</sfa:ReportingPeriod> <sfa:Timestamp>2017-01-17T09:30:47Z</sfa:Timestamp> <ftc:SendingCompanyIN>testing</ftc:SendingCompanyIN></ftc:MessageSpec> <ftc:FATCA> <ftc:ReportingFI> <sfa:ResCountryCode>JP</sfa:ResCountryCode> <sfa:TIN>test</sfa:TIN> <sfa:Name>Bank of NN</sfa:Name> <sfa:Address> <sfa:CountryCode>JP</sfa:CountryCode> <sfa:AddressFree>123 Main Street</sfa:AddressFree> </sfa:Address> <ftc:DocSpec> <ftc:DocTypeIndic>FATCA1</ftc:DocTypeIndic> <ftc:DocRefId>S519K4.99999.SL.392.50B80D2D-79DA-4AFD-8148-F06480FFDEB5</ftc:DocRefId> </ftc:DocSpec> </ftc:ReportingFI> <ftc:ReportingGroup> <ftc:NilReport> <ftc:DocSpec> <ftc:DocTypeIndic>FATCA1</ftc:DocTypeIndic> <ftc:DocRefId>S519K4.99999.SL.392.CE54CA78-7C31-4EC2-B73C-E387C314F426</ftc:DocRefId> </ftc:DocSpec> <ftc:NoAccountToReport>yes</ftc:NoAccountToReport> </ftc:NilReport> </ftc:ReportingGroup> </ftc:FATCA> </ftc:FATCA_OECD>
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.1, 5.1.3 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.2
Fatal error: Cannot use object of type DOMNodeList as array in /in/aheEj on line 48
Process exited with code 255.
Output for 5.1.2
Fatal error: Cannot use object of type DOMNodeList as array in /in/aheEj on line 49
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.1, 4.4.3 - 4.4.9
Fatal error: Cannot instantiate non-existent class: domdocument in /in/aheEj on line 43
Process exited with code 255.
Output for 4.4.2
Fatal error: Cannot instantiate non-existent class: domdocument in /in/aheEj on line 44
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: domdocument in /in/aheEj on line 43

preferences:
214.48 ms | 417 KiB | 5 Q