3v4l.org

run code in 300+ PHP versions simultaneously
<html> <title>Fearsome Angels</title> <body> <font color="#33CC33 "> <center> <div style="text-align: left;"> <?php $ch = curl_init("http://www.tibia.com/community/?subtopic=guilds&page=view&GuildName=Fearsome+Angels"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); //echo '<pre>'.htmlspecialchars($output).'</pre><hr/>'; preg_match_all('/name=[^"]+">([^><]+)<\/A>/', $output, $matched); $fp = fopen("http://www.tibia.com/community/?subtopic=worlds&world=Refugia","r"); while (feof($fp) != 1) $text= $text.stripslashes(fgets($fp,10000)); str_replace("+", " ", $text); ?> <div id="code"> <h3> <?php $text= $text.stripslashes(fgets($fp,10000)); foreach ($matched[1] as $value){ if (strpos($text, $value) > 1) { $online .= $value. " <b><font color='green'></font></b> <br>"; } } echo $online; ?> </h3> </div> <? fclose($fp); ?> </div> </center> </font> </body> </html>

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.0110.01518.55
8.3.50.0110.00821.98
8.3.40.0100.01018.68
8.3.30.0170.00319.07
8.3.20.0050.00320.21
8.3.10.0050.00320.46
8.3.00.0040.00419.79
8.2.180.0090.00616.88
8.2.170.0120.00922.96
8.2.160.0030.01020.47
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0040.00422.22
8.2.110.0040.00722.24
8.2.100.0070.00417.77
8.2.90.0040.00418.03
8.2.80.0030.00619.31
8.2.70.0030.00517.93
8.2.60.0000.00818.09
8.2.50.0050.00318.10
8.2.40.0040.00419.34
8.2.30.0070.00419.21
8.2.20.0040.00417.69
8.2.10.0000.00818.03
8.2.00.0090.00017.63
8.1.280.0060.01325.92
8.1.270.0030.00923.99
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00523.91
8.1.230.0120.00020.98
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0080.00017.10
8.1.180.0050.00318.10
8.1.170.0060.00318.64
8.1.160.0000.00722.04
8.1.150.0070.00018.77
8.1.140.0070.00017.28
8.1.130.0000.00717.71
8.1.120.0000.00717.35
8.1.110.0040.00417.27
8.1.100.0050.00217.37
8.1.90.0040.00417.38
8.1.80.0000.00717.33
8.1.70.0000.00717.35
8.1.60.0000.00917.52
8.1.50.0000.00917.39
8.1.40.0000.00817.36
8.1.30.0000.00817.43
8.1.20.0050.00317.65
8.1.10.0000.00717.39
8.1.00.0000.00817.35
8.0.300.0040.00419.84
8.0.290.0080.00016.75
8.0.280.0000.00718.45
8.0.270.0030.00317.18
8.0.260.0060.00017.26
8.0.250.0030.00516.96
8.0.240.0040.00417.01
8.0.230.0030.00316.97
8.0.220.0000.00716.93
8.0.210.0030.00316.88
8.0.200.0050.00317.00
8.0.190.0030.00616.98
8.0.180.0000.00716.97
8.0.170.0060.00316.83
8.0.160.0040.00416.86
8.0.150.0000.00716.71
8.0.140.0050.00316.91
8.0.130.0050.00013.38
8.0.120.0000.00816.89
8.0.110.0040.00416.83
8.0.100.0020.00516.94
8.0.90.0040.00416.98
8.0.80.0160.00616.81
8.0.70.0000.00716.86
8.0.60.0000.00716.73
8.0.50.0000.00716.91
8.0.30.0100.01017.16
8.0.20.0120.00717.40
8.0.10.0040.00416.91
8.0.00.0120.01016.79
7.4.330.0060.00015.00
7.4.320.0000.00716.46
7.4.300.0030.00316.59
7.4.290.0040.00416.58
7.4.280.0040.00416.59
7.4.270.0000.00716.50
7.4.260.0040.00416.45
7.4.250.0000.00716.54
7.4.240.0080.00016.54
7.4.230.0030.00316.59
7.4.220.0100.00716.61
7.4.210.0030.01016.50
7.4.200.0090.00016.59
7.4.160.0120.00416.55
7.4.150.0140.01217.40
7.4.140.0130.00317.86
7.4.130.0090.01116.59
7.4.120.0080.00816.43
7.4.110.0070.01016.45
7.4.100.0150.00416.39
7.4.90.0140.00316.58
7.4.80.0130.00716.45
7.4.70.0030.01216.53
7.4.60.0100.00716.39
7.4.50.0080.00016.56
7.4.40.0120.00916.35
7.4.30.0060.01216.44
7.4.00.0060.00615.04
7.3.330.0000.00513.03
7.3.320.0000.00513.14
7.3.310.0000.00716.30
7.3.300.0040.00416.13
7.3.290.0030.01016.32
7.3.280.0040.01316.33
7.3.270.0090.01617.40
7.3.260.0030.01416.33
7.3.250.0110.00616.34
7.3.240.0120.00816.41
7.3.230.0110.00616.55
7.3.210.0070.01116.54
7.3.200.0090.00919.39
7.3.190.0100.00716.39
7.3.180.0120.00416.54
7.3.170.0070.01016.58
7.3.160.0090.00616.41
7.2.330.0070.01616.72
7.2.320.0100.01016.57
7.2.310.0030.01916.71
7.2.300.0030.01516.56
7.2.290.0040.01316.60
7.2.60.0030.01217.00
7.2.00.0030.00719.10
7.1.200.0070.00315.63
7.1.100.0040.01217.96
7.1.70.0100.00316.89
7.1.60.0110.01119.32
7.1.50.0030.01916.72
7.1.00.0100.06722.54
7.0.200.0000.01016.67
7.0.140.0030.07022.14
7.0.60.0070.05720.06
7.0.50.0070.07717.84
7.0.40.0230.07019.96
7.0.30.0330.07320.13
7.0.20.0170.04720.16
7.0.10.0070.09019.99
7.0.00.0100.08320.19
5.6.210.0030.09020.62
5.6.200.0030.07018.11
5.6.190.0100.06020.60
5.6.180.0330.03720.41
5.6.170.0200.08320.51
5.6.160.0130.07720.52
5.6.150.0130.07018.07
5.6.140.0100.05318.15
5.6.130.0070.06318.17
5.6.120.0070.04720.74
5.6.110.0100.07720.95
5.6.100.0070.07321.04
5.6.90.0030.06320.97
5.6.80.0100.07320.40
5.5.350.0170.07320.43
5.5.340.0130.06318.02
5.5.330.0000.06320.06
5.5.320.0330.05020.31
5.5.310.0170.06720.43
5.5.300.0070.08318.02
5.5.290.0070.07717.90
5.5.280.0030.08720.66
5.5.270.0000.04320.84
5.5.260.0100.08020.87
5.5.250.0070.08720.79
5.5.240.0170.07320.20
5.4.450.0230.06019.45
5.4.440.0900.05719.41
5.4.430.1100.04319.24
5.4.420.0800.06019.38
5.4.410.0730.06319.36
5.4.400.1070.06019.00
5.4.390.0970.05719.28
5.4.380.0430.05718.57
5.4.370.0400.04718.54
5.4.360.0470.04018.69
5.4.350.0330.06018.48
5.4.340.0100.05718.72
5.4.320.0050.03912.48
5.4.310.0070.03712.46
5.4.300.0060.03512.47
5.4.290.0050.03812.46
5.4.280.0010.04012.37
5.4.270.0050.03712.36
5.4.260.0090.03412.36
5.4.250.0060.03812.36
5.4.240.0070.03712.37
5.4.230.0070.04412.36
5.4.220.0050.03912.36
5.4.210.0030.03912.36
5.4.200.0040.04012.36
5.4.190.0060.03612.36
5.4.180.0090.03812.35
5.4.170.0070.04212.36
5.4.160.0100.03312.36
5.4.150.0090.03212.36
5.4.140.0070.03612.04
5.4.130.0060.03512.03
5.4.120.0070.03411.98
5.4.110.0020.03911.98
5.4.100.0060.03511.98
5.4.90.0080.03511.98
5.4.80.0030.03911.98
5.4.70.0040.03611.98
5.4.60.0070.03311.98
5.4.50.0050.03711.98
5.4.40.0060.03511.97
5.4.30.0050.03611.96
5.4.20.0040.03811.97
5.4.10.0070.03311.96
5.4.00.0050.03611.46
5.3.290.0050.04112.80
5.3.280.0080.03712.71
5.3.270.0070.03812.72
5.3.260.0070.04012.72
5.3.250.0080.03612.72
5.3.240.0050.03812.72
5.3.230.0090.03612.71
5.3.220.0060.03712.68
5.3.210.0120.03312.68
5.3.200.0050.03912.68
5.3.190.0060.04212.68
5.3.180.0050.03812.67
5.3.170.0040.04012.67
5.3.160.0070.03612.68
5.3.150.0050.03912.67
5.3.140.0030.04012.66
5.3.130.0030.04912.66
5.3.120.0050.04412.66
5.3.110.0050.04012.66
5.3.100.0080.03412.12
5.3.90.0060.03512.08
5.3.80.0080.03512.08
5.3.70.0070.03512.08
5.3.60.0060.03612.06
5.3.50.0020.04212.00
5.3.40.0070.03612.00
5.3.30.0060.04711.96
5.3.20.0060.03611.74
5.3.10.0050.03511.71
5.3.00.0100.03311.70
5.2.170.0050.0309.20
5.2.160.0040.0309.20
5.2.150.0050.0319.20
5.2.140.0050.0309.19
5.2.130.0100.0239.15
5.2.120.0040.0299.16
5.2.110.0050.0299.16
5.2.100.0050.0289.16
5.2.90.0030.0319.16
5.2.80.0040.0349.16
5.2.70.0030.0329.15
5.2.60.0070.0279.11
5.2.50.0040.0319.07
5.2.40.0030.0319.05
5.2.30.0060.0289.03
5.2.20.0070.0269.02
5.2.10.0050.0278.94
5.2.00.0030.0308.80
5.1.60.0040.0268.08
5.1.50.0050.0248.08
5.1.40.0050.0238.06
5.1.30.0030.0288.41
5.1.20.0020.0288.43
5.1.10.0050.0258.15
5.1.00.0080.0248.15
5.0.50.0040.0206.64
5.0.40.0030.0196.50
5.0.30.0060.0336.31
5.0.20.0060.0186.28
5.0.10.0030.0206.25
5.0.00.0040.0316.25
4.4.90.0020.0164.78
4.4.80.0020.0164.75
4.4.70.0020.0174.75
4.4.60.0020.0204.76
4.4.50.0010.0174.77
4.4.40.0030.0254.71
4.4.30.0040.0144.76
4.4.20.0030.0164.84
4.4.10.0010.0184.84
4.4.00.0020.0264.76
4.3.110.0040.0144.67
4.3.100.0020.0154.66
4.3.90.0020.0164.63
4.3.80.0050.0224.58
4.3.70.0030.0214.63
4.3.60.0020.0164.62
4.3.50.0050.0204.63
4.3.40.0010.0264.54
4.3.30.0020.0163.30
4.3.20.0010.0173.27
4.3.10.0010.0163.23
4.3.00.0030.0276.73

preferences:
40.24 ms | 401 KiB | 5 Q