3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Takibi Geri Çekme */ include "twitteroauth/twitteroauth.php"; $consumer_key = ""; $consumer_secret = ""; $access_token = ""; $access_token_secret = ""; $twitter = new TwitterOAuth($consumer_key,$consumer_secret,$access_token,$access_token_secret); $takibigericekenler = $twitter->get('https://api.twitter.com/1.1/friendships/outgoing.json'); $users = array(); foreach ($takibigericekenler->ids as $key => $userID) { $detail = $twitter->get('https://api.twitter.com/1.1/users/show.json?user_id='.$userID); $twitter->post('https://api.twitter.com/1.1/friendships/destroy.json?user_id='.$userID); # Takibi Geri Çekme array_push($users,$detail); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Twitter API</title> </head> <body> <?php foreach ($users as $key => $user) { ?> <img title="<?=$user->name;?>" src="<?=$user->profile_image_url;?>" /> <?php } ?> </body> </html>

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.01516.75
8.3.50.0120.00621.96
8.3.40.0060.00919.02
8.3.30.0110.00418.64
8.3.20.0080.00020.14
8.3.10.0080.00023.48
8.3.00.0080.00019.38
8.2.180.0070.01518.68
8.2.170.0040.01122.96
8.2.160.0110.00320.57
8.2.150.0030.00525.66
8.2.140.0030.00524.66
8.2.130.0030.00619.38
8.2.120.0080.00026.35
8.2.110.0030.00922.11
8.2.100.0040.00817.68
8.2.90.0040.00419.08
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0000.00817.88
8.2.50.0030.00918.07
8.2.40.0000.00919.29
8.2.30.0000.00720.70
8.2.20.0040.00417.70
8.2.10.0000.00718.05
8.2.00.0070.00018.12
8.1.280.0090.00925.92
8.1.270.0060.00623.88
8.1.260.0080.00028.09
8.1.250.0080.00028.09
8.1.240.0040.00422.45
8.1.230.0030.00917.66
8.1.220.0060.00317.91
8.1.210.0050.00318.77
8.1.200.0090.00017.25
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0050.00318.64
8.1.160.0000.00722.10
8.1.150.0040.00418.92
8.1.140.0040.00419.51
8.1.130.0000.00717.73
8.1.120.0030.00517.46
8.1.110.0050.00217.48
8.1.100.0020.00517.48
8.1.90.0000.00817.46
8.1.80.0000.00817.46
8.1.70.0030.00317.47
8.1.60.0040.00417.59
8.1.50.0080.00017.55
8.1.40.0000.00817.57
8.1.30.0040.00417.65
8.1.20.0050.00217.59
8.1.10.0030.00617.68
8.1.00.0110.00017.57
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0030.00318.53
8.0.270.0000.00717.35
8.0.260.0080.00017.38
8.0.250.0030.00317.00
8.0.240.0030.00617.00
8.0.230.0030.00617.17
8.0.220.0070.00016.93
8.0.210.0000.00717.00
8.0.200.0080.00017.11
8.0.190.0050.00317.13
8.0.180.0000.00716.96
8.0.170.0040.00416.92
8.0.160.0040.00417.05
8.0.150.0000.00916.96
8.0.140.0000.00816.85
8.0.130.0000.00913.50
8.0.120.0000.00716.89
8.0.110.0040.00417.04
8.0.100.0040.00417.04
8.0.90.0070.00016.90
8.0.80.0120.00316.95
8.0.70.0040.00417.06
8.0.60.0040.00416.92
8.0.50.0030.00716.93
8.0.30.0110.01117.37
8.0.20.0110.01117.40
8.0.10.0000.00717.11
8.0.00.0060.01216.79
7.4.330.0050.00016.80
7.4.320.0070.00016.64
7.4.300.0000.00616.62
7.4.290.0000.00716.63
7.4.280.0080.00016.62
7.4.270.0060.00016.58
7.4.260.0000.00716.48
7.4.250.0050.00316.41
7.4.240.0050.00216.56
7.4.230.0030.00316.71
7.4.220.0090.00816.54
7.4.210.0090.00616.62
7.4.200.0040.00216.57
7.4.160.0080.00816.58
7.4.150.0130.00517.40
7.4.140.0110.01117.86
7.4.130.0130.00816.57
7.4.120.0080.00816.66
7.4.110.0150.00316.50
7.4.100.0060.01216.53
7.4.90.0070.01016.47
7.4.80.0130.00319.39
7.4.70.0130.00916.49
7.4.60.0100.00616.52
7.4.50.0100.00716.54
7.4.40.0000.01616.63
7.4.30.0080.01516.68
7.4.00.0060.00614.98
7.3.330.0060.00013.18
7.3.320.0000.00713.23
7.3.310.0030.00316.43
7.3.300.0050.00216.36
7.3.290.0080.00716.36
7.3.280.0090.01116.34
7.3.270.0090.00917.40
7.3.260.0140.00316.48
7.3.250.0120.01016.37
7.3.240.0070.01316.41
7.3.230.0090.00916.46
7.3.210.0060.01316.27
7.3.200.0160.00416.48
7.3.190.0090.00616.39
7.3.180.0130.00316.57
7.3.170.0120.00916.38
7.3.160.0130.00316.46
7.2.330.0180.01116.66
7.2.320.0000.02316.42
7.2.310.0070.01616.64
7.2.300.0140.00416.54
7.2.290.0080.00816.39
7.2.60.0030.01316.59
7.2.00.0000.01419.45
7.1.200.0040.01115.61
7.1.100.0030.00718.00
7.1.70.0170.00416.90
7.1.60.0030.02219.36
7.1.50.0070.01116.87
7.1.00.0100.07022.41
7.0.200.0020.00516.74
7.0.60.0130.07720.11
7.0.50.0000.08717.93
7.0.40.0100.04720.06
7.0.30.0270.05720.34
7.0.20.0270.03720.10
7.0.10.0100.04320.05
7.0.00.0100.08320.14
5.6.280.0030.03321.08
5.6.210.0100.03720.69
5.6.200.0070.06318.09
5.6.190.0030.04320.61
5.6.180.0330.07020.46
5.6.170.0270.06320.63
5.6.160.0170.07720.38
5.6.150.0100.06718.23
5.6.140.0030.06718.13
5.6.130.0030.07318.13
5.6.120.0000.09320.99
5.6.110.0100.07721.07
5.6.100.0070.04321.13
5.6.90.0100.08020.98
5.6.80.0070.05320.29
5.5.350.4030.04320.41
5.5.340.0030.05317.93
5.5.330.0170.06720.24
5.5.320.0070.06720.30
5.5.310.0300.08020.21
5.5.300.0100.06317.93
5.5.290.0000.06317.96
5.5.280.0130.04320.80
5.5.270.0100.05720.84
5.5.260.0100.08320.77
5.5.250.0130.07720.61
5.5.240.0230.07020.07

preferences:
41.12 ms | 401 KiB | 5 Q