3v4l.org

run code in 300+ PHP versions simultaneously
<?php $down = '123'.'45'; //Mbps . Decimal $up = '123'.'45'; //Mbps . Decimal $ping = 1337; $server = '3729'; $accuracy = 8; $hash = md5("$ping-$up-$down-297aae72"); $headers = Array( 'POST /api/api.php HTTP/1.1', 'Host: www.speedtest.net', 'User-Agent: DrWhat Speedtest', 'Content-Type: application/x-www-form-urlencoded', 'Origin: http://c.speedtest.net', 'Referer: http://c.speedtest.net/flash/speedtest.swf', 'Cookie: PLACE YOUR COOKIE HERE', // change this for history tests 'Connection: Close' ); $post = "startmode=recommendedselect&promo=&upload=$up&accuracy=$accuracy&recommendedserverid=$server&serverid=$server&ping=$ping&hash=$hash&download=$down"; //$post = urlencode($post); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://www.speedtest.net/api/api.php'); curl_setopt($ch, CURLOPT_ENCODING, "" ); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1); $data = curl_exec($ch); foreach (explode('&', $data) as $chunk) { $param = explode("=", $chunk); if (urldecode($param[0])== "resultid"){ print 'http://www.speedtest.net/my-result/'.urldecode($param[1]).' Speed test succesful.'; } } ?>

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.01016.63
8.3.50.0280.00322.06
8.3.40.0120.00618.69
8.3.30.0040.01118.84
8.3.20.0040.00820.33
8.3.10.0080.00023.53
8.3.00.0040.00419.85
8.2.180.0070.00718.54
8.2.170.0200.00022.96
8.2.160.0140.00320.34
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00019.34
8.2.120.0040.00426.35
8.2.110.0100.00022.22
8.2.100.0040.00818.03
8.2.90.0040.00419.23
8.2.80.0050.00317.97
8.2.70.0040.00417.75
8.2.60.0030.00517.80
8.2.50.0070.00318.07
8.2.40.0040.00422.18
8.2.30.0000.00820.59
8.2.20.0070.00017.78
8.2.10.0040.00418.25
8.2.00.0040.00418.16
8.1.280.0090.00625.92
8.1.270.0080.00020.33
8.1.260.0080.00028.09
8.1.250.0100.00728.09
8.1.240.0060.00323.92
8.1.230.0160.00019.11
8.1.220.0000.00817.76
8.1.210.0030.00618.77
8.1.200.0070.00317.23
8.1.190.0030.00517.21
8.1.180.0000.00818.10
8.1.170.0030.00518.65
8.1.160.0000.00720.74
8.1.150.0040.00418.78
8.1.140.0040.00419.56
8.1.130.0050.00217.63
8.1.120.0000.00717.32
8.1.110.0040.00417.26
8.1.100.0050.00217.44
8.1.90.0030.00617.28
8.1.80.0000.00817.43
8.1.70.0040.00417.32
8.1.60.0070.00017.44
8.1.50.0080.00017.54
8.1.40.0030.00517.59
8.1.30.0030.00617.67
8.1.20.0040.00417.65
8.1.10.0030.00617.57
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.41
8.0.270.0030.00317.29
8.0.260.0050.00218.42
8.0.250.0070.00017.07
8.0.240.0070.00016.95
8.0.230.0070.00016.99
8.0.220.0000.00716.96
8.0.210.0040.00416.92
8.0.200.0060.00016.92
8.0.190.0080.00016.96
8.0.180.0000.00817.04
8.0.170.0070.00317.00
8.0.160.0030.00717.04
8.0.150.0000.00816.99
8.0.140.0000.00716.84
8.0.130.0000.00513.38
8.0.120.0040.00416.87
8.0.110.0000.00716.84
8.0.100.0050.00216.81
8.0.90.0000.00716.87
8.0.80.0030.01816.97
8.0.70.0000.00716.89
8.0.60.0040.00416.99
8.0.50.0030.00516.82
8.0.30.0120.00517.04
8.0.20.0100.00817.40
8.0.10.0040.00417.16
8.0.00.0060.01016.86
7.4.330.0050.00016.82
7.4.320.0060.00016.48
7.4.300.0060.00016.44
7.4.290.0000.00616.65
7.4.280.0080.00016.63
7.4.270.0070.00016.53
7.4.260.0040.00416.48
7.4.250.0000.00816.56
7.4.240.0040.00316.41
7.4.230.0070.00016.63
7.4.220.0120.00916.57
7.4.210.0030.01016.68
7.4.200.0050.00216.74
7.4.160.0060.00916.59
7.4.150.0100.00717.40
7.4.140.0080.01317.86
7.4.130.0120.00516.68
7.4.120.0130.00816.56
7.4.110.0140.00316.66
7.4.100.0070.01016.57
7.4.90.0070.01116.63
7.4.80.0100.00719.39
7.4.70.0060.01116.63
7.4.60.0060.01016.43
7.4.50.0070.00716.39
7.4.40.0100.01016.73
7.4.30.0160.00616.49
7.4.00.0070.01015.09
7.3.330.0000.00813.24
7.3.320.0000.00513.20
7.3.310.0030.00316.50
7.3.300.0000.00716.25
7.3.290.0110.00516.41
7.3.280.0090.00916.40
7.3.270.0050.01317.40
7.3.260.0030.01416.41
7.3.250.0100.01116.54
7.3.240.0130.00616.62
7.3.230.0090.00916.54
7.3.210.0090.00616.63
7.3.200.0080.00816.42
7.3.190.0120.00416.59
7.3.180.0030.01416.51
7.3.170.0060.01216.33
7.3.160.0110.00716.44
7.3.120.0130.00314.84
7.3.110.0000.01014.84
7.3.100.0130.00314.91
7.3.90.0130.00015.08
7.3.80.0080.00314.60
7.3.70.0000.00914.84
7.3.60.0030.00614.82
7.3.50.0070.00414.72
7.3.40.0060.00314.95
7.3.30.0030.00714.86
7.3.20.0070.00316.59
7.3.10.0080.00616.58
7.3.00.0070.00716.62
7.2.330.0130.01016.31
7.2.320.0090.00916.43
7.2.310.0040.01316.68
7.2.300.0140.00316.70
7.2.290.0160.00316.58
7.2.240.0060.00615.02
7.2.230.0060.00915.21
7.2.220.0070.00715.11
7.2.210.0120.00415.00
7.2.200.0070.01115.06
7.2.190.0080.00414.82
7.2.180.0040.00814.96
7.2.170.0000.01515.06
7.2.160.0030.01314.96
7.2.150.0080.00517.05
7.2.140.0040.00416.82
7.2.130.0070.00316.93
7.2.120.0030.01316.88
7.2.110.0030.01316.63
7.2.100.0040.01117.03
7.2.90.0030.00916.66
7.2.80.0060.00616.63
7.2.70.0000.01516.77
7.2.60.0030.01116.80
7.2.50.0030.01217.08
7.2.40.0090.00616.95
7.2.30.0090.00616.90
7.2.20.0090.00616.96
7.2.10.0080.00816.55
7.2.00.0020.01118.01
7.1.330.0070.00715.80
7.1.320.0090.00315.65
7.1.310.0070.00315.65
7.1.300.0070.00715.75
7.1.290.0040.01115.54
7.1.280.0060.00915.74
7.1.270.0040.01115.89
7.1.260.0040.01115.56
7.1.250.0080.00815.70
7.1.200.0030.00615.56
7.1.100.0080.00317.81
7.1.70.0000.00816.87
7.1.60.0070.01619.52
7.1.50.0080.00417.01
7.1.00.0170.05722.33
7.0.200.0030.00616.67
7.0.60.0100.08320.00
7.0.50.0130.07017.83
7.0.40.0100.08019.96
7.0.30.0170.04020.20
7.0.20.0330.07720.30
7.0.10.0030.05020.18
7.0.00.0170.04320.13
5.6.280.0000.03321.05
5.6.210.0070.06020.61
5.6.200.0070.08318.10
5.6.190.0000.06720.60
5.6.180.0230.06020.67
5.6.170.0400.06720.48
5.6.160.0070.04320.33
5.6.150.0030.04018.22
5.6.140.0100.07718.18
5.6.130.0200.04018.12
5.6.120.0100.08320.97
5.6.110.0030.08721.00
5.6.100.0030.04321.13
5.6.90.0070.08720.97
5.6.80.0130.07320.37
5.5.350.0230.04020.36
5.5.340.0100.03717.91
5.5.330.0170.07720.54
5.5.320.0670.07020.41
5.5.310.0330.03720.24
5.5.300.0070.04317.95
5.5.290.0000.06017.93
5.5.280.0100.08320.78
5.5.270.0170.07320.74
5.5.260.0070.08020.94
5.5.250.0230.06320.70
5.5.240.0170.03320.36

preferences:
45.33 ms | 401 KiB | 5 Q