3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (json_decode('{ "OTA_VehAvailRateRQ": { "-xmlns": "http://www.opentravel.org/OTA/2003/05", "-xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance", "-PrimaryLangID": "EN", "-TimeStamp": "2012-05-19T09:30:00", "-Target": "Production", "-Version": "3.0", "-TransactionIdentifier": "100000001", "-SequenceNmbr": "1", "-MaxResponses": "30", "-xsi:schemaLocation": "http://www.opentravel.org/OTA/2003/05:\\Users\\e557gc\\Documents\\XML\\2012BU~1\\OTA_VehAvailRateRQ.xsd", "POS": { "Source": [ { "-ISOCountry": "US", "RequestorID": { "-Type": "4", "-ID": "XMLRTA", "CompanyName": { "-Code": "EX", "-CompanyShortName": "EHIXMLTEST" } } }, { "RequestorID": { "-Type": "4", "-ID": "00000000", "-ID_Context": "IATA" } } ] }, "VehAvailRQCore": { "-Status": "Available", "VehRentalCore": { "-PickUpDateTime": "2013-12-01T09:30:00", "-ReturnDateTime": "2013-12-02T09:30:00", "PickUpLocation": { "-LocationCode": "TULT71" }, "ReturnLocation": { "-LocationCode": "TULT71" } }, "VendorPrefs": { "VendorPref": { "-Code": "AL" } }, "VehPrefs": { "VehPref": { "-AirConditionInd": "true", "-TransmissionType": "Automatic", "-FuelType": "Unspecified", "-DriveType": "Unspecified", "VehType": { "-VehicleCategory": "1", "-DoorCount": "4" }, "VehClass": { "-Size": "3" } } }, "DriverType": { "-Age": "25" }, "RateQualifier": { "-RateQualifier": "CORP" }, "TPA_Extensions": { "TPA_Extension_Flags": { "-EnhancedTotalPrice": "true" } } }, "VehAvailRQInfo": { "Customer": { "Primary": { "CustLoyalty": { "-ProgramID": "AL", "-MembershipID": "778125810", "-TravelSector": "2" } } } } } }'));
based on Ummv6
Output for 5.2.0 - 7.2.0
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/H5KAm on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/H5KAm on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/H5KAm on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/H5KAm on line 2