3v4l.org

run code in 300+ PHP versions simultaneously
<?php //set POST variables $url = 'http://domain.com/get-post.php'; $fields = array( 'lname'=>urlencode($last_name), 'fname'=>urlencode($first_name), 'email'=>urlencode($email) ); //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.0110.00316.63
8.3.50.0110.00821.16
8.3.40.0120.00319.09
8.3.30.0070.00718.96
8.3.20.0040.00420.30
8.3.10.0040.00421.77
8.3.00.0040.00423.69
8.2.180.0130.00318.41
8.2.170.0070.01022.96
8.2.160.0030.01020.60
8.2.150.0040.00424.18
8.2.140.0080.00624.66
8.2.130.0040.00426.16
8.2.120.0080.00019.78
8.2.110.0000.01019.27
8.2.100.0060.00617.84
8.2.90.0030.00819.17
8.2.80.0050.00317.97
8.2.70.0060.00317.63
8.2.60.0090.00018.16
8.2.50.0040.00418.07
8.2.40.0040.00422.15
8.2.30.0040.00420.72
8.2.20.0030.00617.75
8.2.10.0040.00418.09
8.2.00.0000.00718.08
8.1.280.0110.01125.92
8.1.270.0040.01123.96
8.1.260.0080.00026.35
8.1.250.0020.00528.09
8.1.240.0080.00322.24
8.1.230.0110.00019.04
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0060.00320.82
8.1.150.0050.00218.89
8.1.140.0060.00319.45
8.1.130.0020.00517.58
8.1.120.0000.00717.31
8.1.110.0000.00817.38
8.1.100.0070.00017.45
8.1.90.0040.00417.43
8.1.80.0040.00417.49
8.1.70.0030.00317.50
8.1.60.0040.00417.52
8.1.50.0040.00417.53
8.1.40.0040.00417.51
8.1.30.0040.00417.55
8.1.20.0040.00417.52
8.1.10.0060.00317.58
8.1.00.0050.00217.38
8.0.300.0040.00420.30
8.0.290.0000.00716.63
8.0.280.0000.00818.45
8.0.270.0000.00717.27
8.0.260.0030.00317.25
8.0.250.0030.00317.07
8.0.240.0030.00316.98
8.0.230.0040.00416.89
8.0.220.0070.00016.93
8.0.210.0000.00816.94
8.0.200.0040.00417.04
8.0.190.0050.00317.06
8.0.180.0040.00416.99
8.0.170.0040.00816.87
8.0.160.0070.00016.88
8.0.150.0040.00416.89
8.0.140.0030.00416.80
8.0.130.0000.00613.34
8.0.120.0040.00416.81
8.0.110.0000.00816.96
8.0.100.0070.00016.83
8.0.90.0030.00316.79
8.0.80.0170.00716.91
8.0.70.0040.00416.94
8.0.60.0080.00016.83
8.0.50.0000.00716.98
8.0.30.0060.01117.21
8.0.20.0110.01217.40
8.0.10.0040.00317.20
8.0.00.0110.00916.86
7.4.330.0050.00016.67
7.4.320.0060.00316.52
7.4.300.0040.00416.44
7.4.290.0000.00716.52
7.4.280.0000.00916.50
7.4.270.0040.00416.46
7.4.260.0000.00816.49
7.4.250.0030.00516.49
7.4.240.0010.00616.55
7.4.230.0000.00716.34
7.4.220.0070.01116.59
7.4.210.0120.00916.64
7.4.200.0000.00716.59
7.4.160.0070.01016.34
7.4.150.0090.01517.40
7.4.140.0100.01317.86
7.4.130.0130.00616.64
7.4.120.0130.00916.53
7.4.110.0100.00716.72
7.4.100.0150.00916.41
7.4.90.0090.01316.41
7.4.80.0100.00719.39
7.4.70.0100.00616.56
7.4.60.0070.01016.55
7.4.50.0030.01016.48
7.4.40.0040.01116.55
7.4.30.0180.00316.69
7.4.00.0090.00614.88
7.3.330.0000.00613.26
7.3.320.0030.00313.18
7.3.310.0040.00316.43
7.3.300.0060.00016.33
7.3.290.0120.00516.31
7.3.280.0100.00616.37
7.3.270.0100.01317.40
7.3.260.0100.01616.55
7.3.250.0100.00616.45
7.3.240.0050.01016.37
7.3.230.0080.00816.50
7.3.210.0110.00616.36
7.3.200.0080.01119.39
7.3.190.0090.00916.53
7.3.180.0140.00916.31
7.3.170.0170.00016.29
7.3.160.0110.01116.53
7.2.330.0140.00416.82
7.2.320.0150.00316.70
7.2.310.0170.00316.74
7.2.300.0030.01416.70
7.2.290.0080.00816.71
7.2.60.0110.00316.73
7.2.00.0000.01319.54
7.1.200.0000.01515.94
7.1.100.0040.00818.17
7.1.70.0030.00917.07
7.1.60.0110.01419.27
7.1.50.0060.01516.86
7.1.00.0030.07722.48
7.0.200.0070.00316.57
7.0.60.0100.06321.63
7.0.50.0070.08017.66
7.0.40.0070.04320.04
7.0.30.0300.04720.09
7.0.20.0400.08020.05
7.0.10.0170.08020.04
7.0.00.0030.05320.16
5.6.280.0100.05021.04
5.6.210.0100.07020.52
5.6.200.0170.03718.12
5.6.190.0100.08020.45
5.6.180.0400.06320.37
5.6.170.0330.08320.44
5.6.160.0000.04720.61
5.6.150.0100.07718.22
5.6.140.0000.08718.14
5.6.130.0070.05718.09
5.6.120.0070.07021.12
5.6.110.0100.08321.11
5.6.100.0030.07021.00
5.6.90.0100.08020.99
5.6.80.0130.07320.50
5.5.350.0100.08020.38
5.5.340.0070.04317.91
5.5.330.0130.08020.28
5.5.320.0200.04020.41
5.5.310.0130.04720.29
5.5.300.0030.03718.01
5.5.290.0030.08717.98
5.5.280.0030.08320.89
5.5.270.0070.08320.88
5.5.260.0100.06720.96
5.5.250.0100.06320.76
5.5.240.0030.08020.23

preferences:
82.85 ms | 401 KiB | 5 Q