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( './/Code') as $child) { echo $child->attributes()['Value'] . "\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.60.0150.00618.81
8.3.50.0090.01121.33
8.3.40.0120.00318.88
8.3.30.0060.00919.47
8.3.20.0040.00420.58
8.3.10.0030.00622.42
8.3.00.0080.00022.77
8.2.180.0160.00316.88
8.2.170.0140.00722.96
8.2.160.0070.00719.54
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.86
8.2.110.0040.00422.62
8.2.100.0060.00620.01
8.2.90.0040.00419.55
8.2.80.0030.00518.29
8.2.70.0030.00618.00
8.2.60.0000.00818.41
8.2.50.0050.00318.07
8.2.40.0080.00020.38
8.2.30.0020.00518.42
8.2.20.0000.00817.99
8.2.10.0040.00418.21
8.2.00.0060.00318.22
8.1.280.0060.01525.92
8.1.270.0060.00322.43
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00324.32
8.1.230.0120.00019.36
8.1.220.0080.00018.13
8.1.210.0040.00418.77
8.1.200.0070.00317.60
8.1.190.0040.00417.77
8.1.180.0040.00419.01
8.1.170.0040.00818.47
8.1.160.0000.00722.61
8.1.150.0000.00718.97
8.1.140.0040.00417.77
8.1.130.0000.00718.32
8.1.120.0080.00017.71
8.1.110.0060.00317.80
8.1.100.0040.00417.83
8.1.90.0000.00717.93
8.1.80.0000.00717.91
8.1.70.0070.00017.72
8.1.60.0000.00718.09
8.1.50.0030.00617.84
8.1.40.0040.00417.73
8.1.30.0040.00417.93
8.1.20.0040.00417.98
8.1.10.0000.00817.89
8.1.00.0000.00717.77
8.0.300.0000.00718.77
8.0.290.0000.00817.66
8.0.280.0070.00018.77
8.0.270.0040.00417.59
8.0.260.0000.01017.28
8.0.250.0050.00217.45
8.0.240.0000.00817.42
8.0.230.0030.00317.44
8.0.220.0030.00317.31
8.0.210.0040.00417.36
8.0.200.0060.00017.45
8.0.190.0070.00017.31
8.0.180.0040.00417.20
8.0.170.0040.00417.26
8.0.160.0050.00317.25
8.0.150.0000.00717.08
8.0.140.0000.00717.13
8.0.130.0000.00513.77
8.0.120.0000.00817.34
8.0.110.0000.00717.22
8.0.100.0020.00517.29
8.0.90.0070.00017.27
8.0.80.0070.01017.24
8.0.70.0020.00517.30
8.0.60.0050.00217.20
8.0.50.0040.00417.29
8.0.30.0050.01317.46
8.0.20.0140.00817.51
8.0.10.0050.00317.36
8.0.00.0100.00817.13
7.4.330.0020.00215.59
7.4.320.0060.00016.99
7.4.300.0030.00317.03
7.4.290.0000.00716.99
7.4.280.0040.00416.99
7.4.270.0040.00416.91
7.4.260.0000.00816.89
7.4.250.0040.00416.92
7.4.240.0030.00516.91
7.4.230.0000.00716.84
7.4.220.0070.01916.96
7.4.210.0100.00416.93
7.4.200.0000.00716.73
7.4.190.0080.00017.04
7.4.160.0180.00317.04
7.4.150.0060.01217.40
7.4.140.0070.01117.86
7.4.130.0150.00316.96
7.4.120.0090.01016.90
7.4.110.0210.00616.87
7.4.100.0140.00916.85
7.4.90.0120.01217.00
7.4.80.0120.00619.39
7.4.70.0090.01216.81
7.4.60.0080.00817.01
7.4.50.0040.00416.79
7.4.40.0030.00922.77
7.4.30.0080.00816.86
7.4.00.0030.01215.38
7.3.330.0030.00313.50
7.3.320.0030.00313.23
7.3.310.0040.00416.75
7.3.300.0070.00016.43
7.3.290.0000.01416.54
7.3.280.0120.00816.65
7.3.270.0100.00717.40
7.3.260.0060.01216.94
7.3.250.0110.00716.65
7.3.240.0100.00716.72
7.3.230.0050.01416.70
7.3.210.0060.01016.48
7.3.200.0070.01119.39
7.3.190.0070.01016.70
7.3.180.0090.00616.67
7.3.170.0090.00916.72
7.3.160.0080.00816.71
7.3.120.0070.01015.00
7.2.330.0070.01017.15
7.2.320.0070.01116.74
7.2.310.0060.01116.96
7.2.300.0080.00817.00
7.2.290.0100.00616.99
7.1.70.0030.00716.93
7.1.60.0060.01619.82
7.1.50.0130.01016.85
7.1.00.0100.03322.58
7.0.200.0040.00417.09
7.0.140.0030.08722.38
7.0.100.0030.06020.12
7.0.90.0130.06720.11
7.0.80.0030.08320.28
7.0.70.0130.07020.14
7.0.60.0130.08020.17
7.0.50.0130.08020.57
7.0.40.0070.07720.25
7.0.30.0200.06320.23
7.0.20.0100.04720.23
7.0.10.0100.07720.27
7.0.00.0100.07020.22
5.6.250.0130.04020.93
5.6.240.0130.04320.89
5.6.230.0070.06720.71
5.6.220.0070.05720.97
5.6.210.0100.07720.77
5.6.200.0070.08021.31
5.6.190.0000.05721.20
5.6.180.0070.08321.27
5.6.170.0030.09021.36
5.6.160.0100.08021.22
5.6.150.0070.08321.26
5.6.140.0230.06721.33
5.6.130.0100.08721.16
5.6.120.0200.07321.35
5.6.110.0130.08021.31
5.6.100.0070.05021.25
5.6.90.0030.08321.29
5.6.80.0130.08320.63
5.6.70.0100.07020.64
5.6.60.0100.04020.67
5.6.50.0000.08320.58
5.6.40.0100.07720.57
5.6.30.0130.07320.55
5.6.20.0130.03320.68
5.6.10.0000.04320.48
5.6.00.0100.07320.69
5.5.380.0100.04720.70
5.5.370.0000.09020.66
5.5.360.0170.09020.56
5.5.350.0070.05320.55
5.5.340.0030.05320.95
5.5.330.0030.05321.12
5.5.320.0100.08021.04
5.5.310.0100.08021.05
5.5.300.0100.08320.91
5.5.290.0100.06720.99
5.5.280.0100.08321.01
5.5.270.0100.08021.00
5.5.260.0070.08321.08
5.5.250.0100.04720.76
5.5.240.0070.08020.35
5.5.230.0100.06720.33
5.5.220.0130.07720.43
5.5.210.0030.04720.33
5.5.200.0070.04320.25
5.5.190.0000.07320.44
5.5.180.0000.04320.38
5.5.160.0030.08320.47
5.5.150.0170.02720.46
5.5.140.0100.05720.27
5.5.130.0070.07720.38
5.5.120.0070.08020.30
5.5.110.0130.07020.38
5.5.100.0100.07020.27
5.5.90.0030.03720.34
5.5.80.0070.07320.33
5.5.70.0070.08020.19
5.5.60.0030.06020.13
5.5.50.0100.05020.33
5.5.40.0100.08020.28
5.5.30.0170.07020.33
5.5.20.0030.08320.16
5.5.10.0170.03020.28
5.5.00.0070.08020.32
5.4.450.0170.07719.38
5.4.440.0100.08019.57
5.4.430.0070.08319.58
5.4.420.0070.07719.56
5.4.410.0070.03719.45
5.4.400.0000.05019.25
5.4.390.0170.06019.27
5.4.380.0030.04719.06
5.4.370.0030.08719.20
5.4.360.0070.07719.29
5.4.350.0070.07719.24
5.4.340.0130.06719.40
5.4.320.0030.04719.25
5.4.310.0130.07019.00
5.4.300.0100.06719.25
5.4.290.0100.06719.29
5.4.280.0070.07719.29
5.4.270.0030.04319.39
5.4.260.0030.08019.02
5.4.250.0130.07019.29
5.4.240.0070.07719.18
5.4.230.0070.04019.29
5.4.220.0000.07719.23
5.4.210.0130.07019.27
5.4.200.0130.06719.29
5.4.190.0030.08019.17
5.4.180.0000.06319.28
5.4.170.0000.06719.03
5.4.160.0030.08019.25
5.4.150.0030.07719.26
5.4.140.0100.07316.53
5.4.130.0030.04316.53
5.4.120.0030.07716.50
5.4.110.0170.06016.52
5.4.100.0030.04716.56
5.4.90.0100.07316.36
5.4.80.0030.08016.38
5.4.70.0170.03316.38
5.4.60.0070.07316.64
5.4.50.0070.08016.52
5.4.40.0030.06316.49
5.4.30.0030.04316.50
5.4.20.0000.04716.63
5.4.10.0070.06016.43
5.4.00.0070.07315.82
5.3.290.0100.05714.63
5.3.280.0070.07714.46
5.3.270.0100.06714.61
5.3.260.0030.08014.59
5.3.250.0070.06014.61
5.3.240.0030.06314.42
5.3.230.0030.08014.59
5.3.220.0070.06014.53
5.3.210.0100.05014.55
5.3.200.0070.07714.54
5.3.190.0100.07314.55
5.3.180.0130.07014.42
5.3.170.0130.06714.57
5.3.160.0100.07014.40
5.3.150.0000.07314.43
5.3.140.0030.07314.38
5.3.130.0030.08014.41
5.3.120.0130.06714.51
5.3.110.0170.07314.51
5.3.100.0100.07014.02
5.3.90.0030.07013.96
5.3.80.0000.08713.93
5.3.70.0030.07714.02
5.3.60.0130.06313.76
5.3.50.0100.06013.95
5.3.40.0030.07313.86
5.3.30.0130.06313.87
5.3.20.0070.05713.70
5.3.10.0100.03013.52
5.3.00.0070.03313.63
5.2.170.0030.06312.31
5.2.160.0030.06312.31
5.2.150.0030.06712.31
5.2.140.0100.05712.31
5.2.130.0030.03312.31
5.2.120.0000.04712.31
5.2.110.0030.03312.31
5.2.100.0030.03312.31
5.2.90.0000.03712.31
5.2.80.0070.03312.31
5.2.70.0000.03312.31
5.2.60.0030.02712.31
5.2.50.0070.02312.31
5.2.40.0030.02312.31
5.2.30.0000.03312.31
5.2.20.0000.03312.31
5.2.10.0070.02312.31
5.2.00.0030.03312.31
5.1.60.0000.02712.31
5.1.50.0000.02312.31
5.1.40.0130.03712.31
5.1.30.0030.02712.31
5.1.20.0070.03712.31
5.1.10.0070.02312.31
5.1.00.0030.02712.31
5.0.50.0000.02312.31
5.0.40.0000.03312.31
5.0.30.0000.03012.31
5.0.20.0000.03012.31
5.0.10.0000.02012.31
5.0.00.0000.03712.31
4.4.90.0000.01712.31
4.4.80.0000.02012.31
4.4.70.0030.01312.31
4.4.60.0000.02012.31
4.4.50.0000.01312.31
4.4.40.0000.02312.31
4.4.30.0000.02312.31
4.4.20.0030.01712.31
4.4.10.0030.02012.31
4.4.00.0030.02312.31
4.3.110.0030.03012.31
4.3.100.0000.02012.31
4.3.90.0030.01312.31
4.3.80.0000.02312.31
4.3.70.0030.01712.31
4.3.60.0000.01712.31
4.3.50.0030.01312.31
4.3.40.0000.02712.31
4.3.30.0070.01012.31
4.3.20.0070.01012.31
4.3.10.0000.01312.31
4.3.00.0030.01312.31

preferences:
42.51 ms | 401 KiB | 5 Q