3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://api.hackex.net/v5/auth'; //extract data from the post extract($_POST); //set POST variables $url = 'http://api.hackex.net/v5/auth'; $fields = array( 'apikey' => "nue1214xn", 'email' => 'cuorefolle@gmail.com', 'password' => 'fenomeno' ); //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); echo $result."ok"; //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.0120.00316.75
8.3.50.0130.00721.21
8.3.40.0170.00018.82
8.3.30.0190.00018.70
8.3.20.0080.00020.35
8.3.10.0000.00823.66
8.3.00.0080.00023.66
8.2.180.0110.01116.88
8.2.170.0180.00322.96
8.2.160.0100.00320.37
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0060.00319.48
8.2.110.0030.00622.20
8.2.100.0120.00017.80
8.2.90.0040.00419.23
8.2.80.0000.00818.03
8.2.70.0040.00717.50
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0000.00822.12
8.2.30.0040.00419.31
8.2.20.0040.00417.62
8.2.10.0020.00518.03
8.2.00.0040.00418.14
8.1.280.0070.01425.92
8.1.270.0060.00322.13
8.1.260.0090.00026.35
8.1.250.0030.00528.09
8.1.240.0030.00623.83
8.1.230.0080.00319.02
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0030.00717.38
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0080.00018.61
8.1.160.0040.00420.66
8.1.150.0040.00418.89
8.1.140.0060.00319.49
8.1.130.0000.00817.61
8.1.120.0070.00017.37
8.1.110.0040.00417.33
8.1.100.0040.00417.45
8.1.90.0070.00017.45
8.1.80.0050.00317.53
8.1.70.0000.00717.46
8.1.60.0050.00317.51
8.1.50.0040.00417.44
8.1.40.0030.00617.55
8.1.30.0040.00417.68
8.1.20.0040.00417.48
8.1.10.0070.00017.62
8.1.00.0000.00817.52
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0030.00318.37
8.0.270.0000.00717.13
8.0.260.0000.00817.18
8.0.250.0060.00017.00
8.0.240.0030.00317.04
8.0.230.0030.00316.96
8.0.220.0080.00016.83
8.0.210.0000.00716.86
8.0.200.0000.00816.97
8.0.190.0040.00417.05
8.0.180.0060.00316.97
8.0.170.0050.00316.87
8.0.160.0080.00017.02
8.0.150.0050.00216.87
8.0.140.0030.00316.93
8.0.130.0060.00013.39
8.0.120.0000.00816.81
8.0.110.0070.00016.99
8.0.100.0040.00416.94
8.0.90.0050.00216.75
8.0.80.0100.00716.95
8.0.70.0000.00716.84
8.0.60.0070.00016.83
8.0.50.0070.00017.02
8.0.30.0070.00917.14
8.0.20.0090.01017.40
8.0.10.0040.00416.90
8.0.00.0110.00716.72
7.4.330.0050.00016.79
7.4.320.0060.00016.50
7.4.300.0030.00516.50
7.4.290.0000.00716.51
7.4.280.0060.00316.58
7.4.270.0030.00316.52
7.4.260.0000.00816.60
7.4.250.0050.00316.48
7.4.240.0040.00416.58
7.4.230.0000.00716.62
7.4.220.0060.01616.62
7.4.210.0160.00016.49
7.4.200.0000.00716.59
7.4.160.0090.00616.55
7.4.150.0060.01217.40
7.4.140.0120.01017.86
7.4.130.0030.01516.59
7.4.120.0080.01316.46
7.4.110.0140.00316.56
7.4.100.0110.00616.46
7.4.90.0110.00616.46
7.4.80.0130.01019.39
7.4.70.0140.00316.45
7.4.60.0140.01016.69
7.4.50.0070.00716.47
7.4.40.0030.01316.50
7.4.30.0120.01216.39
7.4.00.0070.00714.86
7.3.330.0030.00213.08
7.3.320.0060.00013.23
7.3.310.0040.00416.46
7.3.300.0000.00716.40
7.3.290.0130.00416.34
7.3.280.0120.00616.34
7.3.270.0060.01217.40
7.3.260.0070.01016.50
7.3.240.0130.00616.46
7.3.230.0100.00716.43
7.3.210.0090.00916.41
7.3.200.0040.01419.39
7.3.190.0030.01316.39
7.3.180.0040.01216.52
7.3.170.0120.00816.46
7.3.160.0090.00616.53
7.2.330.0060.01316.82
7.2.320.0100.00716.50
7.2.310.0090.00916.83
7.2.300.0090.00916.52
7.2.290.0100.00716.59
7.2.60.0090.00616.95
7.2.00.0100.00719.51
7.1.200.0070.00715.84
7.1.100.0040.00717.94
7.1.70.0110.00016.86
7.1.60.0060.01619.30
7.1.50.0070.00416.99
7.1.00.0070.07322.28
7.0.200.0040.00416.93
7.0.60.0270.03319.89
7.0.50.0100.07717.87
7.0.40.0070.04020.09
7.0.30.0400.06320.12
7.0.20.0370.07720.20
7.0.10.0130.08020.13
7.0.00.0070.04020.04
5.6.280.0030.03021.09
5.6.210.0030.06320.56
5.6.200.0070.08018.21
5.6.190.0230.07320.39
5.6.180.0500.07020.45
5.6.170.0270.08020.42
5.6.160.0030.08718.09
5.6.150.0030.04018.20
5.6.140.0030.09018.21
5.6.130.0070.06718.14
5.6.120.0100.03321.01
5.6.110.0070.08720.95
5.6.100.0070.08720.88
5.6.90.0070.04321.07
5.6.80.0130.06720.52
5.5.350.0130.07020.46
5.5.340.0070.03717.98
5.5.330.0030.08320.40
5.5.320.0270.07720.34
5.5.310.0130.06020.29
5.5.300.0100.06017.97
5.5.290.0130.06717.91
5.5.280.0070.09020.79
5.5.270.0100.04320.68
5.5.260.0030.09020.64
5.5.250.0070.04320.58
5.5.240.0030.08020.26

preferences:
39.53 ms | 401 KiB | 5 Q