3v4l.org

run code in 300+ PHP versions simultaneously
<?php $access_token = $token['access_token']; $owner_id = $userInfo['uid']; $message = '🔥 Я во ВКонтакте уже '.$days.' дней!'.PHP_EOL.'🚩Узнай и ты свой возраст в ВК:'.PHP_EOL.'🆗 '; function postMessage($access_token,$owner_id,$message){ $request = "https://api.vkontakte.ru/method/wall.post"; $params = array('owner_id' => $owner_id,'message' => $message,'access_token' => $access_token); $result = callMethod($request, $params); return $result; } function callMethod($request, $params){$c=curl_init(); curl_setopt($c, CURLOPT_URL, $request); curl_setopt($c, CURLOPT_RETURNTRANSFER, true); curl_setopt($c, CURLOPT_FOLLOWLOCATION, true); curl_setopt($c, CURLOPT_POST, true); curl_setopt($c, CURLOPT_POSTFIELDS, $params); curl_setopt($c, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($c, CURLOPT_TIMEOUT, 30); $result=curl_exec($c); curl_close($c); return $result; } postMessage( $access_token,$owner_id,$message);

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.70.0140.00716.75
8.3.60.0070.00716.63
8.3.50.0070.00916.60
8.3.40.0070.01118.53
8.3.30.0070.00718.79
8.3.20.0070.00020.35
8.3.10.0080.00321.92
8.3.00.0080.00019.78
8.2.180.0000.01518.18
8.2.170.0100.00722.96
8.2.160.0140.00419.01
8.2.150.0080.00024.18
8.2.140.0030.01224.66
8.2.130.0050.00320.98
8.2.120.0030.00626.35
8.2.110.0070.00320.53
8.2.100.0030.00917.97
8.2.90.0050.00317.88
8.2.80.0090.00018.90
8.2.70.0080.00018.03
8.2.60.0060.00318.34
8.2.50.0040.00419.32
8.2.40.0030.00521.02
8.2.30.0000.00719.26
8.2.20.0070.00018.09
8.2.10.0050.00318.03
8.2.00.0040.00418.02
8.1.280.0070.00725.92
8.1.270.0040.00421.96
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00421.95
8.1.230.0070.00317.76
8.1.220.0040.00417.77
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0030.00620.35
8.1.160.0050.00219.05
8.1.150.0000.00820.73
8.1.140.0110.00019.61
8.1.130.0080.00018.92
8.1.120.0040.00417.48
8.1.110.0040.00417.47
8.1.100.0000.00817.55
8.1.90.0040.00417.52
8.1.80.0050.00317.43
8.1.70.0030.00317.48
8.1.60.0030.00617.65
8.1.50.0080.00017.39
8.1.40.0030.00717.41
8.1.30.0040.00417.67
8.1.20.0070.00017.55
8.1.10.0000.00817.50
8.1.00.0080.00017.44
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0040.00418.39
8.0.270.0040.00417.19
8.0.260.0000.00716.95
8.0.250.0000.00717.08
8.0.240.0000.00717.13
8.0.230.0000.00717.06
8.0.220.0030.00316.98
8.0.210.0000.00716.95
8.0.200.0070.00017.07
8.0.190.0030.00616.93
8.0.180.0030.00517.01
8.0.170.0000.00816.91
8.0.160.0040.00417.00
8.0.150.0040.00416.76
8.0.140.0040.00416.98
8.0.130.0030.00313.41
8.0.120.0000.00816.96
8.0.110.0070.00017.03
8.0.100.0030.00516.98
8.0.90.0040.00416.96
8.0.80.0100.01016.86
8.0.70.0040.00416.78
8.0.60.0080.00016.91
8.0.50.0000.00716.86
8.0.30.0070.01116.95
8.0.20.0080.01117.40
8.0.10.0040.00416.93
8.0.00.0030.01416.91
7.4.330.0000.00515.55
7.4.320.0000.00716.46
7.4.300.0000.00716.48
7.4.290.0000.00716.61
7.4.280.0040.00416.63
7.4.270.0080.00016.68
7.4.260.0030.00316.58
7.4.250.0040.00416.56
7.4.240.0000.00716.61
7.4.230.0070.00016.63
7.4.220.0100.00916.48
7.4.210.0090.00616.54
7.4.200.0050.00316.34
7.4.160.0080.00816.51
7.4.150.0030.01417.40
7.4.140.0130.00717.86
7.4.130.0030.01516.51
7.4.120.0090.01016.48
7.4.110.0090.00916.38
7.4.100.0100.01316.35
7.4.90.0070.01116.46
7.4.80.0110.00619.39
7.4.70.0030.01916.50
7.4.60.0060.01016.51
7.4.50.0100.00716.42
7.4.40.0100.00616.29
7.4.30.0070.01116.58
7.4.00.0000.01515.18
7.3.330.0000.00513.43
7.3.320.0050.00013.42
7.3.310.0020.00516.34
7.3.300.0070.00016.40
7.3.290.0130.00116.46
7.3.280.0080.00916.41
7.3.270.0130.01017.40
7.3.260.0110.00716.41
7.3.250.0120.00716.42
7.3.240.0070.01016.55
7.3.230.0090.00916.42
7.3.210.0070.01016.37
7.3.200.0100.00716.54
7.3.190.0120.00616.66
7.3.180.0080.00816.62
7.3.170.0110.00616.67
7.3.160.0110.00516.48
7.2.330.0160.00316.75
7.2.320.0100.01016.69
7.2.310.0100.00716.50
7.2.300.0090.00916.48
7.2.290.0170.00316.84
7.2.60.0060.00616.93
7.2.00.0060.00619.30
7.1.200.0060.00615.55
7.1.100.0040.00917.95
7.1.70.0030.01317.19
7.1.60.0180.01835.09
7.1.50.0220.01135.01
7.1.40.0190.01634.41
7.1.30.0250.01034.54
7.1.20.0150.02134.63
7.1.10.0060.01116.50
7.1.00.0030.01516.93
7.0.200.0030.01516.54
7.0.190.0060.00916.89
7.0.180.0130.00316.23
7.0.170.0060.01316.20
7.0.160.0050.01316.34
7.0.150.0000.01416.27
7.0.140.0030.01616.37
7.0.130.0090.00416.44
7.0.120.0060.00916.80
7.0.110.0060.01016.43
7.0.100.0090.00616.43
7.0.90.0090.00916.35
7.0.80.0070.00916.27
7.0.70.0100.00316.27
7.0.60.0060.00916.09
7.0.50.0030.01316.11
7.0.40.0080.00716.37
7.0.30.0050.01616.43
7.0.20.0080.00916.41
7.0.10.0110.00616.45
7.0.00.0000.01316.30

preferences:
42.59 ms | 401 KiB | 5 Q