3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp = '{"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: 2816\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-FX900898</ns1:ConfirmationNumber><ns1:PropertyCode>BRE</ns1:PropertyCode><ns1:ArrivalDate>2017-02-25T00:00:00+00:00</ns1:ArrivalDate><ns1:DepartDate>2017-02-26T00:00:00+00:00</ns1:DepartDate><ns1:Rooms>1</ns1:Rooms><ns1:Adults>2</ns1:Adults><ns1:Children>0</ns1:Children><ns1:Infants>0</ns1:Infants><ns1:RatePlan>TARIEF1</ns1:RatePlan><ns1:Mealplan>LG</ns1:Mealplan><ns1:RoomType>SUITE</ns1:RoomType><ns1:Reference>Online</ns1:Reference><ns1:Tentative>false</ns1:Tentative><ns1:OptionDate xsi:nil=\"true\"/><ns1:PaymentType>ER</ns1:PaymentType><ns1:Guarantee><ns1:GuaranteeCode>BETAALD</ns1:GuaranteeCode><ns1:GuaranteeType>AllChargesAR</ns1:GuaranteeType></ns1:Guarantee><ns1:Guest><ns1:LastName>Maat</ns1:LastName><ns1:FirstName>Michael</ns1:FirstName><ns1:Prefix></ns1:Prefix><ns1:Address id=\"ref1\"><ns1:Phone>0644745027</ns1:Phone></ns1:Address><ns1:Authentication><ns1:UserName>Maat-Michael0644745027</ns1:UserName><ns1:Password>0644745027</ns1:Password></ns1:Authentication><ns1:EmailAddress>michael@aanzee.nl</ns1:EmailAddress><ns1:IncludeInMailing>false</ns1:IncludeInMailing><ns1:LanguageCode>nl</ns1:LanguageCode><ns1:FrequentStayNumber>67101</ns1:FrequentStayNumber><ns1:FrequentStayType>VA</ns1:FrequentStayType><ns1:VipCategory>VA</ns1:VipCategory><ns1:DateOfBirth>1999-02-01</ns1:DateOfBirth></ns1:Guest><ns1:Booker><ns1:LastName>Maat</ns1:LastName><ns1:FirstName>Michael</ns1:FirstName><ns1:Prefix></ns1:Prefix><ns1:Title>MR</ns1:Title><ns1:Address href=\"#ref1\"/><ns1:Authentication><ns1:UserName>Maat-Michael0644745027</ns1:UserName><ns1:Password>0644745027</ns1:Password></ns1:Authentication><ns1:EmailAddress>michael@aanzee.nl</ns1:EmailAddress><ns1:IncludeInMailing>false</ns1:IncludeInMailing><ns1:LanguageCode>nl</ns1:LanguageCode><ns1:FrequentStayNumber>67101</ns1:FrequentStayNumber><ns1:FrequentStayType>VA</ns1:FrequentStayType><ns1:VipCategory>VA</ns1:VipCategory><ns1:DateOfBirth>1999-02-01</ns1:DateOfBirth></ns1:Booker><ns1:Extras/><ns1:Comments> - Booker name: Michael Maat\n - Valk Account ID: 67101\n</ns1:Comments><ns1:ReservationBalance>0</ns1:ReservationBalance><ns1:CroFolio>20183</ns1:CroFolio><ns1:CroReference>20183</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 200 OK\r\nCache-Control: private, max-age=0\r\nContent-Length: 510\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 14:28:01 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><CwiModifyReservationResponse xmlns=\"http://hotelconcepts.com/\"><CwiModifyReservationResult><ErrorInfo><ErrorCode>301</ErrorCode><ErrorMessage>Reservation not found</ErrorMessage><ErrorData /></ErrorInfo></CwiModifyReservationResult></CwiModifyReservationResponse></soap:Body></soap:Envelope>","date-time":"2017-02-01 14:28:01"}'; var_dump(json_decode($tmp, true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bqlpj
function name:  (null)
number of ops:  9
compiled vars:  !0 = $tmp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22Request+headers%22%3A%22POST+%2FVALKTEST%2FV1.1.5-V491%2Fservice.asmx+HTTP%2F1.1%5Cr%5CnHost%3A+testcwi.itsrezexchange.net%5Cr%5CnConnection%3A+Keep-Alive%5Cr%5CnUser-Agent%3A+PHP-SOAP%2F5.6.24%5Cr%5CnContent-Type%3A+text%2Fxml%3B+charset%3Dutf-8%5Cr%5CnSOAPAction%3A+%5C%22http%3A%2F%2Fhotelconcepts.com%2FCwiModifyReservation%5C%22%5Cr%5CnContent-Length%3A+2816%5Cr%5Cn%5Cr%5Cn%22%2C%22Request+body%22%3A%22%3C%3Fxml+version%3D%5C%221.0%5C%22+encoding%3D%5C%22UTF-8%5C%22%3F%3E%5Cn%3CSOAP-ENV%3AEnvelope+xmlns%3ASOAP-ENV%3D%5C%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%5C%22+xmlns%3Ans1%3D%5C%22http%3A%2F%2Fhotelconcepts.com%2F%5C%22+xmlns%3Axsi%3D%5C%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%5C%22%3E%3CSOAP-ENV%3AHeader%3E%3Cns1%3AAuthentication%3E%3Cns1%3AUser%3EVDCCWIAZ%3C%2Fns1%3AUser%3E%3Cns1%3APassword%3EAZ_1029%21%3C%2Fns1%3APassword%3E%3Cns1%3ACrsProperty%3EVDC%3C%2Fns1%3ACrsProperty%3E%3C%2Fns1%3AAuthentication%3E%3C%2FSOAP-ENV%3AHeader%3E%3CSOAP-ENV%3ABody%3E%3Cns1%3ACwiModifyReservation%3E%3Cns1%3AReservation%3E%3Cns1%3AConfirmationNumber%3EHBR-FX900898%3C%2Fns1%3AConfirmationNumber%3E%3Cns1%3APropertyCode%3EBRE%3C%2Fns1%3APropertyCode%3E%3Cns1%3AArrivalDate%3E2017-02-25T00%3A00%3A00%2B00%3A00%3C%2Fns1%3AArrivalDate%3E%3Cns1%3ADepartDate%3E2017-02-26T00%3A00%3A00%2B00%3A00%3C%2Fns1%3ADepartDate%3E%3Cns1%3ARooms%3E1%3C%2Fns1%3ARooms%3E%3Cns1%3AAdults%3E2%3C%2Fns1%3AAdults%3E%3Cns1%3AChildren%3E0%3C%2Fns1%3AChildren%3E%3Cns1%3AInfants%3E0%3C%2Fns1%3AInfants%3E%3Cns1%3ARatePlan%3ETARIEF1%3C%2Fns1%3ARatePlan%3E%3Cns1%3AMealplan%3ELG%3C%2Fns1%3AMealplan%3E%3Cns1%3ARoomType%3ESUITE%3C%2Fns1%3ARoomType%3E%3Cns1%3AReference%3EOnline%3C%2Fns1%3AReference%3E%3Cns1%3ATentative%3Efalse%3C%2Fns1%3ATentative%3E%3Cns1%3AOptionDate+xsi%3Anil%3D%5C%22true%5C%22%2F%3E%3Cns1%3APaymentType%3EER%3C%2Fns1%3APaymentType%3E%3Cns1%3AGuarantee%3E%3Cns1%3AGuaranteeCode%3EBETAALD%3C%2Fns1%3AGuaranteeCode%3E%3Cns1%3AGuaranteeType%3EAllChargesAR%3C%2Fns1%3AGuaranteeType%3E%3C%2Fns1%3AGuarantee%3E%3Cns1%3AGuest%3E%3Cns1%3ALastName%3EMaat%3C%2Fns1%3ALastName%3E%3Cns1%3AFirstName%3EMichael%3C%2Fns1%3AFirstName%3E%3Cns1%3APrefix%3E%3C%2Fns1%3APrefix%3E%3Cns1%3AAddress+id%3D%5C%22ref1%5C%22%3E%3Cns1%3APhone%3E0644745027%3C%2Fns1%3APhone%3E%3C%2Fns1%3AAddress%3E%3Cns1%3AAuthentication%3E%3Cns1%3AUserName%3EMaat-Michael0644745027%3C%2Fns1%3AUserName%3E%3Cns1%3APassword%3E0644745027%3C%2Fns1%3APassword%3E%3C%2Fns1%3AAuthentication%3E%3Cns1%3AEmailAddress%3Emichael%40aanzee.nl%3C%2Fns1%3AEmailAddress%3E%3Cns1%3AIncludeInMailing%3Efalse%3C%2Fns1%3AIncludeInMailing%3E%3Cns1%3ALanguageCode%3Enl%3C%2Fns1%3ALanguageCode%3E%3Cns1%3AFrequentStayNumber%3E67101%3C%2Fns1%3AFrequentStayNumber%3E%3Cns1%3AFrequentStayType%3EVA%3C%2Fns1%3AFrequentStayType%3E%3Cns1%3AVipCategory%3EVA%3C%2Fns1%3AVipCategory%3E%3Cns1%3ADateOfBirth%3E1999-02-01%3C%2Fns1%3ADateOfBirth%3E%3C%2Fns1%3AGuest%3E%3Cns1%3ABooker%3E%3Cns1%3ALastName%3EMaat%3C%2Fns1%3ALastName%3E%3Cns1%3AFirstName%3EMichael%3C%2Fns1%3AFirstName%3E%3Cns1%3APrefix%3E%3C%2Fns1%3APrefix%3E%3Cns1%3ATitle%3EMR%3C%2Fns1%3ATitle%3E%3Cns1%3AAddress+href%3D%5C%22%23ref1%5C%22%2F%3E%3Cns1%3AAuthentication%3E%3Cns1%3AUserName%3EMaat-Michael0644745027%3C%2Fns1%3AUserName%3E%3Cns1%3APassword%3E0644745027%3C%2Fns1%3APassword%3E%3C%2Fns1%3AAuthentication%3E%3Cns1%3AEmailAddress%3Emichael%40aanzee.nl%3C%2Fns1%3AEmailAddress%3E%3Cns1%3AIncludeInMailing%3Efalse%3C%2Fns1%3AIncludeInMailing%3E%3Cns1%3ALanguageCode%3Enl%3C%2Fns1%3ALanguageCode%3E%3Cns1%3AFrequentStayNumber%3E67101%3C%2Fns1%3AFrequentStayNumber%3E%3Cns1%3AFrequentStayType%3EVA%3C%2Fns1%3AFrequentStayType%3E%3Cns1%3AVipCategory%3EVA%3C%2Fns1%3AVipCategory%3E%3Cns1%3ADateOfBirth%3E1999-02-01%3C%2Fns1%3ADateOfBirth%3E%3C%2Fns1%3ABooker%3E%3Cns1%3AExtras%2F%3E%3Cns1%3AComments%3E+-+Booker+name%3A+Michael++Maat%5Cn+-+Valk+Account+ID%3A+67101%5Cn%3C%2Fns1%3AComments%3E%3Cns1%3AReservationBalance%3E0%3C%2Fns1%3AReservationBalance%3E%3Cns1%3ACroFolio%3E20183%3C%2Fns1%3ACroFolio%3E%3Cns1%3ACroReference%3E20183%3C%2Fns1%3ACroReference%3E%3C%2Fns1%3AReservation%3E%3Cns1%3AOverridePassword%3EV%40lkInternet%21%3C%2Fns1%3AOverridePassword%3E%3Cns1%3ALanguage%3Enl%3C%2Fns1%3ALanguage%3E%3C%2Fns1%3ACwiModifyReservation%3E%3C%2FSOAP-ENV%3ABody%3E%3C%2FSOAP-ENV%3AEnvelope%3E%5Cn%22%2C%22Response+headers%22%3A%22HTTP%2F1.1+200+OK%5Cr%5CnCache-Control%3A+private%2C+max-age%3D0%5Cr%5CnContent-Length%3A+510%5Cr%5CnContent-Type%3A+text%2Fxml%3B+charset%3Dutf-8%5Cr%5CnServer%3A+Microsoft-IIS%2F8.5%5Cr%5CnX-AspNet-Version%3A+4.0.30319%5Cr%5CnX-Powered-By%3A+ASP.NET%5Cr%5CnDate%3A+Wed%2C+01+Feb+2017+14%3A28%3A01+GMT%5Cr%5Cn%22%2C%22Response+body%22%3A%22%3C%3Fxml+version%3D%5C%221.0%5C%22+encoding%3D%5C%22utf-8%5C%22%3F%3E%3Csoap%3AEnvelope+xmlns%3Asoap%3D%5C%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%5C%22+xmlns%3Axsi%3D%5C%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%5C%22+xmlns%3Axsd%3D%5C%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%5C%22%3E%3Csoap%3ABody%3E%3CCwiModifyReservationResponse+xmlns%3D%5C%22http%3A%2F%2Fhotelconcepts.com%2F%5C%22%3E%3CCwiModifyReservationResult%3E%3CErrorInfo%3E%3CErrorCode%3E301%3C%2FErrorCode%3E%3CErrorMessage%3EReservation+not+found%3C%2FErrorMessage%3E%3CErrorData+%2F%3E%3C%2FErrorInfo%3E%3C%2FCwiModifyReservationResult%3E%3C%2FCwiModifyReservationResponse%3E%3C%2Fsoap%3ABody%3E%3C%2Fsoap%3AEnvelope%3E%22%2C%22date-time%22%3A%222017-02-01+14%3A28%3A01%22%7D'
    5     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.41 ms | 1465 KiB | 15 Q