3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <InvokeServiceResponse xmlns="http://www.avanicimcon.com/XMLSchema"> <DXResponse TimeStamp="03/13/2014" Target="Test" Version="1.0"> <Success/> <UserInfo> <UserName> ttdxlu </UserName> </UserInfo> <ServiceDetails> <Providers> <Provider> ActlLookup </Provider> </Providers> <ServiceName> RetrieveHotelLocations </ServiceName> </ServiceDetails> <ResponseData> <Providers xmlns=""> <Provider Name="ActlLookup"> <RetrieveHotelLocationsRS xmlns="http://www.avanicimcon.com/XSD"> <CodeCategories> <CodeCategory ID="LCL" Name="LocationCodeList"> <Code ID="AU32" Value="Top End Northern Territory, Australia - Location" CountryID="AU" Type="Location"/> <Code ID="AU7" Value="Top End, Australia - Location" CountryID="AU" Type="Location"/> </CodeCategory> </CodeCategories> </RetrieveHotelLocationsRS> </Provider> </Providers> </ResponseData> </DXResponse> </InvokeServiceResponse> </s:Body> </s:Envelope>'; $xml = simplexml_load_string( $xml); foreach( $xml->xpath( './/InvokeServiceResponse') as $child) { echo $child->attributes()['xmlns'] . "\n"; }

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.40.0130.00619.10
8.3.30.0070.00719.09
8.3.20.0040.00420.55
8.3.10.0080.00022.50
8.3.00.0030.00522.81
8.2.170.0090.00622.96
8.2.160.0070.01419.42
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0000.00819.73
8.2.110.0070.00419.60
8.2.100.0080.00418.22
8.2.90.0040.00419.62
8.2.80.0040.00717.97
8.2.70.0060.00317.88
8.2.60.0090.00318.30
8.2.50.0060.00318.07
8.2.40.0060.00320.44
8.2.30.0080.00018.44
8.2.20.0000.00718.11
8.2.10.0070.00018.13
8.2.00.0000.00818.22
8.1.270.0030.00722.43
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0030.00619.52
8.1.230.0070.00419.47
8.1.220.0040.00418.02
8.1.210.0040.00418.77
8.1.200.0030.00717.75
8.1.190.0060.00317.78
8.1.180.0030.00519.07
8.1.170.0050.00319.02
8.1.160.0000.00822.54
8.1.150.0070.00019.10
8.1.140.0050.00217.88
8.1.130.0000.00718.28
8.1.120.0040.00417.93
8.1.110.0000.00817.91
8.1.100.0050.00317.72
8.1.90.0040.00417.90
8.1.80.0000.00817.92
8.1.70.0000.00717.81
8.1.60.0030.00518.03
8.1.50.0000.00817.96
8.1.40.0060.00318.00
8.1.30.0040.00418.08
8.1.20.0000.00817.95
8.1.10.0040.00417.94
8.1.00.0030.00617.61
8.0.300.0000.00721.71
8.0.290.0000.00717.54
8.0.280.0040.00418.90
8.0.270.0000.00717.57
8.0.260.0030.00317.19
8.0.250.0040.00417.43
8.0.240.0070.00017.38
8.0.230.0000.00817.25
8.0.220.0080.00017.17
8.0.210.0050.00217.34
8.0.200.0000.00717.23
8.0.190.0000.00817.38
8.0.180.0000.00717.43
8.0.170.0000.00717.14
8.0.160.0060.00317.07
8.0.150.0000.00717.07
8.0.140.0080.00017.36
8.0.130.0060.00013.84
8.0.120.0000.00717.08
8.0.110.0000.00717.26
8.0.100.0070.00017.23
8.0.90.0040.00417.29
8.0.80.0070.00717.25
8.0.70.0040.00417.14
8.0.60.0000.00817.20
8.0.50.0040.00417.18
8.0.30.0130.00917.49
8.0.20.0120.00717.41
8.0.10.0070.00017.40
8.0.00.0110.01017.25
7.4.330.0030.00315.54
7.4.320.0060.00017.06
7.4.300.0030.00316.74
7.4.290.0070.00016.91
7.4.280.0040.00416.82
7.4.270.0030.00317.10
7.4.260.0040.00416.70
7.4.250.0000.00816.87
7.4.240.0020.00516.90
7.4.230.0000.00816.96
7.4.220.0100.01016.91
7.4.210.0110.00516.94
7.4.200.0000.00816.77
7.4.190.0000.00717.07
7.4.160.0060.00916.82
7.4.150.0140.00317.40
7.4.140.0150.00317.86
7.4.130.0120.00616.82
7.4.120.0080.00916.79
7.4.110.0100.01016.69
7.4.100.0120.00616.82
7.4.90.0100.00716.93
7.4.80.0060.01819.39
7.4.70.0090.00916.69
7.4.60.0060.01216.78
7.4.50.0080.00016.74
7.4.40.0100.00722.77
7.4.30.0100.00716.71
7.4.00.0030.01315.04
7.3.330.0030.00313.40
7.3.320.0030.00313.42
7.3.310.0040.00416.70
7.3.300.0000.00816.54
7.3.290.0030.01016.72
7.3.280.0080.01016.64
7.3.270.0100.00617.40
7.3.260.0370.01017.13
7.3.250.0060.01216.82
7.3.240.0130.01016.85
7.3.230.0160.00716.59
7.3.210.0100.00716.82
7.3.200.0130.01019.39
7.3.190.0090.00916.64
7.3.180.0100.00716.84
7.3.170.0090.00916.85
7.3.160.0070.01016.88
7.3.120.0060.00814.89
7.3.110.0090.00915.03
7.3.100.0110.00715.08
7.3.90.0070.01114.83
7.3.80.0110.00315.25
7.3.70.0060.00614.89
7.3.60.0070.00714.93
7.3.50.0040.01414.83
7.3.40.0090.00315.03
7.3.30.0030.01514.97
7.3.20.0120.00316.76
7.3.10.0040.01416.84
7.3.00.0030.01216.77
7.2.330.0140.00417.04
7.2.320.0070.01417.06
7.2.310.0030.01316.95
7.2.300.0030.01216.93
7.2.290.0130.00316.91
7.2.250.0070.01015.21
7.2.240.0070.00715.23
7.2.230.0100.01015.52
7.2.220.0030.01415.36
7.2.210.0040.01215.18
7.2.200.0100.00315.18
7.2.190.0100.00915.00
7.2.180.0060.00915.25
7.2.170.0090.00615.27
7.2.60.0060.00916.91
7.2.50.0140.00717.15
7.1.330.0070.00715.92
7.1.320.0000.00915.94
7.1.310.0130.00315.80
7.1.300.0100.00315.79
7.1.290.0000.01315.85
7.1.280.0090.00315.86
7.1.270.0090.00615.72
7.1.260.0090.00615.90
7.1.200.0070.00715.93
7.1.70.0230.00716.96
7.1.60.0100.01019.82
7.1.50.0080.00816.93
7.1.00.0000.06022.61
7.0.200.0000.00817.11
7.0.140.0070.07022.26
7.0.60.0030.04320.14
7.0.50.0170.05018.11
7.0.40.0070.06020.53
7.0.30.0170.04320.21
7.0.20.0270.08320.21
7.0.10.0170.08720.43
7.0.00.0100.06720.39
5.6.280.0030.07321.27
5.6.210.0100.06320.98
5.6.200.0030.05318.34
5.6.190.0030.05720.67
5.6.180.3170.04720.51
5.6.170.0230.04320.62
5.6.160.0000.04720.63
5.6.150.0170.07018.38
5.6.140.0070.03718.34
5.6.130.0070.04018.39
5.6.120.0100.03721.17
5.6.110.0070.07021.24
5.6.100.0130.07321.27
5.6.90.0200.06321.19
5.6.80.0070.06720.59
5.6.70.0330.06320.63
5.5.350.0200.03720.54
5.5.340.0070.04018.14
5.5.330.0200.07020.65
5.5.320.0170.07720.36
5.5.310.0270.08320.40
5.5.300.0030.04018.17
5.5.290.0030.07018.18
5.5.280.0130.04721.10
5.5.270.0000.04320.96
5.5.260.0200.05320.91
5.5.250.0070.05320.78
5.5.240.0100.06720.52
5.4.450.0770.06019.42
5.4.440.0700.05719.63
5.4.430.0630.05719.65
5.4.420.0730.05019.73
5.4.410.0800.06019.29
5.4.400.1030.05718.94
5.4.390.0530.05318.89
5.4.380.0830.04718.93
5.4.370.0200.04718.86
5.4.360.0170.04718.63
5.4.350.0170.05018.85
5.4.340.0170.05018.83
5.4.320.0040.04412.73
5.4.310.0110.03312.73
5.4.300.0070.03512.73
5.4.290.0080.04412.72
5.4.280.0040.03712.63
5.4.270.0080.03812.62
5.4.260.0170.05019.02
5.4.250.0170.05019.00
5.4.240.0100.05719.00
5.4.230.0100.05719.07
5.4.220.0070.07019.06
5.4.210.0170.04319.02
5.4.200.0100.04719.18
5.4.190.0170.04318.88
5.4.180.0070.07018.99
5.4.170.0170.05319.02
5.4.160.0130.04718.86
5.4.150.0070.05719.04
5.4.140.0100.06016.27
5.4.130.0200.04716.51
5.4.120.0070.05016.32
5.4.110.0070.05316.54
5.4.100.0100.05316.46
5.4.90.0070.05316.64
5.4.80.0030.05316.41
5.4.70.0100.04716.64
5.4.60.0070.07316.64
5.4.50.0070.04716.51
5.4.40.0070.05716.51
5.4.30.0130.04716.53
5.4.20.0130.06716.58
5.4.10.0170.07016.61
5.4.00.0030.06015.73
5.3.290.0060.05212.80
5.3.280.0170.05314.62
5.3.270.0030.08714.45
5.3.260.0100.05714.61
5.3.250.0100.05314.75
5.3.240.0070.07314.60
5.3.230.0030.05314.75
5.3.220.0130.04714.56
5.3.210.0100.06714.62
5.3.200.0130.05714.55
5.3.190.0130.05714.57
5.3.180.0030.05314.59
5.3.170.0100.04714.61
5.3.160.0070.05014.59
5.3.150.0100.04714.53
5.3.140.0100.05014.39
5.3.130.0100.06014.70
5.3.120.0130.04714.54
5.3.110.0100.05314.64
5.3.100.0000.08014.05
5.3.90.0200.05014.06
5.3.80.0000.05714.07
5.3.70.0070.04314.04
5.3.60.0000.05314.01
5.3.50.0070.04713.87
5.3.40.0030.05713.65
5.3.30.0030.05013.79
5.3.20.0070.05713.85
5.3.10.0130.06013.50
5.3.00.0030.05313.34
5.2.170.0030.05711.26
5.2.160.0030.04011.16
5.2.150.0030.04011.10
5.2.140.0030.04011.16
5.2.130.0070.05011.02
5.2.120.0030.04010.99
5.2.110.0000.05311.12
5.2.100.0030.04010.94
5.2.90.0030.05711.10
5.2.80.0030.04010.97
5.2.70.0030.04011.20
5.2.60.0030.04011.07
5.2.50.0200.03010.86
5.2.40.0030.04010.92
5.2.30.0030.05710.97
5.2.20.0000.04310.72
5.2.10.0030.04010.93
5.2.00.0070.05010.89
5.1.60.0030.0479.85
5.1.50.0070.0409.77
5.1.40.0070.0309.89
5.1.30.0070.03310.23
5.1.20.0030.04710.51
5.1.10.0070.03310.13
5.1.00.0070.03310.16
5.0.50.0030.0278.47
5.0.40.0000.0308.64
5.0.30.0030.0408.15
5.0.20.0000.0338.42
5.0.10.0030.0308.09
5.0.00.0000.0478.23
4.4.90.0000.0237.04
4.4.80.0030.0207.04
4.4.70.0030.0307.04
4.4.60.0030.0277.04
4.4.50.0000.0337.04
4.4.40.0030.0307.04
4.4.30.0000.0237.04
4.4.20.0000.0237.04
4.4.10.0030.0207.04
4.4.00.0030.0307.04
4.3.110.0000.0237.04
4.3.100.0030.0207.04
4.3.90.0030.0307.04
4.3.80.0030.0407.04
4.3.70.0030.0277.04
4.3.60.0070.0137.04
4.3.50.0000.0207.04
4.3.40.0070.0307.04
4.3.30.0000.0237.04
4.3.20.0030.0207.04
4.3.10.0070.0237.04
4.3.00.0130.0207.93

preferences:
41.84 ms | 400 KiB | 5 Q