3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument('1.0', 'UTF-8'); $teamName = 'RC Drachten'; // Ignore warnings. libxml_use_internal_errors(true); // load the string into the DOM (this is your page's HTML), see below for more info $doc->loadHTMLFile ('http://www.resultservices.nl/rugby/overview.php?Page=SENIOR&LevelID=5&CompID=816'); // since we are working with HTML fragments here, remove <!DOCTYPE $doc->removeChild($doc->firstChild); // remove <html></html> and any junk $table = $doc->getElementsByTagName('table'); //$doc->replaceChild($body->item(0), $doc->firstChild); // echo the HTML (or desired portion thereof) $schedule = $doc->saveXML($table->item(1)); // Seperate each team $teams = explode ('</tr>',$schedule); echo $teams[0]; // Html table echo $teams[2]; // Table header for ($i = 0;$i<count($teams);$i++) { // Check if this is the right team $pos = strpos($teams[$i],$teamName); if ($pos !== false) { echo $teams[$i]; } } ?>

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.0080.00818.68
8.3.50.0090.01022.94
8.3.40.0120.00419.19
8.3.30.0070.00719.42
8.3.20.0040.00420.71
8.3.10.0000.00823.91
8.3.00.0080.00019.76
8.2.180.0110.01118.67
8.2.170.0040.01122.96
8.2.160.0120.00320.49
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0050.00321.33
8.2.110.0000.00920.60
8.2.100.0100.00318.41
8.2.90.0050.00319.30
8.2.80.0060.00317.97
8.2.70.0060.00317.50
8.2.60.0060.00318.16
8.2.50.0040.00418.07
8.2.40.0090.00020.25
8.2.30.0090.00018.49
8.2.20.0000.00917.92
8.2.10.0040.00418.50
8.2.00.0000.00818.14
8.1.280.0120.00625.92
8.1.270.0060.00324.18
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0030.00622.35
8.1.230.0090.00319.23
8.1.220.0050.00317.80
8.1.210.0000.00818.77
8.1.200.0030.00717.48
8.1.190.0040.00417.50
8.1.180.0040.00418.10
8.1.170.0050.00318.71
8.1.160.0030.00522.31
8.1.150.0040.00419.11
8.1.140.0040.00417.63
8.1.130.0080.00018.11
8.1.120.0040.00417.66
8.1.110.0040.00417.66
8.1.100.0000.00717.69
8.1.90.0040.00417.69
8.1.80.0050.00317.71
8.1.70.0030.00317.56
8.1.60.0000.00817.73
8.1.50.0060.00317.76
8.1.40.0040.00417.73
8.1.30.0040.00417.86
8.1.20.0080.00017.78
8.1.10.0040.00417.86
8.1.00.0030.00717.79
8.0.300.0070.00018.77
8.0.290.0050.00217.00
8.0.280.0000.00818.65
8.0.270.0070.00017.42
8.0.260.0000.00817.57
8.0.250.0030.00317.19
8.0.240.0000.00717.24
8.0.230.0050.00217.20
8.0.220.0070.00017.16
8.0.210.0040.00417.13
8.0.200.0000.00717.20
8.0.190.0040.00417.21
8.0.180.0070.00017.25
8.0.170.0040.00417.20
8.0.160.0030.00517.19
8.0.150.0030.00417.07
8.0.140.0070.00017.13
8.0.130.0060.00013.49
8.0.120.0080.00017.20
8.0.110.0070.00017.05
8.0.100.0030.00617.32
8.0.90.0000.00817.25
8.0.80.0120.00917.27
8.0.70.0000.00817.08
8.0.60.0060.00317.05
8.0.50.0030.00517.25
8.0.30.0130.00817.34
8.0.20.0110.00917.54
8.0.10.0080.00017.29
8.0.00.0100.01417.04
7.4.330.0060.00015.42
7.4.320.0030.00316.78
7.4.300.0050.00516.83
7.4.290.0030.00316.72
7.4.280.0000.00816.90
7.4.270.0050.00216.86
7.4.260.0060.00316.69
7.4.250.0040.00416.72
7.4.240.0030.00516.93
7.4.230.0040.00416.84
7.4.220.0070.02017.06
7.4.210.0070.00716.93
7.4.200.0070.00016.95
7.4.160.0090.01216.84
7.4.150.0120.01217.40
7.4.140.0100.00917.86
7.4.130.0150.00817.05
7.4.120.0120.00817.00
7.4.110.0100.01016.65
7.4.100.0140.00416.86
7.4.90.0120.01217.10
7.4.80.0140.00819.39
7.4.70.0090.01517.10
7.4.60.0150.00717.05
7.4.50.0040.00417.13
7.4.40.0090.01216.94
7.4.30.0090.00916.98
7.4.00.0030.01014.96
7.3.330.0000.00613.48
7.3.320.0000.00513.51
7.3.310.0070.00016.70
7.3.300.0040.00416.76
7.3.290.0080.01116.64
7.3.280.0060.00916.66
7.3.270.0110.00817.40
7.3.260.0070.01116.87
7.3.250.0150.00516.90
7.3.240.0220.00016.80
7.3.230.0090.01016.68
7.3.210.0130.00616.72
7.3.200.0030.01419.39
7.3.190.0110.01116.80
7.3.180.0140.00316.64
7.3.170.0120.01216.68
7.3.160.0100.01516.98
7.3.120.0080.00815.15
7.3.110.0130.00315.15
7.3.100.0090.00714.94
7.3.90.0080.00914.97
7.3.80.0100.00515.08
7.3.70.0080.00714.80
7.3.60.0050.00815.09
7.3.50.0140.00314.87
7.3.40.0100.00715.10
7.3.30.0070.00814.95
7.3.20.0080.00716.79
7.3.10.0060.00716.74
7.3.00.0000.01217.00
7.2.330.0050.01416.93
7.2.320.0090.00916.89
7.2.310.0120.00616.69
7.2.300.0150.00317.09
7.2.290.0130.01016.72
7.2.240.0080.00715.39
7.2.230.0030.01015.23
7.2.220.0100.00814.91
7.2.210.0020.01115.30
7.2.200.0040.01315.08
7.2.190.0110.00615.09
7.2.180.0060.00715.14
7.2.170.0080.00815.31
7.2.160.0070.00815.07
7.2.150.0030.01317.10
7.2.140.0070.00817.05
7.2.130.0080.00517.12
7.2.120.0050.00817.14
7.2.110.0090.00916.66
7.2.100.0090.00716.95
7.2.90.0060.00517.01
7.2.80.0080.01017.03
7.2.70.0080.00817.20
7.2.60.0080.00816.81
7.2.50.0090.00717.21
7.2.40.0040.01717.21
7.2.30.0070.01017.00
7.2.20.0080.00917.25
7.2.10.0050.01117.28
7.2.00.0070.00818.06
7.1.330.0060.00716.07
7.1.320.0080.00715.92
7.1.310.0050.01016.04
7.1.300.0050.01216.04
7.1.290.0050.01015.89
7.1.280.0080.00516.00
7.1.270.0070.00915.88
7.1.260.0080.00716.01
7.1.250.0120.00515.97
7.1.200.0060.00315.95
7.1.100.0030.01018.28
7.1.70.0040.00417.51
7.1.60.0140.01119.46
7.1.50.0070.01817.12
7.1.00.0100.07022.73
7.0.200.0070.00716.80
7.0.140.0000.07322.37
7.0.60.0200.07320.29
7.0.50.0000.08718.06
7.0.40.0170.07320.47
7.0.30.0500.05020.52
7.0.20.0300.06320.48
7.0.10.0270.07720.52
7.0.00.0070.04020.49
5.6.280.0030.07721.45
5.6.210.0130.07320.92
5.6.200.0100.08318.57
5.6.190.0070.05021.01
5.6.180.0270.03321.10
5.6.170.0370.05320.86
5.6.160.0100.07720.88
5.6.150.0030.06718.46
5.6.140.0070.04718.58
5.6.130.0070.08718.45
5.6.120.0130.04721.36
5.6.110.0030.04321.35
5.6.100.0030.04021.42
5.6.90.0100.08321.42
5.6.80.0100.08320.71
5.6.70.4500.03720.73
5.5.350.0100.03720.86
5.5.340.0100.06018.26
5.5.330.0100.08320.87
5.5.320.0170.04720.73
5.5.310.0230.08320.73
5.5.300.0030.07718.37
5.5.290.0030.05318.32
5.5.280.0000.05321.12
5.5.270.0070.03721.31
5.5.260.0100.08321.11
5.5.250.0030.05721.20
5.5.240.3670.04020.79
5.4.450.0370.03720.05
5.4.440.0270.04720.05
5.4.430.0330.04319.92
5.4.420.0330.07020.12
5.4.410.0300.06720.00
5.4.400.0300.06019.72
5.4.390.0300.04719.79
5.4.380.0300.05719.65
5.4.370.0270.04019.83
5.4.360.0270.03719.72
5.4.350.0230.04719.68
5.4.340.0300.04719.66
5.4.320.0330.06719.62
5.4.310.0330.04319.82
5.4.300.0330.07019.82
5.4.290.0230.04019.64
5.4.280.0300.06019.73
5.4.270.0230.03719.65
5.4.260.0300.07019.79
5.4.250.0230.04319.70
5.4.240.0300.05019.64
5.4.230.0300.07019.60
5.4.220.0300.07319.66
5.4.210.0230.04319.79
5.4.200.0300.03719.65
5.4.190.0370.06019.64
5.4.180.0270.07719.66
5.4.170.0230.04319.60
5.4.160.0230.06019.69
5.4.150.0330.06719.81
5.4.140.0270.06016.91
5.4.130.0270.03716.92
5.4.120.0270.07017.11
5.4.110.0270.03317.14
5.4.100.0230.04017.14
5.4.90.0200.04016.92
5.4.80.0300.05717.25
5.4.70.0330.06017.21
5.4.60.0230.07317.02
5.4.50.0330.04017.01
5.4.40.0270.03716.90
5.4.30.0300.06017.16
5.4.20.0330.06717.12
5.4.10.0300.06316.92
5.4.00.0200.04016.42
5.3.290.0270.07015.14
5.3.280.0270.04015.00
5.3.270.0230.07014.81
5.3.260.0300.04714.91
5.3.250.0400.04715.09
5.3.240.0300.04315.12
5.3.230.0200.04314.91
5.3.220.0330.05315.09
5.3.210.0300.05014.86
5.3.200.0200.04314.99
5.3.190.0200.04014.84
5.3.180.0330.06314.86
5.3.170.0370.05015.06
5.3.160.0370.05315.02
5.3.150.0270.05314.86
5.3.140.0270.04314.84
5.3.130.0230.08014.86
5.3.120.0370.04014.99
5.3.110.0300.04014.98
5.3.100.0200.04014.30
5.3.90.0230.07714.52
5.3.80.0270.06714.39
5.3.70.0230.06314.31
5.3.60.0200.05014.46
5.3.50.0300.06714.46
5.3.40.0230.03714.41
5.3.30.0270.07014.36
5.3.20.0330.04713.99
5.3.10.0230.05714.06
5.3.00.0370.03714.04
5.2.170.0330.04312.11
5.2.160.0300.05712.11
5.2.150.0300.04312.11
5.2.140.0270.05712.11
5.2.130.0370.02312.11
5.2.120.0230.03712.11
5.2.110.0200.04012.11
5.2.100.0200.03012.11
5.2.90.0200.06012.11
5.2.80.0270.04312.11
5.2.70.0230.06012.11
5.2.60.0300.03712.11
5.2.50.0230.05712.11
5.2.40.0200.05712.11
5.2.30.0230.05712.11
5.2.20.0270.05012.12
5.2.10.0170.03312.12
5.2.00.0200.04312.12
5.1.60.0100.04712.12
5.1.50.0230.04012.12
5.1.40.0170.02312.12
5.1.30.0200.04712.12
5.1.20.0200.05312.12
5.1.10.0200.05012.12
5.1.00.0170.03312.12
5.0.50.0070.04312.12
5.0.40.0130.02012.12
5.0.30.0230.02712.12
5.0.20.0130.02012.12
5.0.10.0130.04312.12
5.0.00.0070.05712.12
4.4.90.0170.03012.11
4.4.80.0030.02312.11
4.4.70.0070.04312.12
4.4.60.0130.03312.12
4.4.50.0070.02712.12
4.4.40.0100.03712.12
4.4.30.0070.02012.12
4.4.20.0130.02712.12
4.4.10.0100.03712.12
4.4.00.0100.03312.12
4.3.110.0100.03712.12
4.3.100.0100.03012.12
4.3.90.0070.03312.12
4.3.80.0170.04312.12
4.3.70.0100.01712.12
4.3.60.0130.03012.12
4.3.50.0130.01312.12
4.3.40.0070.02712.12
4.3.30.0030.02312.12
4.3.20.0030.01712.12
4.3.10.0030.01712.12
4.3.00.0070.03312.12

preferences:
37.96 ms | 401 KiB | 5 Q