3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "start"; generateVote(); echo "done"; function generateEmail($email) { return $email; } function generateVote() { $url='http://www.psyczykoty.pl/save-vote'; $c=curl_init(); curl_setopt($c, CURLOPT_URL, $url); curl_setopt($c, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($c, CURLOPT_POST, 1); curl_setopt($c,CURLOPT_HTTPHEADER,array( 'Host: www.psyczykoty.pl', 'Connection: keep-alive', 'Content-Length: 162', 'Pragma: no-cache', 'Cache-Control: no-cache', 'Accept: */*', 'Origin: http://www.psyczykoty.pl', 'X-Requested-With: XMLHttpRequest', 'User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36', 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8', 'Referer: http://www.psyczykoty.pl/glosuj/1/popularne', 'Accept-Encoding: gzip, deflate', 'Accept-Language: pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4', 'Cookie: fera-psyczykoty=5fogco6tk0m4sn2rq458qak0l2; _ga=GA1.2.57483650.1444392866; cSID_VM=1444854938606; _gat=1' )); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c, CURLOPT_FOLLOWLOCATION, FALSE); curl_setopt($c, CURLOPT_POSTFIELDS, "email=pedro92vb%40gmail.com&id_gallery=5617ad20e3ba9644398b4580&username=&city=&petname=&type=default&agree=1&_token=ffI-Tvxc9tC_Eb3tDPIladvoXHPrRhcRoJDp4rbG5F4"); $result = curl_exec($c); var_dump(json_decode($result)); curl_close($c); flush(); } ?>

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.0000.01618.06
8.3.50.0080.01121.14
8.3.40.0090.00918.97
8.3.30.0110.00318.67
8.3.20.0070.00020.20
8.3.10.0030.00623.47
8.3.00.0060.00319.79
8.2.180.0000.01418.29
8.2.170.0090.00922.96
8.2.160.0140.00019.30
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00317.75
8.2.110.0070.00320.39
8.2.100.0140.00317.84
8.2.90.0000.00819.09
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0080.00917.55
8.2.50.0060.00318.07
8.2.40.0030.00619.53
8.2.30.0050.00222.45
8.2.20.0000.00717.67
8.2.10.0040.00418.15
8.2.00.0040.00418.14
8.1.280.0090.00625.92
8.1.270.0040.00423.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0110.00020.94
8.1.220.0060.00317.75
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0060.00317.10
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0080.00021.91
8.1.150.0000.00718.82
8.1.140.0080.00017.30
8.1.130.0040.00417.79
8.1.120.0030.00417.37
8.1.110.0040.00417.41
8.1.100.0000.00917.42
8.1.90.0000.00717.47
8.1.80.0000.00917.33
8.1.70.0080.00017.34
8.1.60.0040.00417.65
8.1.50.0050.00317.54
8.1.40.0060.00317.52
8.1.30.0040.00417.67
8.1.20.0050.00217.59
8.1.10.0000.00817.51
8.1.00.0080.00017.43
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.46
8.0.270.0070.00017.23
8.0.260.0040.00417.17
8.0.250.0040.00416.91
8.0.240.0000.00716.96
8.0.230.0040.00416.89
8.0.220.0070.00016.92
8.0.210.0040.00416.89
8.0.200.0060.00016.88
8.0.190.0040.00416.96
8.0.180.0050.00216.96
8.0.170.0060.00317.02
8.0.160.0000.00816.82
8.0.150.0000.00716.83
8.0.140.0000.00716.88
8.0.130.0000.00613.31
8.0.120.0000.00816.90
8.0.110.0080.00016.83
8.0.100.0000.00816.81
8.0.90.0030.00317.00
8.0.80.0090.00616.98
8.0.70.0070.00016.98
8.0.60.0040.00416.88
8.0.50.0040.00416.95
8.0.30.0150.00217.23
8.0.20.0110.00717.42
8.0.10.0000.00816.95
8.0.00.0140.00816.71
7.4.330.0000.00515.08
7.4.320.0000.00616.59
7.4.300.0060.00016.65
7.4.290.0040.00416.47
7.4.280.0080.00016.53
7.4.270.0040.00416.50
7.4.260.0000.00816.63
7.4.250.0040.00416.59
7.4.240.0050.00216.62
7.4.230.0030.00316.45
7.4.220.0070.01316.67
7.4.210.0080.00716.63
7.4.200.0030.00316.46
7.4.160.0060.01016.51
7.4.150.0070.01017.40
7.4.140.0120.00517.86
7.4.130.0090.00916.57
7.4.120.0140.00316.47
7.4.110.0030.01416.66
7.4.100.0140.00916.40
7.4.90.0080.00816.45
7.4.80.0060.01719.39
7.4.70.0100.00816.60
7.4.60.0080.00816.61
7.4.50.0000.00716.32
7.4.40.0080.00816.69
7.4.30.0110.00716.58
7.4.00.0100.00315.16
7.3.330.0030.00313.30
7.3.320.0000.00613.34
7.3.310.0000.00716.24
7.3.300.0070.00016.23
7.3.290.0080.00616.32
7.3.280.0140.00616.36
7.3.270.0130.00417.40
7.3.260.0160.00616.36
7.3.240.0150.00316.50
7.3.230.0120.00616.48
7.3.210.0060.01016.59
7.3.200.0100.01316.41
7.3.190.0190.00016.62
7.3.180.0060.01116.42
7.3.170.0090.00616.43
7.3.160.0060.01016.55
7.3.120.0120.00314.96
7.3.110.0030.01314.98
7.3.100.0000.01314.73
7.3.90.0030.01214.87
7.3.80.0060.00614.92
7.3.70.0030.01414.80
7.3.60.0070.00314.87
7.3.50.0030.00614.89
7.3.40.0040.01114.77
7.3.30.0060.00914.89
7.3.20.0090.00616.70
7.3.10.0060.01016.77
7.3.00.0030.00916.70
7.2.330.0140.00316.69
7.2.320.0120.00616.34
7.2.310.0060.01216.40
7.2.300.0070.01016.62
7.2.290.0160.00916.59
7.2.240.0070.00715.06
7.2.230.0100.00714.72
7.2.220.0060.00914.70
7.2.210.0120.00615.18
7.2.200.0040.01114.97
7.2.190.0130.00315.05
7.2.180.0030.01215.02
7.2.170.0070.01115.10
7.2.160.0140.00314.99
7.2.150.0140.00016.64
7.2.140.0070.01016.82
7.2.130.0070.00716.89
7.2.120.0080.00616.61
7.2.110.0030.00916.59
7.2.100.0040.01116.90
7.2.90.0100.00716.61
7.2.80.0060.00616.84
7.2.70.0110.00316.66
7.2.60.0070.00716.75
7.2.50.0000.01316.68
7.2.40.0060.01016.93
7.2.30.0040.00716.92
7.2.20.0060.01016.64
7.2.10.0000.01016.66
7.2.00.0030.01218.02
7.1.330.0030.00615.59
7.1.320.0060.01015.63
7.1.310.0090.00615.70
7.1.300.0000.01715.30
7.1.290.0080.00815.50
7.1.280.0100.00315.37
7.1.270.0000.01315.59
7.1.260.0000.01415.73
7.1.250.0040.00715.55
7.1.200.0030.00915.82
7.1.100.0030.01017.89
7.1.70.0030.00716.99
7.1.60.0130.01319.50
7.1.50.0140.00416.76
7.1.00.0000.08022.36
7.0.200.0000.00816.60
7.0.60.0070.08319.95
7.0.50.0000.06017.88
7.0.40.0100.03720.24
7.0.30.0400.07320.31
7.0.20.0230.03320.20
7.0.10.0100.08720.23
7.0.00.0030.06020.21
5.6.280.0070.03320.80
5.6.210.0130.07320.55
5.6.200.0030.08018.25
5.6.190.0000.05020.45
5.6.180.0130.04720.51
5.6.170.0330.06320.54
5.6.160.0130.07720.48
5.6.150.0070.04718.11
5.6.140.0130.07318.28
5.6.130.0030.08318.15
5.6.120.0000.04720.99
5.6.110.0100.08321.07
5.6.100.0070.08721.00
5.6.90.0170.06321.13
5.6.80.0130.07720.54
5.5.350.0070.06020.39
5.5.340.0100.06017.98
5.5.330.0070.05320.57
5.5.320.0070.08320.20
5.5.310.0130.05720.30
5.5.300.0130.07718.09
5.5.290.0100.05717.98
5.5.280.0030.04020.90
5.5.270.0170.08020.89
5.5.260.0130.08320.74
5.5.250.0130.08020.73
5.5.240.0230.03020.14
5.4.450.0200.05019.61
5.4.440.0170.08019.61
5.4.430.0170.06019.58
5.4.420.0070.06719.29
5.4.410.0270.04319.39
5.4.400.0230.05319.11
5.4.390.0200.06018.96
5.4.380.0200.05318.85
5.4.370.0200.05319.33
5.4.360.0170.06318.84
5.4.350.0270.06019.20
5.4.340.0130.05319.25
5.4.320.0270.07019.14
5.4.310.0270.04319.14
5.4.300.0130.07319.28
5.4.290.0330.04019.15
5.4.280.0130.06319.37
5.4.270.0170.07019.28
5.4.260.0130.05719.13
5.4.250.0200.05019.13
5.4.240.0370.07318.81
5.4.230.0300.05718.81
5.4.220.0170.05318.84
5.4.210.0130.05719.29
5.4.200.0170.06319.25
5.4.190.0170.05719.25
5.4.180.0230.05019.14
5.4.170.0300.05319.16
5.4.160.0230.06719.35
5.4.150.0270.07019.11
5.4.140.0100.06016.53
5.4.130.0170.05316.45
5.4.120.0200.04716.33
5.4.110.0200.04716.57
5.4.100.0070.05716.63
5.4.90.0170.04316.47
5.4.80.0170.04716.45
5.4.70.0070.04716.52
5.4.60.0030.04016.55
5.4.50.0070.07016.58
5.4.40.0170.03316.34
5.4.30.0300.05716.43
5.4.20.0200.03316.48

preferences:
55.43 ms | 401 KiB | 5 Q