3v4l.org

run code in 300+ PHP versions simultaneously
<?php //set POST variables $url = 'http://sp2.looki.co.uk/index.php'; $fields = array( 'login'=>urlencode("jamesfleming91@gmail.com"), 'passwd'=>urlencode("password") ); //url-ify the data for the POST foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; } rtrim($fields_string,'&'); //open connection $ch = curl_init(); //set the url, number of POST vars, POST data curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch,CURLOPT_POST, count($fields)); curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); //execute post $result = curl_exec($ch); //close connection curl_close($ch);

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.0140.00716.88
8.3.50.0120.00621.21
8.3.40.0120.00318.84
8.3.30.0110.00418.84
8.3.20.0050.00320.21
8.3.10.0050.00323.64
8.3.00.0070.00023.53
8.2.180.0140.00716.63
8.2.170.0090.00622.96
8.2.160.0110.00320.29
8.2.150.0030.00524.18
8.2.140.0040.01124.66
8.2.130.0040.00419.95
8.2.120.0080.00026.35
8.2.110.0060.00320.97
8.2.100.0040.00717.84
8.2.90.0000.00817.80
8.2.80.0000.00718.03
8.2.70.0040.00417.77
8.2.60.0040.00418.03
8.2.50.0060.00318.10
8.2.40.0000.00720.65
8.2.30.0030.00320.60
8.2.20.0000.00917.73
8.2.10.0040.00418.13
8.2.00.0040.00418.19
8.1.280.0270.00025.92
8.1.270.0060.01223.79
8.1.260.0080.00028.09
8.1.250.0080.00028.09
8.1.240.0110.00420.80
8.1.230.0060.00620.99
8.1.220.0090.00017.79
8.1.210.0000.00818.90
8.1.200.0040.00417.36
8.1.190.0080.00017.12
8.1.180.0000.00918.10
8.1.170.0080.00018.50
8.1.160.0040.00422.06
8.1.150.0040.00418.89
8.1.140.0080.00019.58
8.1.130.0030.00317.71
8.1.120.0040.00417.48
8.1.110.0030.00517.50
8.1.100.0000.00817.37
8.1.90.0070.00017.48
8.1.80.0000.00817.50
8.1.70.0030.00317.35
8.1.60.0040.00417.48
8.1.50.0000.00817.38
8.1.40.0000.00817.56
8.1.30.0050.00317.65
8.1.20.0040.00417.56
8.1.10.0060.00317.55
8.1.00.0080.00017.37
8.0.300.0040.00420.11
8.0.290.0050.00316.88
8.0.280.0000.00818.36
8.0.270.0070.00017.26
8.0.260.0040.00417.27
8.0.250.0030.00316.93
8.0.240.0030.00316.99
8.0.230.0000.00716.92
8.0.220.0070.00016.94
8.0.210.0040.00416.82
8.0.200.0030.00316.89
8.0.190.0040.00416.93
8.0.180.0000.00716.99
8.0.170.0000.01016.94
8.0.160.0040.00417.00
8.0.150.0080.00016.84
8.0.140.0000.00716.90
8.0.130.0000.00613.43
8.0.120.0030.00516.92
8.0.110.0070.00017.01
8.0.100.0000.00816.93
8.0.90.0040.00317.03
8.0.80.0100.00616.92
8.0.70.0000.00816.85
8.0.60.0040.00416.85
8.0.50.0040.00416.81
8.0.30.0100.01017.22
8.0.20.0120.01117.40
8.0.10.0000.00816.88
8.0.00.0100.01216.77
7.4.330.0020.00216.79
7.4.320.0030.00316.65
7.4.300.0040.00416.61
7.4.290.0070.00016.61
7.4.280.0060.00316.61
7.4.270.0070.00016.51
7.4.260.0070.00016.51
7.4.250.0000.00716.52
7.4.240.0050.00216.48
7.4.230.0030.00516.55
7.4.220.0030.02316.59
7.4.210.0040.01116.49
7.4.200.0000.00716.46
7.4.160.0100.01016.45
7.4.150.0110.00817.40
7.4.140.0100.01317.86
7.4.130.0110.00716.56
7.4.120.0110.00716.65
7.4.110.0130.00516.54
7.4.100.0100.00716.43
7.4.90.0150.00316.60
7.4.80.0100.00719.39
7.4.70.0090.00616.59
7.4.60.0080.00816.52
7.4.50.0080.00816.65
7.4.40.0130.01016.70
7.4.30.0080.00916.53
7.4.00.0060.00915.09
7.3.330.0030.00313.32
7.3.320.0030.00313.12
7.3.310.0030.00316.52
7.3.300.0040.00416.18
7.3.290.0080.00816.35
7.3.280.0090.01016.35
7.3.270.0090.01417.40
7.3.260.0110.00616.34
7.3.250.0110.00716.38
7.3.240.0090.01016.64
7.3.230.0070.01016.65
7.3.210.0100.01016.55
7.3.200.0120.00319.39
7.3.190.0130.01016.38
7.3.180.0140.01016.42
7.3.170.0160.00016.61
7.3.160.0130.00316.48
7.2.330.0040.01316.78
7.2.320.0090.00616.52
7.2.310.0030.01416.42
7.2.300.0090.01416.79
7.2.290.0060.01016.41
7.2.60.0100.00316.88
7.2.00.0040.00819.22
7.1.200.0060.00915.89
7.1.100.0030.01017.98
7.1.70.0000.01617.05
7.1.60.0110.01419.27
7.1.50.0060.00616.99
7.1.00.0100.07022.43
7.0.200.0030.00616.88
7.0.60.0130.07721.80
7.0.50.0000.04717.89
7.0.40.0100.06320.19
7.0.30.0270.08020.13
7.0.20.0330.07720.20
7.0.10.0070.08020.12
7.0.00.0030.08720.12
5.6.280.0030.03020.90
5.6.210.0170.06320.61
5.6.200.0030.05018.10
5.6.190.0070.07020.64
5.6.180.0270.08320.48
5.6.170.0270.04720.38
5.6.160.0070.04320.54
5.6.150.0070.06318.14
5.6.140.0030.08018.12
5.6.130.0070.04018.12
5.6.120.0100.08020.96
5.6.110.0170.07321.11
5.6.100.0000.04720.97
5.6.90.0030.06321.09
5.6.80.0000.08720.38
5.5.350.0070.08020.41
5.5.340.0070.08318.00
5.5.330.0070.09020.13
5.5.320.0130.04720.17
5.5.310.0130.04720.16
5.5.300.0070.03717.91
5.5.290.0030.07317.88
5.5.280.0100.03720.80
5.5.270.0070.08320.72
5.5.260.0070.04320.84
5.5.250.0170.04020.71
5.5.240.0100.08320.19

preferences:
101.05 ms | 401 KiB | 5 Q