3v4l.org

run code in 300+ PHP versions simultaneously
<?php $responseContent = <<<XML <?xml version = "1.0" encoding = "utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"> <GetListItemsResult> <listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'> <rs:data> <z:row ows_ID="128" /> </rs:data> </listitems> </GetListItemsResult> </GetListItemsResponse> </soap:Body> </soap:Envelope> XML; $xml_element = simplexml_load_string($responseContent); $name_spaces = $xml_element->getNamespaces(true); $rows = $xml_element ->children($name_spaces['soap']) ->Body ->children() ->GetListItemsResponse ->GetListItemsResult ->listitems ->children($name_spaces['rs']) ->children($name_spaces['z']); foreach ($rows as $row) { $ows_ID = $row->attributes()->ows_ID; var_dump($ows_ID); }

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.4.130.0110.00618.83
8.4.120.0110.00624.33
8.4.110.0090.01222.63
8.4.100.0090.01217.95
8.4.90.0130.00819.16
8.4.80.0100.00717.92
8.4.70.0050.00518.02
8.4.60.0150.00617.86
8.4.50.0070.01117.98
8.4.40.0070.00718.93
8.4.30.0130.00617.76
8.4.20.0130.00717.89
8.4.10.0070.00317.79
8.3.250.0100.00819.28
8.3.240.0120.00616.75
8.3.230.0120.00816.75
8.3.220.0100.00917.63
8.3.210.0130.00717.06
8.3.200.0110.01116.68
8.3.190.0090.01016.75
8.3.180.0040.00418.53
8.3.170.0060.01316.73
8.3.160.0090.00918.68
8.3.150.0090.00917.79
8.3.140.0230.00017.13
8.3.130.0030.00618.59
8.3.120.0060.00318.64
8.3.110.0160.00018.84
8.3.100.0050.00516.99
8.3.90.0030.00616.99
8.3.80.0060.00318.49
8.3.70.0090.00618.47
8.3.60.0110.00717.00
8.3.50.0110.00722.22
8.3.40.0070.01118.90
8.3.30.0140.00018.96
8.3.20.0070.00020.41
8.3.10.0080.00023.77
8.3.00.0050.00320.04
8.2.290.0120.00720.84
8.2.280.0040.00618.79
8.2.270.0110.00016.88
8.2.260.0150.00418.94
8.2.250.0120.00417.28
8.2.240.0060.00319.18
8.2.230.0060.00320.94
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0090.00018.77
8.2.190.0030.01416.75
8.2.180.0110.00716.75
8.2.170.0090.00622.96
8.2.160.0070.00719.66
8.2.150.0040.01124.18
8.2.140.0030.00524.66
8.2.130.0080.00021.20
8.2.120.0000.00826.35
8.2.110.0000.00922.43
8.2.100.0120.00018.09
8.2.90.0040.00419.52
8.2.80.0030.00618.90
8.2.70.0040.00417.88
8.2.60.0000.00818.05
8.2.50.0090.00018.07
8.2.40.0040.00418.59
8.2.30.0050.00318.39
8.2.20.0000.00717.95
8.2.10.0040.00418.43
8.2.00.0020.00518.29
8.1.330.0130.00617.25
8.1.320.0130.00716.63
8.1.310.0000.00918.50
8.1.300.0040.00416.63
8.1.290.0060.00318.88
8.1.280.0110.00425.92
8.1.270.0080.00024.09
8.1.260.0050.00328.09
8.1.250.0050.00328.09
8.1.240.0090.00024.14
8.1.230.0000.01219.41
8.1.220.0030.00618.03
8.1.210.0040.00418.77
8.1.200.0030.00717.48
8.1.190.0060.00317.35
8.1.180.0060.00318.10
8.1.170.0000.00918.80
8.1.160.0080.00019.10
8.1.150.0000.00719.13
8.1.140.0000.00819.87
8.1.130.0030.00317.91
8.1.120.0000.00717.73
8.1.110.0040.00417.64
8.1.100.0000.00817.64
8.1.90.0000.00717.61
8.1.80.0030.00517.70
8.1.70.0040.00417.70
8.1.60.0030.00617.69
8.1.50.0000.00817.80
8.1.40.0000.00917.79
8.1.30.0040.00417.99
8.1.20.0040.00417.74
8.1.10.0040.00417.71
8.1.00.0040.00417.61
8.0.300.0060.00318.77
8.0.290.0000.00717.13
8.0.280.0070.00018.79
8.0.270.0000.00717.44
8.0.260.0000.00617.54
8.0.250.0070.00017.28
8.0.240.0030.00317.16
8.0.230.0030.00317.21
8.0.220.0040.00417.22
8.0.210.0030.00317.21
8.0.200.0030.00317.30
8.0.190.0040.00417.34
8.0.180.0040.00417.27
8.0.170.0050.00317.16
8.0.160.0040.00417.29
8.0.150.0040.00417.21
8.0.140.0030.00517.05
8.0.130.0000.00513.66
8.0.120.0070.00017.02
8.0.110.0050.00217.15
8.0.100.0050.00317.04
8.0.90.0000.00717.11
8.0.80.0030.01217.13
8.0.70.0040.00417.24
8.0.60.0000.00917.18
8.0.50.0020.00517.06
8.0.30.0070.00917.30
8.0.20.0080.01417.40
8.0.10.0000.00717.18
8.0.00.0080.01217.11
7.4.330.0050.00017.04
7.4.320.0000.00716.73
7.4.300.0000.00616.66
7.4.290.0070.00016.85
7.4.280.0000.01016.70
7.4.270.0040.00416.76
7.4.260.0000.00816.68
7.4.250.0040.00416.67
7.4.240.0050.00316.85
7.4.230.0040.00416.91
7.4.220.0140.00316.78
7.4.210.0040.01116.85
7.4.200.0030.00316.85
7.4.160.0110.00417.01
7.4.150.0080.00917.40
7.4.140.0120.00817.86
7.4.130.0060.01216.82
7.4.120.0150.00516.63
7.4.110.0090.01516.76
7.4.100.0090.01216.80
7.4.90.0030.01416.75
7.4.80.0030.02019.39
7.4.70.0080.01216.68
7.4.60.0110.00516.64
7.4.50.0000.01616.63
7.4.40.0000.01516.75
7.4.30.0130.01016.90
7.4.00.0060.00915.00
7.3.330.0000.00713.55
7.3.320.0040.00413.45
7.3.310.0000.00816.56
7.3.300.0000.00716.64
7.3.290.0080.01016.62
7.3.280.0110.00416.65
7.3.270.0120.00417.40
7.3.260.0100.00716.61
7.3.240.0100.00716.70
7.3.230.0130.00316.84
7.3.210.0030.01616.75
7.3.200.0080.01516.63
7.3.190.0160.00516.72
7.3.180.0120.00316.91
7.3.170.0070.01016.71
7.3.160.0100.00716.81
7.3.10.0100.00416.52
7.3.00.0100.00416.46
7.2.330.0140.00316.83
7.2.320.0090.00916.78
7.2.310.0080.00916.93
7.2.300.0030.01316.83
7.2.290.0160.00616.62
7.2.130.0100.01116.80
7.2.120.0120.00516.91
7.2.110.0120.00416.96
7.2.100.0070.00916.63
7.2.90.0040.01116.86
7.2.80.0040.01116.91
7.2.70.0110.01316.79
7.2.60.0070.01016.66
7.2.50.0080.01216.98
7.2.40.0090.00616.88
7.2.30.0090.01116.90
7.2.20.0160.00417.09
7.2.10.0100.00917.02
7.2.00.0110.01416.90
7.1.250.0070.00715.69
7.1.70.0040.00417.19
7.1.60.0130.01019.05
7.1.50.0160.00617.15
7.1.00.0100.07022.51
7.0.200.0000.00916.81
7.0.60.0130.07320.12
7.0.50.0130.07717.95
7.0.40.0070.05720.41
7.0.30.0270.05320.05
7.0.20.0300.07720.33
7.0.10.0070.04320.20
7.0.00.0070.05320.23
5.6.280.0030.03721.16
5.6.210.0170.06020.72
5.6.200.0130.08018.27
5.6.190.0030.05320.51
5.6.180.3770.04320.77
5.6.170.0300.05720.51
5.6.160.0070.08720.78
5.6.150.0170.06018.19
5.6.140.0100.04018.32
5.6.130.0100.08318.25
5.6.120.0100.04721.13
5.6.110.0030.09021.23
5.6.100.0070.05321.16
5.6.90.0100.08321.22
5.6.80.0000.04320.57
5.5.350.0230.05720.51
5.5.340.0000.04018.12
5.5.330.0070.08020.57
5.5.320.0300.04720.36
5.5.310.0170.04320.46
5.5.300.0030.04318.02
5.5.290.0070.07718.05
5.5.280.0070.07321.01
5.5.270.0070.04020.92
5.5.260.0130.08020.92
5.5.250.0170.07320.70
5.5.240.0270.06720.40

preferences:
29.65 ms | 403 KiB | 5 Q