3v4l.org

run code in 300+ PHP versions simultaneously
<?php $down = '203'.'98'; //Mbps . Decimal $up = '5'.'97'; //Mbps . Decimal $ping = 8; $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: stnetsid=nip873000b9ngm328p6kg8ir12; _g_m=; zdbb=wLZunypbRUOJ0zEsztUTNA; h_zdbb=c0b66e9f2a5b454389d3312cced51334; _ga=GA1.2.707126175.1452494624; _dc_gtm_UA-389482-3=1; _gat_UA-389482-3=1', // 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.0070.01016.75
8.3.50.0110.00416.08
8.3.40.0070.00718.64
8.3.30.0040.01118.67
8.3.20.0000.00720.33
8.3.10.0060.00323.39
8.3.00.0080.00021.90
8.2.180.0040.01118.29
8.2.170.0140.00722.96
8.2.160.0090.00620.44
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00821.12
8.2.120.0000.00826.35
8.2.110.0080.00319.15
8.2.100.0030.00918.04
8.2.90.0050.00519.18
8.2.80.0000.00917.97
8.2.70.0030.00617.59
8.2.60.0020.00517.91
8.2.50.0040.00418.09
8.2.40.0040.00422.23
8.2.30.0000.00719.50
8.2.20.0040.00417.72
8.2.10.0040.00418.24
8.2.00.0080.00018.07
8.1.280.0030.01025.92
8.1.270.0120.00622.19
8.1.260.0000.00828.09
8.1.250.0070.00028.09
8.1.240.0090.00420.62
8.1.230.0070.00417.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0050.00517.23
8.1.190.0050.00317.22
8.1.180.0050.00318.10
8.1.170.0000.00918.50
8.1.160.0040.00420.76
8.1.150.0020.00519.14
8.1.140.0040.00419.57
8.1.130.0030.00317.63
8.1.120.0000.00717.43
8.1.110.0000.00717.47
8.1.100.0000.00817.33
8.1.90.0030.00517.46
8.1.80.0000.00717.48
8.1.70.0070.00017.45
8.1.60.0030.00517.61
8.1.50.0060.00317.49
8.1.40.0030.00617.63
8.1.30.0090.00017.68
8.1.20.0000.00817.69
8.1.10.0000.00817.61
8.1.00.0000.00817.57
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0030.00318.44
8.0.270.0030.00317.30
8.0.260.0000.00717.36
8.0.250.0030.00317.07
8.0.240.0000.00716.99
8.0.230.0000.00717.02
8.0.220.0000.00716.98
8.0.210.0000.00716.94
8.0.200.0030.00317.07
8.0.190.0030.00517.00
8.0.180.0070.00016.95
8.0.170.0040.00416.99
8.0.160.0070.00017.02
8.0.150.0070.00016.93
8.0.140.0060.00316.94
8.0.130.0050.00013.43
8.0.120.0000.00816.99
8.0.110.0100.00016.88
8.0.100.0040.00417.05
8.0.90.0000.00716.98
8.0.80.0060.00916.96
8.0.70.0040.00416.84
8.0.60.0050.00217.08
8.0.50.0000.00816.82
8.0.30.0130.01117.14
8.0.20.0110.01217.40
8.0.10.0070.00017.07
8.0.00.0090.01116.73
7.4.330.0050.00016.67
7.4.320.0000.00616.52
7.4.300.0050.00316.70
7.4.290.0060.00316.64
7.4.280.0040.00416.45
7.4.270.0000.00816.55
7.4.260.0060.00316.57
7.4.250.0000.00716.57
7.4.240.0040.00416.51
7.4.230.0040.00416.75
7.4.220.0110.00716.66
7.4.210.0050.00916.67
7.4.200.0050.00216.45
7.4.160.0030.01316.46
7.4.150.0110.01117.40
7.4.140.0080.01217.86
7.4.130.0080.01116.63
7.4.120.0100.00916.64
7.4.110.0040.01516.39
7.4.100.0120.00616.55
7.4.90.0090.00916.69
7.4.80.0070.01419.39
7.4.70.0070.01016.67
7.4.60.0100.00716.63
7.4.50.0060.00916.47
7.4.40.0090.00616.66
7.4.30.0090.01016.38
7.4.00.0070.01114.95
7.3.330.0060.00013.25
7.3.320.0060.00013.29
7.3.310.0000.00716.36
7.3.300.0060.00316.41
7.3.290.0000.00716.43
7.3.280.0080.01116.42
7.3.270.0000.01717.40
7.3.260.0050.01116.44
7.3.250.0120.00516.43
7.3.240.0110.00616.50
7.3.230.0090.00916.39
7.3.210.0090.00916.57
7.3.200.0140.00319.39
7.3.190.0130.01016.44
7.3.180.0100.01016.48
7.3.170.0090.00616.46
7.3.160.0030.01216.45
7.3.120.0090.00914.86
7.3.110.0030.01515.04
7.3.100.0110.00614.83
7.3.90.0030.00715.01
7.3.80.0090.00614.83
7.3.70.0040.00814.71
7.3.60.0030.01314.81
7.3.50.0100.00314.97
7.3.40.0090.00914.82
7.3.30.0100.00314.70
7.3.20.0040.00816.63
7.3.10.0090.00616.78
7.3.00.0040.01116.43
7.2.330.0000.01716.78
7.2.320.0070.01116.63
7.2.310.0120.00416.73
7.2.300.0090.01416.53
7.2.290.0100.00616.71
7.2.250.0100.00714.83
7.2.240.0030.01714.98
7.2.230.0060.01315.07
7.2.220.0030.00615.02
7.2.210.0030.01014.87
7.2.200.0040.00715.20
7.2.190.0040.00715.18
7.2.180.0030.00915.00
7.2.170.0090.00615.12
7.2.60.0030.01316.92
7.2.00.0060.00619.16
7.1.330.0100.00715.91
7.1.320.0000.01115.87
7.1.310.0000.01215.72
7.1.300.0070.00715.76
7.1.290.0110.00415.79
7.1.280.0060.00615.69
7.1.270.0060.00915.80
7.1.260.0080.00815.86
7.1.200.0000.01515.46
7.1.100.0030.01417.73
7.1.70.0040.00717.29
7.1.60.0070.01719.40
7.1.50.0240.01034.66
7.1.00.0030.07722.27
7.0.200.0060.00614.95
7.0.60.0230.07021.82
7.0.50.0070.04717.68
7.0.40.0130.08320.27
7.0.30.0270.06720.04
7.0.20.0170.04020.00
7.0.10.0170.06320.32
7.0.00.0100.08020.16
5.6.210.0030.08720.63
5.6.200.0070.04318.22
5.6.190.0130.08320.61
5.6.180.0270.07720.64
5.6.170.0130.05020.38
5.6.160.0000.04720.48
5.6.150.0070.06718.11
5.6.140.0100.07018.21
5.6.130.0070.05718.21
5.6.120.0100.07321.01
5.6.110.0130.07721.04
5.6.100.0100.05720.96
5.6.90.0100.03721.04
5.6.80.0100.03720.39
5.5.350.0030.08320.41
5.5.340.0070.04717.89
5.5.330.0030.05720.13
5.5.320.0330.07720.27
5.5.310.0200.05020.50
5.5.300.0070.07317.88
5.5.290.0100.07717.98
5.5.280.0170.05720.75
5.5.270.0100.04020.96
5.5.260.0100.05020.77
5.5.250.0070.07320.62
5.5.240.0070.06720.33

preferences:
56.1 ms | 400 KiB | 5 Q