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; //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.00416.74
8.3.50.0070.01122.05
8.3.40.0110.00418.77
8.3.30.0110.00418.84
8.3.20.0070.00020.29
8.3.10.0040.00423.70
8.3.00.0050.00319.38
8.2.180.0120.00316.48
8.2.170.0140.00422.96
8.2.160.0030.01019.17
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0040.00417.50
8.2.120.0090.00026.35
8.2.110.0040.00420.56
8.2.100.0030.00918.05
8.2.90.0000.00819.20
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00817.93
8.2.50.0080.00018.07
8.2.40.0040.00419.38
8.2.30.0020.00520.54
8.2.20.0030.00617.88
8.2.10.0050.00218.16
8.2.00.0040.00418.07
8.1.280.0170.00325.92
8.1.270.0030.00623.79
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00322.20
8.1.230.0040.00717.91
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0070.00018.71
8.1.160.0040.00421.98
8.1.150.0040.00418.77
8.1.140.0050.00319.49
8.1.130.0000.01017.70
8.1.120.0030.00617.48
8.1.110.0040.00417.46
8.1.100.0030.00317.46
8.1.90.0070.00017.46
8.1.80.0040.00417.47
8.1.70.0000.00717.41
8.1.60.0040.00417.64
8.1.50.0050.00317.38
8.1.40.0080.00017.50
8.1.30.0030.00617.70
8.1.20.0000.00917.48
8.1.10.0030.00617.50
8.1.00.0050.00317.42
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.45
8.0.270.0040.00417.32
8.0.260.0060.00317.27
8.0.250.0050.00217.03
8.0.240.0080.00017.07
8.0.230.0110.00017.06
8.0.220.0030.00316.84
8.0.210.0000.00716.97
8.0.200.0070.00017.03
8.0.190.0050.00316.93
8.0.180.0000.00717.00
8.0.170.0040.00416.87
8.0.160.0000.00816.97
8.0.150.0050.00516.81
8.0.140.0040.00416.91
8.0.130.0000.00913.43
8.0.120.0080.00016.94
8.0.110.0040.00416.97
8.0.100.0040.00416.90
8.0.90.0050.00216.89
8.0.80.0040.01216.91
8.0.70.0050.00316.83
8.0.60.0000.00716.79
8.0.50.0060.00316.76
8.0.30.0110.00817.06
8.0.20.0120.01217.40
8.0.10.0040.00416.95
8.0.00.0090.00916.78
7.4.330.0030.00316.71
7.4.320.0060.00016.45
7.4.300.0040.00416.61
7.4.290.0040.00416.61
7.4.280.0060.00316.52
7.4.270.0040.00416.53
7.4.260.0000.00716.63
7.4.250.0050.00316.62
7.4.240.0040.00316.45
7.4.230.0030.00316.51
7.4.220.0070.01416.55
7.4.210.0090.00616.53
7.4.200.0000.00716.40
7.4.160.0140.00316.43
7.4.150.0120.01217.40
7.4.140.0120.01217.86
7.4.130.0110.00716.50
7.4.120.0070.01016.55
7.4.110.0150.00816.59
7.4.100.0070.01616.58
7.4.90.0070.01116.71
7.4.80.0120.00419.39
7.4.70.0140.00316.62
7.4.60.0120.00316.51
7.4.50.0060.00616.60
7.4.40.0040.01316.48
7.4.30.0130.00316.45
7.4.00.0000.01415.12
7.3.330.0060.00013.21
7.3.320.0040.00313.12
7.3.310.0050.00316.46
7.3.300.0000.00616.21
7.3.290.0060.01216.33
7.3.280.0110.00616.37
7.3.270.0130.00517.40
7.3.260.0060.01016.46
7.3.250.0110.00816.48
7.3.240.0100.00716.36
7.3.230.0070.01016.55
7.3.210.0130.00616.43
7.3.200.0060.00916.59
7.3.190.0080.00816.44
7.3.180.0090.00616.46
7.3.170.0090.00616.35
7.3.160.0070.01016.41
7.2.330.0100.01316.66
7.2.320.0100.01416.43
7.2.310.0070.01016.53
7.2.300.0090.00916.52
7.2.290.0080.00816.66
7.2.120.0130.00516.83
7.2.110.0030.00916.75
7.2.100.0110.00316.66
7.2.90.0080.00816.77
7.2.80.0040.01316.69
7.2.70.0150.00416.97
7.2.60.0030.01116.80
7.2.50.0090.00916.96
7.2.40.0100.01016.73
7.2.30.0150.00616.73
7.2.20.0120.00416.97
7.2.10.0120.00716.79
7.2.00.0060.00518.14
7.1.240.0120.00315.48
7.1.230.0060.00915.68
7.1.220.0040.01115.78
7.1.210.0050.00915.74
7.1.200.0100.00815.64
7.1.190.0090.00515.86
7.1.180.0140.00315.88
7.1.170.0110.00415.89
7.1.160.0090.00615.39
7.1.150.0070.00815.97
7.1.140.0120.00315.46
7.1.130.0130.00015.92
7.1.120.0140.00015.46
7.1.110.1170.00315.99
7.1.100.0060.00817.02
7.1.90.0100.00515.56
7.1.80.0080.00515.71
7.1.70.0140.00616.39
7.1.60.0140.00617.47
7.1.50.0090.01116.38
7.1.40.0100.00515.54
7.1.30.0060.00915.92
7.1.20.0150.00015.68
7.1.10.0050.01015.92
7.1.00.0070.04119.13
7.0.320.0110.00415.45
7.0.310.0130.00315.35
7.0.300.0130.00815.41
7.0.290.0080.00415.43
7.0.280.0040.01115.17
7.0.270.0110.00315.46
7.0.260.0120.00315.54
7.0.250.0090.00515.58
7.0.240.0070.00715.25
7.0.230.0070.00715.63
7.0.220.0150.00015.57
7.0.210.0080.00615.47
7.0.200.0080.00516.19
7.0.190.0100.00315.30
7.0.180.0110.00415.52
7.0.170.0100.00515.26
7.0.160.0080.00315.33
7.0.150.0050.01015.43
7.0.140.0080.00315.45
7.0.130.0030.00915.59
7.0.120.0060.00615.42
7.0.110.0040.00715.51
7.0.100.0060.01215.43
7.0.90.0290.04517.58
7.0.80.0340.04217.59
7.0.70.0250.03017.61
7.0.60.0300.04617.71
7.0.50.0320.02617.91
7.0.40.0110.04416.83
7.0.30.0110.03216.82
7.0.20.0060.04916.82
7.0.10.0110.04216.90
7.0.00.0100.04316.78
5.6.380.0080.00814.48
5.6.370.0100.00714.61
5.6.360.0140.00214.48
5.6.350.0130.00314.58
5.6.340.0060.00914.74
5.6.330.0090.00614.18
5.6.320.0130.00014.15
5.6.310.0120.00314.43
5.6.300.0070.00714.43
5.6.290.0030.01114.29
5.6.280.0050.03517.61
5.6.270.0120.00314.47
5.6.260.0080.00814.30
5.6.250.0110.00314.47
5.6.240.0080.00614.09
5.6.230.0100.04317.52
5.6.220.0050.03017.53
5.6.210.0050.03217.43
5.6.200.0050.05017.75
5.6.190.0070.04517.70
5.6.180.0070.04117.68
5.6.170.0050.04917.60
5.6.160.0100.04317.68
5.6.150.0090.04117.62
5.6.140.0080.04517.59
5.6.130.0100.04317.85
5.6.120.0070.04517.74
5.6.110.0120.04017.73
5.6.100.0070.04417.62
5.6.90.0050.04117.73
5.6.80.0070.02517.33
5.6.70.0080.04317.18
5.6.60.0090.04117.27
5.6.50.0110.03517.42
5.6.40.0100.04217.47
5.6.30.0090.03617.35
5.6.20.0060.04417.35
5.6.10.0020.04817.30
5.6.00.0090.04417.42
5.5.380.0050.00511.07
5.5.370.0040.02815.76
5.5.360.0030.03715.84
5.5.350.0100.03915.80
5.5.340.0030.04015.94
5.5.330.0090.03916.04
5.5.320.0060.04416.02
5.5.310.0070.02715.98
5.5.300.0140.04015.94
5.5.290.0070.04315.90
5.5.280.0050.04716.09
5.5.270.0030.03716.00
5.5.260.0090.04115.98
5.5.250.0070.02915.90
5.5.240.0090.02215.66
5.5.230.0120.03915.71
5.5.220.0140.03415.54
5.5.210.0020.03815.59
5.5.200.0120.03815.58
5.5.190.0040.03915.58
5.5.180.0130.05015.68
5.5.170.0120.00414.44
5.5.160.0030.04315.68
5.5.150.0040.04015.60
5.5.140.0090.03515.63
5.5.130.0070.02315.72
5.5.120.0060.04415.66
5.5.110.0090.04215.65
5.5.100.0090.03815.57
5.5.90.0020.02815.58
5.5.80.0080.04215.56
5.5.70.0100.03715.57
5.5.60.0030.03615.58
5.5.50.0070.04215.59
5.5.40.0050.02615.62
5.5.30.0080.02215.62
5.5.20.0050.02115.63
5.5.10.0050.04115.56
5.5.00.0070.03315.54

preferences:
39.91 ms | 401 KiB | 5 Q