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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0060.00916.75
8.3.60.0120.00616.50
8.3.50.0110.00822.95
8.3.40.0070.00718.63
8.3.30.0140.00019.06
8.3.20.0000.00720.54
8.3.10.0030.00523.76
8.3.00.0040.00417.63
8.2.180.0060.01218.54
8.2.170.0040.01122.96
8.2.160.0030.01020.64
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0030.00521.41
8.2.110.0060.00322.35
8.2.100.0080.00417.87
8.2.90.0000.00819.34
8.2.80.0050.00317.97
8.2.70.0000.00917.73
8.2.60.0070.00417.79
8.2.50.0050.00318.07
8.2.40.0000.00918.22
8.2.30.0040.00418.18
8.2.20.0050.00317.84
8.2.10.0080.00018.20
8.2.00.0030.00517.80
8.1.280.0090.00925.92
8.1.270.0040.00424.14
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00924.05
8.1.230.0120.00019.41
8.1.220.0030.00717.91
8.1.210.0050.00318.77
8.1.200.0030.00617.48
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0040.00418.79
8.1.160.0080.00022.19
8.1.150.0040.00419.04
8.1.140.0030.00517.65
8.1.130.0040.00418.10
8.1.120.0070.00017.53
8.1.110.0080.00017.58
8.1.100.0050.00217.50
8.1.90.0000.00717.63
8.1.80.0050.00317.66
8.1.70.0040.00417.50
8.1.60.0030.00617.81
8.1.50.0030.00517.77
8.1.40.0000.00817.55
8.1.30.0040.00417.84
8.1.20.0060.00317.87
8.1.10.0040.00417.64
8.1.00.0070.00017.62
8.0.300.0000.00821.02
8.0.290.0090.00016.88
8.0.280.0070.00018.51
8.0.270.0070.00017.45
8.0.260.0030.00317.40
8.0.250.0070.00017.12
8.0.240.0030.00317.17
8.0.230.0030.00317.08
8.0.220.0030.00317.01
8.0.210.0050.00317.14
8.0.200.0070.00017.07
8.0.190.0040.00417.19
8.0.180.0050.00217.00
8.0.170.0040.00417.12
8.0.160.0000.00817.05
8.0.150.0040.00417.20
8.0.140.0000.00817.04
8.0.130.0050.00213.63
8.0.120.0050.00316.98
8.0.110.0070.00017.07
8.0.100.0040.00417.00
8.0.90.0040.00417.16
8.0.80.0110.00417.13
8.0.70.0030.00616.89
8.0.60.0000.00717.11
8.0.50.0040.00417.00
8.0.30.0100.00917.27
8.0.20.0110.00817.40
8.0.10.0030.00317.10
8.0.00.0100.00717.06
7.4.330.0000.00515.27
7.4.320.0030.00316.73
7.4.300.0060.00016.63
7.4.290.0100.00016.52
7.4.280.0060.00616.63
7.4.270.0000.00716.68
7.4.260.0060.00316.66
7.4.250.0040.00416.54
7.4.240.0050.00216.65
7.4.230.0030.00516.86
7.4.220.0090.00916.75
7.4.210.0060.00916.86
7.4.200.0030.00316.75
7.4.160.0100.00616.75
7.4.150.0110.00617.40
7.4.140.0100.00817.86
7.4.130.0060.01316.69
7.4.120.0100.00616.57
7.4.110.0110.00716.63
7.4.100.0110.00716.80
7.4.90.0130.00916.46
7.4.80.0170.00719.39
7.4.70.0070.01016.68
7.4.60.0170.00016.75
7.4.50.0030.00616.52
7.4.40.0120.00616.55
7.4.30.0080.00816.95
7.4.00.0060.01215.37
7.3.330.0040.00413.34
7.3.320.0050.00013.32
7.3.310.0040.00416.50
7.3.300.0000.00716.29
7.3.290.0030.01216.39
7.3.280.0100.00716.46
7.3.270.0090.00917.40
7.3.260.0130.00616.42
7.3.250.0100.01216.44
7.3.240.0030.01516.52
7.3.230.0110.00716.44
7.3.210.0090.00916.80
7.3.200.0090.01319.39
7.3.190.0070.01616.46
7.3.180.0070.01016.48
7.3.170.0060.01016.81
7.3.160.0170.00016.37
7.2.330.0070.01016.77
7.2.320.0070.01116.87
7.2.310.0060.01616.46
7.2.300.0070.01016.57
7.2.290.0040.01216.75
7.2.00.0140.01418.86
7.1.100.0070.01017.90
7.1.70.0000.00917.16
7.1.60.0110.00519.40
7.1.50.0040.00817.08
7.1.00.0000.07722.52
7.0.200.0040.00416.77
7.0.140.0030.07322.15
7.0.60.0170.06319.92
7.0.50.0100.07717.94
7.0.40.0100.06020.17
7.0.30.0200.05720.17
7.0.20.0230.09020.28
7.0.10.0030.05320.44
7.0.00.0100.08020.40
5.6.280.0100.06321.08
5.6.210.0130.06720.95
5.6.200.0000.06318.33
5.6.190.0030.04720.37
5.6.180.0270.06020.56
5.6.170.0230.03720.71
5.6.160.0130.08320.71
5.6.150.0000.04318.25
5.6.140.0170.07318.26
5.6.130.0030.04318.27
5.6.120.0070.04321.21
5.6.110.0130.07721.21
5.6.100.0070.03721.04
5.6.90.0070.07321.02
5.6.80.0070.03720.52
5.5.350.0030.03020.49
5.5.340.0070.05018.06
5.5.330.0100.04020.33
5.5.320.0100.08020.36
5.5.310.0300.07020.34
5.5.300.0070.04018.17
5.5.290.0000.07018.08
5.5.280.0070.08320.88
5.5.270.0070.04320.96
5.5.260.0270.05720.94
5.5.250.0030.08720.71
5.5.240.0130.03320.50
5.4.450.0230.05019.34
5.4.440.0200.04019.60
5.4.430.0270.04719.36
5.4.420.0530.04019.35
5.4.410.0270.04019.52
5.4.400.0370.03319.35
5.4.390.0200.03719.05
5.4.380.0770.07018.70
5.4.370.0770.04718.79
5.4.360.0970.05318.76
5.4.350.1130.07018.57
5.4.340.1070.06718.63
5.4.320.0030.03812.67
5.4.310.0060.05312.66
5.4.300.0080.04912.67
5.4.290.0060.05212.66
5.4.280.0070.05112.56
5.4.270.0040.05112.56
5.4.260.0090.04912.56
5.4.250.0060.05512.56
5.4.240.0140.05712.56
5.4.230.0060.05612.55
5.4.220.0060.05312.55
5.4.210.0090.04812.55
5.4.200.0100.04912.55
5.4.190.0090.04812.55
5.4.180.0060.05212.55
5.4.170.0070.04412.56
5.4.160.0060.04312.56
5.4.150.0090.04512.55
5.4.140.0120.07012.23
5.4.130.0080.04812.23
5.4.120.0060.05212.18
5.4.110.0090.04912.18
5.4.100.0070.04812.18
5.4.90.0080.06812.18
5.4.80.0210.03912.18
5.4.70.0210.04612.18
5.4.60.0060.05612.18
5.4.50.0140.04912.17
5.4.40.0100.05112.16
5.4.30.0120.05112.16
5.4.20.0110.05212.16
5.4.10.0070.05512.16
5.4.00.0080.05111.65
5.3.290.0060.04012.93
5.3.280.0080.05112.86
5.3.270.0100.05212.88
5.3.260.0120.03812.87
5.3.250.0200.04912.87
5.3.240.0150.05312.86
5.3.230.0120.05112.86
5.3.220.0170.06212.82
5.3.210.0100.07712.82
5.3.200.0120.05612.82
5.3.190.0140.05212.82
5.3.180.0050.05812.82
5.3.170.0130.05212.82
5.3.160.0080.04712.82
5.3.150.0100.04712.82
5.3.140.0060.05012.82
5.3.130.0090.05012.80
5.3.120.0080.05212.80
5.3.110.0090.05112.80
5.3.100.0120.05912.30
5.3.90.0100.05412.28
5.3.80.0110.04512.27
5.3.70.0060.04912.27
5.3.60.0040.05212.25
5.3.50.0090.04712.20
5.3.40.0100.04612.20
5.3.30.0090.04612.17
5.3.20.0100.04411.95
5.3.10.0100.04411.91
5.3.00.0060.05111.89
5.2.170.0110.0369.41
5.2.160.0050.0409.40
5.2.150.0090.0399.41
5.2.140.0060.0459.41
5.2.130.0100.0409.36
5.2.120.0060.0459.36
5.2.110.0050.0439.37
5.2.100.0090.0409.36
5.2.90.0050.0429.36
5.2.80.0080.0389.36
5.2.70.0100.0389.35
5.2.60.0070.0409.31
5.2.50.0060.0409.28
5.2.40.0050.0389.25
5.2.30.0060.0409.23
5.2.20.0060.0389.26
5.2.10.0050.0399.18
5.2.00.0080.0509.04
5.1.60.0140.0518.35
5.1.50.0100.0338.35
5.1.40.0080.0348.33
5.1.30.0060.0398.68
5.1.20.0050.0408.70
5.1.10.0090.0338.42
5.1.00.0050.0428.42
5.0.50.0130.0286.87
5.0.40.0130.0296.74
5.0.30.0110.0406.55
5.0.20.0110.0306.53
5.0.10.0130.0286.50
5.0.00.0240.0706.49
4.4.90.0040.0244.78
4.4.80.0040.0234.75
4.4.70.0030.0244.75
4.4.60.0040.0234.75
4.4.50.0060.0224.77
4.4.40.0020.0404.71
4.4.30.0030.0234.76
4.4.20.0030.0244.85
4.4.10.0020.0244.85
4.4.00.0040.0334.76
4.3.110.0030.0164.67
4.3.100.0050.0144.66
4.3.90.0040.0164.63
4.3.80.0050.0284.60
4.3.70.0020.0224.63
4.3.60.0040.0204.63
4.3.50.0020.0224.63
4.3.40.0020.0334.55
4.3.30.0050.0213.36
4.3.20.0040.0173.33
4.3.10.0050.0173.24
4.3.00.0070.01315.94

preferences:
38.74 ms | 401 KiB | 5 Q