3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml=simplexml_load_string(<<<XML <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthenticationHeader xmlns="http://www.travel.domain/"> <AgentUserId>1030</AgentUserId> <LoginName>wtb1030</LoginName> <Password>wtb1030</Password> <IPAddress>100.100.100.100</IPAddress> </AuthenticationHeader> </soap:Header> <soap:Body> <ProcessXML xmlns="http://www.travel.domain/"> <RequestInfo> <HotelDetailSearch> <RequestAuditInfo> <RequestType>PXML_GetHotelDetailSearch</RequestType> <RequestTime>2014-08-20T07:50:54</RequestTime> <RequestResource>ota</RequestResource> </RequestAuditInfo> <RequestParameters> <HotelWithRate>true</HotelWithRate> <ProductId>1</ProductId> <NationalityCode></NationalityCode> <CountryCode>TH</CountryCode> <CityCode>BKK</CityCode> <AreaCode></AreaCode> <HotelCode>BKKAMS</HotelCode> <CheckInDate>2014-08-29T12:00:00</CheckInDate> <CheckOutDate>2014-08-30T12:00:00</CheckOutDate> <Availablity>AVLOR</Availablity> <BookingRateRefId></BookingRateRefId> <RoomOccupancy> <RoomType RoomAdultCode="1SG" RoomNumber="1"> <Adults>1</Adults> <Childs>0</Childs> <ChildWithBed>0</ChildWithBed> <ChildAges/> </RoomType> </RoomOccupancy> </RequestParameters> </HotelDetailSearch> </RequestInfo> </ProcessXML> </soap:Body> </soap:Envelope> XML ); print_r($xml);
Output for git.master, git.master_jit, rfc.property-hooks
SimpleXMLElement Object ( )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
43.95 ms | 401 KiB | 8 Q