3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = '{"SOAP Details":{"WSDL":"https://testcwi.itsrezexchange.net/VALKTEST/V1.1.5-V491/service.asmx?wsdl","Request headers":"POST /VALKTEST/V1.1.5-V491/service.asmx HTTP/1.1\r\nHost: testcwi.itsrezexchange.net\r\nConnection: Keep-Alive\r\nUser-Agent: PHP-SOAP/5.6.24\r\nContent-Type: text/xml; charset=utf-8\r\nSOAPAction: \"http://hotelconcepts.com/CwiModifyReservation\"\r\nContent-Length: 2543\r\n\r\n","Request body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns1=\"http://hotelconcepts.com/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><SOAP-ENV:Header><ns1:Authentication><ns1:User>VDCCWIAZ</ns1:User><ns1:Password>AZ_1029!</ns1:Password><ns1:CrsProperty>VDC</ns1:CrsProperty></ns1:Authentication></SOAP-ENV:Header><SOAP-ENV:Body><ns1:CwiModifyReservation><ns1:Reservation><ns1:ConfirmationNumber>HBR-FX900888</ns1:ConfirmationNumber><ns1:PropertyCode>BRE</ns1:PropertyCode><ns1:ArrivalDate>2017-03-13T00:00:00+00:00</ns1:ArrivalDate><ns1:DepartDate>2017-03-14T00:00:00+00:00</ns1:DepartDate><ns1:Rooms>1</ns1:Rooms><ns1:Adults>1</ns1:Adults><ns1:Children>0</ns1:Children><ns1:Infants>0</ns1:Infants><ns1:RatePlan>TARIEF1</ns1:RatePlan><ns1:Mealplan>LO</ns1:Mealplan><ns1:RoomType>DELUXE</ns1:RoomType><ns1:Tentative>true</ns1:Tentative><ns1:OptionDate xsi:nil=\"true\"/><ns1:Guarantee><ns1:GuaranteeCode>ER</ns1:GuaranteeCode><ns1:GuaranteeType>AllChargesAR</ns1:GuaranteeType></ns1:Guarantee><ns1:Guest><ns1:LastName>Heeren</ns1:LastName><ns1:FirstName>Sjouke</ns1:FirstName><ns1:Prefix></ns1:Prefix><ns1:Address id=\"ref1\"><ns1:Street>Vierlinghlaan</ns1:Street><ns1:Number>226</ns1:Number><ns1:City>Leiden</ns1:City><ns1:ZipCode>2332CT</ns1:ZipCode><ns1:Country>NL</ns1:Country><ns1:Phone>0123123123</ns1:Phone></ns1:Address><ns1:Authentication><ns1:UserName>Heeren-Sjouke0123123123</ns1:UserName><ns1:Password>0123123123</ns1:Password></ns1:Authentication><ns1:EmailAddress>michael+450@aanzee.nl</ns1:EmailAddress><ns1:IncludeInMailing>false</ns1:IncludeInMailing><ns1:LanguageCode>nl</ns1:LanguageCode><ns1:DateOfBirth>1999-02-01</ns1:DateOfBirth></ns1:Guest><ns1:Booker><ns1:LastName>Heeren</ns1:LastName><ns1:FirstName>Sjouke</ns1:FirstName><ns1:Prefix></ns1:Prefix><ns1:Title>MR</ns1:Title><ns1:Address href=\"#ref1\"/><ns1:Authentication><ns1:UserName>Heeren-Sjouke0123123123</ns1:UserName><ns1:Password>0123123123</ns1:Password></ns1:Authentication><ns1:EmailAddress>michael+450@aanzee.nl</ns1:EmailAddress><ns1:IncludeInMailing>false</ns1:IncludeInMailing><ns1:LanguageCode>nl</ns1:LanguageCode><ns1:DateOfBirth>1999-02-01</ns1:DateOfBirth></ns1:Booker><ns1:Extras/><ns1:ReservationBalance>0</ns1:ReservationBalance><ns1:CroFolio>19847</ns1:CroFolio><ns1:CroReference>19847</ns1:CroReference></ns1:Reservation><ns1:OverridePassword>V@lkInternet!</ns1:OverridePassword><ns1:Language>nl</ns1:Language></ns1:CwiModifyReservation></SOAP-ENV:Body></SOAP-ENV:Envelope>\n","Response headers":"HTTP/1.1 500 Internal Server Error\r\nCache-Control: private\r\nContent-Length: 539\r\nContent-Type: text/xml; charset=utf-8\r\nServer: Microsoft-IIS/8.5\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\nDate: Wed, 01 Feb 2017 10:25:06 GMT\r\n","Response body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---&gt; The wait operation timed out</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>"}} '; var_dump(json_decode($tmp, true));
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
array(1) { ["SOAP Details"]=> array(5) { ["WSDL"]=> string(73) "https://testcwi.itsrezexchange.net/VALKTEST/V1.1.5-V491/service.asmx?wsdl" ["Request headers"]=> string(261) "POST /VALKTEST/V1.1.5-V491/service.asmx HTTP/1.1 Host: testcwi.itsrezexchange.net Connection: Keep-Alive User-Agent: PHP-SOAP/5.6.24 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://hotelconcepts.com/CwiModifyReservation" Content-Length: 2543 " ["Request body"]=> string(2543) "<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://hotelconcepts.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header><ns1:Authentication><ns1:User>VDCCWIAZ</ns1:User><ns1:Password>AZ_1029!</ns1:Password><ns1:CrsProperty>VDC</ns1:CrsProperty></ns1:Authentication></SOAP-ENV:Header><SOAP-ENV:Body><ns1:CwiModifyReservation><ns1:Reservation><ns1:ConfirmationNumber>HBR-FX900888</ns1:ConfirmationNumber><ns1:PropertyCode>BRE</ns1:PropertyCode><ns1:ArrivalDate>2017-03-13T00:00:00+00:00</ns1:ArrivalDate><ns1:DepartDate>2017-03-14T00:00:00+00:00</ns1:DepartDate><ns1:Rooms>1</ns1:Rooms><ns1:Adults>1</ns1:Adults><ns1:Children>0</ns1:Children><ns1:Infants>0</ns1:Infants><ns1:RatePlan>TARIEF1</ns1:RatePlan><ns1:Mealplan>LO</ns1:Mealplan><ns1:RoomType>DELUXE</ns1:RoomType><ns1:Tentative>true</ns1:Tentative><ns1:OptionDate xsi:nil="true"/><ns1:Guarantee><ns1:GuaranteeCode>ER</ns1:GuaranteeCode><ns1:GuaranteeType>AllChargesAR</ns1:GuaranteeType></ns1:Guarantee><ns1:Guest><ns1:LastName>Heeren</ns1:LastName><ns1:FirstName>Sjouke</ns1:FirstName><ns1:Prefix></ns1:Prefix><ns1:Address id="ref1"><ns1:Street>Vierlinghlaan</ns1:Street><ns1:Number>226</ns1:Number><ns1:City>Leiden</ns1:City><ns1:ZipCode>2332CT</ns1:ZipCode><ns1:Country>NL</ns1:Country><ns1:Phone>0123123123</ns1:Phone></ns1:Address><ns1:Authentication><ns1:UserName>Heeren-Sjouke0123123123</ns1:UserName><ns1:Password>0123123123</ns1:Password></ns1:Authentication><ns1:EmailAddress>michael+450@aanzee.nl</ns1:EmailAddress><ns1:IncludeInMailing>false</ns1:IncludeInMailing><ns1:LanguageCode>nl</ns1:LanguageCode><ns1:DateOfBirth>1999-02-01</ns1:DateOfBirth></ns1:Guest><ns1:Booker><ns1:LastName>Heeren</ns1:LastName><ns1:FirstName>Sjouke</ns1:FirstName><ns1:Prefix></ns1:Prefix><ns1:Title>MR</ns1:Title><ns1:Address href="#ref1"/><ns1:Authentication><ns1:UserName>Heeren-Sjouke0123123123</ns1:UserName><ns1:Password>0123123123</ns1:Password></ns1:Authentication><ns1:EmailAddress>michael+450@aanzee.nl</ns1:EmailAddress><ns1:IncludeInMailing>false</ns1:IncludeInMailing><ns1:LanguageCode>nl</ns1:LanguageCode><ns1:DateOfBirth>1999-02-01</ns1:DateOfBirth></ns1:Booker><ns1:Extras/><ns1:ReservationBalance>0</ns1:ReservationBalance><ns1:CroFolio>19847</ns1:CroFolio><ns1:CroReference>19847</ns1:CroReference></ns1:Reservation><ns1:OverridePassword>V@lkInternet!</ns1:OverridePassword><ns1:Language>nl</ns1:Language></ns1:CwiModifyReservation></SOAP-ENV:Body></SOAP-ENV:Envelope> " ["Response headers"]=> string(236) "HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Length: 539 Content-Type: text/xml; charset=utf-8 Server: Microsoft-IIS/8.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Wed, 01 Feb 2017 10:25:06 GMT " ["Response body"]=> string(539) "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---&gt; The wait operation timed out</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>" } }

preferences:
157.74 ms | 411 KiB | 182 Q