3v4l.org

run code in 300+ PHP versions simultaneously
<table border="1"> <tr> <th>Marca</th> <th>Modelo</th> </tr> <?php libxml_use_internal_errors(true); $html = new DOMDocument(); $url = "http://pt.bca-europe.com/SearchVehicle/SearchVehicleResults/?searchToken=null&currentPage=1&pageSize=200&sortOrder=TimeRemaining&saleId=00000000-0000-0000-0000-000000000000&saleCal=False&levelOfDetail=Detail&_=1385046541960#"; $html->loadHtmlFile($url); $xpath = new DOMXPath($html); $marcas = $xpath->query("//div[@id='VehicleResults']/div[@class='AspNet-GridView']/table/tbody/tr/td[@class='ConcatenatedField4']/span"); foreach($marcas as $marca) { $make = $xpath->query("./span[@class='Value Make']", $marca)->item(0)->textContent; $model = $xpath->query("./span[@class='Value Model']", $marca)->item(0)->textContent; echo "<tr><td>$make</td><td>$model</td></tr>\n"; } ?> </table>

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.0100.00617.25
8.3.50.0140.00517.15
8.3.40.0160.00619.28
8.3.30.0070.01419.34
8.3.20.0080.00019.23
8.3.10.0040.00419.32
8.3.00.0050.00319.75
8.2.180.0000.01919.17
8.2.170.0130.00922.96
8.2.160.0040.01421.56
8.2.150.0000.00824.18
8.2.140.0100.01024.66
8.2.130.0000.00826.16
8.2.120.0070.00721.64
8.2.110.0050.00520.89
8.2.100.0000.01218.59
8.2.90.0000.00919.59
8.2.80.0040.00419.91
8.2.70.0000.00817.88
8.2.60.0080.00018.41
8.2.50.0040.00418.07
8.2.40.0050.00318.53
8.2.30.0030.00618.58
8.2.20.0030.00618.15
8.2.10.0040.00418.23
8.2.00.0030.00818.18
8.1.280.0000.01525.92
8.1.270.0050.00324.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0000.00921.58
8.1.230.0080.00421.52
8.1.220.0030.00618.77
8.1.210.0000.00819.73
8.1.200.0030.00717.85
8.1.190.0040.00418.16
8.1.180.0050.00318.10
8.1.170.0030.00719.41
8.1.160.0050.00319.35
8.1.150.0050.00319.09
8.1.140.0040.00417.93
8.1.130.0040.00418.35
8.1.120.0000.00717.97
8.1.110.0000.00717.75
8.1.100.0000.00817.76
8.1.90.0040.00417.93
8.1.80.0000.00817.84
8.1.70.0030.00317.76
8.1.60.0030.00518.05
8.1.50.0000.00817.94
8.1.40.0000.01017.82
8.1.30.0040.00418.13
8.1.20.0050.00318.09
8.1.10.0060.00318.08
8.1.00.0000.00817.91
8.0.300.0040.00420.36
8.0.290.0000.00717.38
8.0.280.0040.00418.91
8.0.270.0040.00417.69
8.0.260.0030.00317.29
8.0.250.0000.00817.34
8.0.240.0060.00317.48
8.0.230.0030.00317.41
8.0.220.0040.00417.42
8.0.210.0000.00817.34
8.0.200.0000.00717.47
8.0.190.0000.00717.50
8.0.180.0000.00717.46
8.0.170.0060.00317.33
8.0.160.0030.00517.42
8.0.150.0000.00817.32
8.0.140.0050.00317.36
8.0.130.0000.00713.89
8.0.120.0030.00617.38
8.0.110.0030.00617.47
8.0.100.0050.00317.48
8.0.90.0080.00017.54
8.0.80.0000.01617.46
8.0.70.0080.00017.48
8.0.60.0060.00317.38
8.0.50.0040.00417.39
8.0.30.0110.00817.52
8.0.20.0160.00417.71
8.0.10.0040.00417.54
8.0.00.0050.01717.29
7.4.330.0000.00513.46
7.4.320.0000.00716.95
7.4.300.0000.00617.01
7.4.290.0070.00016.98
7.4.280.0000.00717.06
7.4.270.0040.00416.92
7.4.260.0000.00513.87
7.4.250.0000.00916.89
7.4.240.0040.00417.09
7.4.230.0030.00517.21
7.4.220.0030.01717.05
7.4.210.0090.00917.18
7.4.200.0000.00717.20
7.4.190.0050.00317.00
7.4.160.0110.00616.95
7.4.150.0070.01317.10
7.4.140.0130.00917.00
7.4.130.0120.01216.91
7.4.120.0110.00817.10
7.4.110.0140.01017.05
7.4.100.0110.00717.07
7.4.90.0070.01117.09
7.4.80.0040.01419.39
7.4.70.0120.00617.21
7.4.60.0080.00817.09
7.4.50.0080.00816.94
7.4.40.0080.00816.95
7.4.30.0140.00716.91
7.4.00.0090.00715.12
7.3.330.0050.00313.73
7.3.320.0040.00413.50
7.3.310.0040.00416.95
7.3.300.0040.00416.74
7.3.290.0070.01016.80
7.3.280.0100.01316.84
7.3.270.0090.00916.89
7.3.260.0110.00716.81
7.3.250.0100.00916.92
7.3.240.0210.00316.99
7.3.230.0120.00616.84
7.3.210.0130.00617.03
7.3.200.0140.00316.83
7.3.190.0130.01017.00
7.3.180.0170.00316.86
7.3.170.0110.00716.83
7.3.160.0120.00417.02
7.3.120.0090.01015.13
7.3.110.0080.00815.23
7.3.100.0070.00714.95
7.3.90.0130.00714.87
7.3.80.0060.00315.09
7.3.70.0080.00415.27
7.3.60.0150.00415.12
7.3.50.0030.01315.20
7.3.40.0060.01015.15
7.3.30.0000.01115.25
7.3.20.0110.00717.02
7.3.10.0000.01616.94
7.3.00.0050.00816.97
7.2.330.0090.01217.18
7.2.320.0100.01017.28
7.2.310.0100.00717.15
7.2.300.0150.00317.15
7.2.290.0120.00617.20
7.2.250.0060.01415.19
7.2.240.0030.01915.51
7.2.230.0030.01315.54
7.2.220.0170.00315.66
7.2.210.0070.01115.28
7.2.200.0060.00615.42
7.2.190.0100.00315.37
7.2.180.0060.01015.51
7.2.170.0040.01115.21
7.2.130.0130.00017.27
7.2.120.0040.01117.47
7.2.110.0040.00917.26
7.2.100.0060.00617.07
7.2.90.0090.00617.39
7.2.80.0080.00617.05
7.2.70.0070.00317.38
7.2.60.0040.01317.10
7.2.50.0040.01117.36
7.2.40.0000.01517.12
7.2.30.0090.00617.29
7.2.20.0060.01017.06
7.2.10.0040.00717.32
7.2.00.0060.01018.66
7.1.330.0110.00416.30
7.1.320.0070.00716.10
7.1.310.0080.00816.12
7.1.300.0070.01116.09
7.1.290.0000.01616.19
7.1.280.0030.01316.26
7.1.270.0080.00416.09
7.1.260.0130.00016.23
7.1.250.0060.00915.96
7.1.200.0000.01316.04
7.1.100.0040.00918.64
7.1.70.0000.00917.28
7.1.60.0160.01019.40
7.1.50.0060.01217.65
7.1.00.0030.07722.83
7.0.200.0050.00517.36
7.0.140.0030.07722.34
7.0.120.0000.07722.45
7.0.60.0030.04020.46
7.0.50.0000.04718.48
7.0.40.0070.05320.69
7.0.30.0270.04020.68
7.0.20.0300.08320.66
7.0.10.0170.05720.66
7.0.00.0000.09020.61
5.6.280.0000.07321.31
5.6.210.0070.03721.02
5.6.200.0030.04318.70
5.6.190.0070.08321.02
5.6.180.0000.04721.07
5.6.170.0270.05021.00
5.6.160.0130.07020.89
5.6.150.0000.08718.70
5.6.140.0130.07318.54
5.6.130.0070.08718.66
5.6.120.0200.06021.52
5.6.110.0000.06721.48
5.6.100.0100.05021.51
5.6.90.0030.09021.47
5.6.80.0100.07020.98
5.6.70.0230.07320.89
5.5.350.0100.03720.79
5.5.340.0030.08318.32
5.5.330.0130.05720.90
5.5.320.0070.05720.92
5.5.310.0170.04020.84
5.5.300.0070.07718.43
5.5.290.0030.04018.49
5.5.280.0130.07721.28
5.5.270.0130.08321.39
5.5.260.0100.06321.29
5.5.250.0000.09021.11
5.5.240.0070.04320.88
5.4.450.0030.05020.11
5.4.440.0200.07020.18
5.4.430.0030.07719.97
5.4.420.0100.07319.92
5.4.410.0130.07019.89
5.4.400.0130.03719.63
5.4.390.0130.06719.70
5.4.380.0030.04319.73
5.4.370.0100.03319.58
5.4.360.0100.05719.59
5.4.350.0070.08019.70
5.4.340.0270.02719.58
5.4.320.0030.04319.76
5.4.310.0030.04019.79
5.4.300.0070.03719.71
5.4.290.0000.04319.74
5.4.280.0030.05319.66
5.4.270.0130.03019.61
5.4.260.0030.05019.46
5.4.250.0030.08719.69
5.4.240.0030.08319.69
5.4.230.0070.07719.57
5.4.220.0070.04719.70
5.4.210.0170.06319.46
5.4.200.0170.06319.72
5.4.190.0000.04019.75
5.4.180.0030.04019.59
5.4.170.0230.06319.75
5.4.160.0030.05019.57
5.4.150.0070.05019.68
5.4.140.0100.05016.95
5.4.130.0070.03717.08
5.4.120.0070.05717.11
5.4.110.0130.03717.00
5.4.100.0130.06317.05
5.4.90.0070.07317.05
5.4.80.0070.04316.94
5.4.70.0000.04017.11
5.4.60.0100.03017.05
5.4.50.0030.04317.05
5.4.40.0100.03017.10
5.4.30.0030.03317.06
5.4.20.0030.04317.03
5.4.10.0000.03716.99
5.4.00.0100.04716.42
5.3.290.0030.04015.11
5.3.280.0100.07315.02
5.3.270.0130.05314.89
5.3.260.0000.07715.06
5.3.250.0100.07015.07
5.3.240.0130.03015.15
5.3.230.0030.08314.87
5.3.220.0000.06714.88
5.3.210.0130.05715.01
5.3.200.0000.04714.86
5.3.190.0100.07715.08
5.3.180.0130.07315.00
5.3.170.0000.04314.96
5.3.160.0070.03315.07
5.3.150.0070.03314.88
5.3.140.0000.04314.85
5.3.130.0030.03715.01
5.3.120.0070.03314.97
5.3.110.0000.04314.83
5.3.100.0030.03714.33
5.3.90.0100.03014.29
5.3.80.0030.03314.33
5.3.70.0000.03714.33
5.3.60.0070.03714.32
5.3.50.0000.03714.43
5.3.40.0000.04014.38
5.3.30.0000.03714.20
5.3.20.0000.04014.01
5.3.10.0130.02314.11
5.3.00.0030.03314.11
5.2.170.0070.03311.57
5.2.160.0030.02711.42
5.2.150.0000.03011.64
5.2.140.0000.03011.58
5.2.130.0000.03011.43
5.2.120.0000.03011.55
5.2.110.0030.03311.52
5.2.100.0070.02311.54
5.2.90.0000.03011.36
5.2.80.0030.02711.40
5.2.70.0000.03011.60
5.2.60.0000.03011.32
5.2.50.0000.03011.45
5.2.40.0030.02711.31
5.2.30.0070.02311.44
5.2.20.0000.03011.37
5.2.10.0070.02311.14
5.2.00.0070.03011.22
5.1.60.0030.02310.46
5.1.50.0000.02710.46
5.1.40.0070.02010.42
5.1.30.0030.03010.64
5.1.20.0000.02710.75
5.1.10.0070.02310.51
5.1.00.0030.02310.51
5.0.50.0000.0208.63
5.0.40.0000.0208.42
5.0.30.0070.0308.21
5.0.20.0030.0178.18
5.0.10.0070.0408.24
5.0.00.0000.0378.23
4.4.90.0070.0107.01
4.4.80.0030.0137.01
4.4.70.0030.0137.01
4.4.60.0000.0177.01
4.4.50.0030.0137.01
4.4.40.0030.0207.01
4.4.30.0000.0177.01
4.4.20.0030.0137.01
4.4.10.0070.0107.01
4.4.00.0030.0207.01
4.3.110.0000.0177.01
4.3.100.0030.0137.01
4.3.90.0000.0137.01
4.3.80.0000.0407.01
4.3.70.0030.0177.01
4.3.60.0000.0377.01
4.3.50.0100.0137.01
4.3.40.0030.0507.01
4.3.30.0030.0377.01
4.3.20.0100.0337.01
4.3.10.0000.0337.01
4.3.00.0070.0277.01

preferences:
50.76 ms | 401 KiB | 5 Q