3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://api.hackex.net/v1/auth'; //extract data from the post extract($_POST); //set POST variables $url = 'http://api.hackex.net/v1/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.0080.01118.55
8.3.50.0100.01022.05
8.3.40.0070.00718.87
8.3.30.0140.00019.04
8.3.20.0000.01420.19
8.3.10.0040.00423.60
8.3.00.0070.00019.80
8.2.180.0110.01116.88
8.2.170.0080.00822.96
8.2.160.0100.00320.34
8.2.150.0000.00724.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00321.08
8.2.110.0060.00322.12
8.2.100.0090.00318.28
8.2.90.0050.00319.31
8.2.80.0000.00817.97
8.2.70.0050.00317.62
8.2.60.0060.00317.93
8.2.50.0060.00318.07
8.2.40.0050.00318.22
8.2.30.0040.00418.36
8.2.20.0000.00717.73
8.2.10.0030.00518.14
8.2.00.0000.00817.92
8.1.280.0100.01025.92
8.1.270.0000.00823.83
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0140.00722.05
8.1.230.0070.00419.04
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0050.00317.34
8.1.180.0040.00418.10
8.1.170.0080.00018.54
8.1.160.0030.00621.89
8.1.150.0040.00418.53
8.1.140.0040.00417.46
8.1.130.0000.00717.83
8.1.120.0050.00317.33
8.1.110.0000.00817.46
8.1.100.0050.00317.37
8.1.90.0030.00317.34
8.1.80.0000.00717.43
8.1.70.0000.00717.33
8.1.60.0000.00817.64
8.1.50.0040.00417.41
8.1.40.0000.00817.52
8.1.30.0000.00817.70
8.1.20.0000.00817.63
8.1.10.0020.00517.62
8.1.00.0040.00717.49
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0000.00718.45
8.0.270.0040.00417.27
8.0.260.0000.00717.32
8.0.250.0030.00316.91
8.0.240.0070.00017.01
8.0.230.0040.00417.08
8.0.220.0000.00916.89
8.0.210.0050.00216.83
8.0.200.0040.00417.02
8.0.190.0070.00017.03
8.0.180.0030.00517.02
8.0.170.0030.00516.97
8.0.160.0040.00416.96
8.0.150.0050.00216.95
8.0.140.0060.00316.91
8.0.130.0030.00313.34
8.0.120.0040.00416.96
8.0.110.0040.00416.99
8.0.100.0040.00417.00
8.0.90.0040.00417.02
8.0.80.0170.00017.01
8.0.70.0040.00416.96
8.0.60.0000.00816.82
8.0.50.0040.00416.91
8.0.30.0140.00717.17
8.0.20.0080.01017.40
8.0.10.0070.00017.02
8.0.00.0070.01016.80
7.4.330.0020.00215.03
7.4.320.0030.00316.64
7.4.300.0030.00316.61
7.4.290.0030.00316.51
7.4.280.0000.00816.52
7.4.270.0030.00316.50
7.4.260.0000.00816.52
7.4.250.0040.00416.32
7.4.240.0040.00416.46
7.4.230.0040.00416.68
7.4.220.0040.01316.55
7.4.210.0060.00916.56
7.4.200.0000.00716.63
7.4.160.0150.00616.55
7.4.150.0130.00717.40
7.4.140.0160.01117.86
7.4.130.0030.01316.48
7.4.120.0180.00316.53
7.4.110.0070.01016.53
7.4.100.0150.00916.55
7.4.90.0110.00616.56
7.4.80.0100.01419.39
7.4.70.0090.00916.55
7.4.60.0070.01416.45
7.4.50.0000.00816.44
7.4.40.0060.01116.37
7.4.30.0080.00816.46
7.4.00.0030.01015.04
7.3.330.0000.00613.07
7.3.320.0000.00513.11
7.3.310.0030.00316.42
7.3.300.0030.00516.23
7.3.290.0090.00616.33
7.3.280.0090.00916.33
7.3.270.0040.01217.40
7.3.260.0080.01116.38
7.3.250.0060.01116.45
7.3.240.0130.00416.63
7.3.230.0140.00316.41
7.3.210.0100.00716.47
7.3.200.0030.01219.39
7.3.190.0130.01016.43
7.3.180.0120.00416.61
7.3.170.0090.00916.53
7.3.160.0090.00616.22
7.3.120.0070.01014.91
7.2.330.0100.00616.39
7.2.320.0180.01016.67
7.2.310.0070.01016.79
7.2.300.0130.00616.65
7.2.290.0080.00816.74
7.2.60.0090.00617.02
7.2.00.0060.00619.42
7.1.200.0030.00615.68
7.1.100.0030.00718.06
7.1.70.0000.00717.02
7.1.60.0120.01219.70
7.1.50.0070.01816.92
7.1.00.0070.06722.32
7.0.200.0000.00916.62
7.0.140.0070.07022.08
7.0.60.0070.06320.09
7.0.50.0070.05017.80
7.0.40.0030.05020.24
7.0.30.0270.04320.12
7.0.20.0170.04320.13
7.0.10.0030.04720.12
7.0.00.0030.06020.16
5.6.280.0070.07021.04
5.6.210.0030.08320.50
5.6.200.0030.06718.09
5.6.190.0070.06320.67
5.6.180.0230.04720.60
5.6.170.0300.07720.45
5.6.160.0100.06020.62
5.6.150.0100.07018.11
5.6.140.0070.05718.22
5.6.130.0030.06018.06
5.6.120.0130.05020.99
5.6.110.0070.03721.13
5.6.100.0070.04020.97
5.6.90.0100.07320.98
5.6.80.0030.08720.36
5.5.350.0200.08320.30
5.5.340.0130.07017.96
5.5.330.0130.08320.22
5.5.320.0400.06320.18
5.5.310.0230.08320.13
5.5.300.0100.05717.91
5.5.290.0030.04017.99
5.5.280.0070.05320.85
5.5.270.0100.08020.85
5.5.260.0130.06020.79
5.5.250.0130.07720.54
5.5.240.0000.08320.29
5.4.450.0100.04719.41
5.4.440.0000.06019.50
5.4.430.0170.07019.40
5.4.420.0100.07319.50
5.4.410.0100.07319.28
5.4.400.0130.05018.91
5.4.390.0070.08018.81
5.4.380.0100.07319.17
5.4.370.0100.07319.09
5.4.360.0000.08319.08
5.4.350.0200.05018.79
5.4.340.0100.04319.12
5.4.320.0070.05018.79
5.4.310.0070.05018.78
5.4.300.0030.04718.80
5.4.290.0030.07718.79
5.4.280.0100.06318.79
5.4.270.0070.07018.96
5.4.260.0130.06718.81
5.4.250.0130.07018.80
5.4.240.0130.07318.92
5.4.230.0100.07719.04
5.4.220.0100.05019.14
5.4.210.0070.07318.99
5.4.200.0070.07719.17
5.4.190.0070.07719.13
5.4.180.0030.07718.91
5.4.170.0030.04019.17
5.4.160.0130.06719.05
5.4.150.0000.04318.98
5.4.140.0030.07016.26
5.4.130.0030.03716.21
5.4.120.0000.04716.16
5.4.110.0030.03716.44
5.4.100.0070.03316.15
5.4.90.0070.03316.36
5.4.80.0000.05316.23
5.4.70.0070.03716.25
5.4.60.0030.03716.26
5.4.50.0000.06316.38
5.4.40.0000.05016.21
5.4.30.0130.07016.34
5.4.20.0130.06316.36
5.4.10.0100.04016.34
5.4.00.0070.03315.66
5.3.290.0130.06314.57
5.3.280.0130.07014.52
5.3.270.0070.07314.51
5.3.260.0100.06314.43
5.3.250.0170.06714.70
5.3.240.0100.07714.69
5.3.230.0130.03714.55
5.3.220.0000.04014.45
5.3.210.0000.04314.52
5.3.200.0030.03714.51
5.3.190.0030.08314.52
5.3.180.0070.05014.50
5.3.170.0030.04314.48
5.3.160.0100.07014.49
5.3.150.0070.05014.54
5.3.140.0100.05014.48
5.3.130.0000.04014.64
5.3.120.0030.04314.37
5.3.110.0070.04314.37
5.3.100.0000.04713.98
5.3.90.0100.06313.98
5.3.80.0100.05313.94
5.3.70.0070.03713.97
5.3.60.0070.06713.90
5.3.50.0070.03713.77
5.3.40.0070.06713.88
5.3.30.0000.04013.74
5.3.20.0000.03713.71
5.3.10.0130.03013.44
5.3.00.0030.04313.58
5.2.170.0070.05311.13
5.2.160.0070.02710.97
5.2.150.0030.03711.08
5.2.140.0070.04011.08
5.2.130.0070.02311.09
5.2.120.0030.02711.09
5.2.110.0000.03011.07
5.2.100.0000.03011.26
5.2.90.0000.03011.09
5.2.80.0030.03011.07
5.2.70.0030.03310.99
5.2.60.0030.03010.97
5.2.50.0000.03010.92
5.2.40.0000.03010.87
5.2.30.0000.03010.83
5.2.20.0000.03010.89
5.2.10.0000.03010.75
5.2.00.0000.03010.74
5.1.60.0000.0239.97
5.1.50.0030.0239.83
5.1.40.0100.0179.99
5.1.30.0000.02710.21
5.1.20.0000.02710.25
5.1.10.0030.02310.00
5.1.00.0030.02310.05
5.0.50.0030.0178.54
5.0.40.0000.0208.32
5.0.30.0030.0308.18
5.0.20.0000.0208.22
5.0.10.0000.0208.17
5.0.00.0000.0308.23
4.4.90.0000.0178.09
4.4.80.0000.0178.09
4.4.70.0030.0138.09
4.4.60.0000.0178.09
4.4.50.0000.0138.09
4.4.40.0000.0278.09
4.4.30.0030.0138.09
4.4.20.0000.0178.09
4.4.10.0000.0178.09
4.4.00.0000.0238.09
4.3.110.0000.0208.09
4.3.100.0030.0108.09
4.3.90.0000.0178.09
4.3.80.0030.0208.09
4.3.70.0000.0138.09
4.3.60.0000.0178.09
4.3.50.0030.0208.09
4.3.40.0000.0238.09
4.3.30.0000.0138.09
4.3.20.0000.0178.09
4.3.10.0000.0178.09
4.3.00.0000.0138.09

preferences:
42.4 ms | 401 KiB | 5 Q