3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gcal_path = "https://www.googleapis.com/calendar/v3/calendars/matrixis.co.uk_0bcoibk2a2t8i8637golf855h4@group.calendar.google.com/events?key=AIzaSyBvaIP4JyhADGRhPDccnNsJ0W1wUxc2fAU&maxResults=1&singleEvents=True&orderBy=startTime"; //create cURL connection $curl_connection = curl_init('https://www.googleapis.com/calendar/v3/calendars/matrixis.co.uk_0bcoibk2a2t8i8637golf855h4@group.calendar.google.com/events?key=AIzaSyBvaIP4JyhADGRhPDccnNsJ0W1wUxc2fAU&maxResults=1&singleEvents=True&orderBy=startTime'); //set options curl_setopt($curl_connection, CURLOPT_CONNECTTIMEOUT, 30); curl_setopt($curl_connection, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"); curl_setopt($curl_connection, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl_connection, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl_connection, CURLOPT_FOLLOWLOCATION, 1); //set data to be posted curl_setopt($curl_connection, CURLOPT_POSTFIELDS, $post_string); //perform our request $result = curl_exec($curl_connection); //close the connection curl_close($curl_connection); // Populate the '$feed' variable with decoded JSON data. $dataArray = json_decode($result); $nextStartTime = $dataArray['items']['start']['dateTime']; $nextEndTime = $dataArray['items']['end']['dateTime']; $summary = $dataArray['items']['summary']; echo $dataArray . '<br>'; echo $nextStartTime . '<br>'; echo $nextEndTime . '<br>'; echo $summary . '<br>'; ?>

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.0140.00316.75
8.3.50.0140.01021.98
8.3.40.0120.00318.87
8.3.30.0150.00318.76
8.3.20.0070.00720.34
8.3.10.0040.00423.48
8.3.00.0040.00419.97
8.2.180.0040.01618.29
8.2.170.0110.00422.96
8.2.160.0130.00020.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00321.04
8.2.120.0080.00026.35
8.2.110.0100.00620.52
8.2.100.0090.00317.93
8.2.90.0040.00419.11
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0090.00018.04
8.2.50.0050.00318.07
8.2.40.0030.00522.31
8.2.30.0040.00420.71
8.2.20.0040.00417.75
8.2.10.0040.00418.08
8.2.00.0040.00417.98
8.1.280.0120.00325.92
8.1.270.0000.00820.24
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0030.00624.02
8.1.230.0050.00517.77
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.13
8.1.180.0080.00018.10
8.1.170.0050.00318.42
8.1.160.0000.00720.61
8.1.150.0020.00518.79
8.1.140.0080.00019.46
8.1.130.0000.00717.71
8.1.120.0000.00717.44
8.1.110.0070.00017.49
8.1.100.0000.00917.45
8.1.90.0000.00717.32
8.1.80.0050.00317.46
8.1.70.0040.00417.45
8.1.60.0070.00017.59
8.1.50.0050.00317.55
8.1.40.0080.00017.57
8.1.30.0030.00717.56
8.1.20.0000.00817.66
8.1.10.0000.00717.63
8.1.00.0000.00717.43
8.0.300.0040.00418.77
8.0.290.0020.00516.63
8.0.280.0030.00318.42
8.0.270.0070.00017.29
8.0.260.0060.00017.34
8.0.250.0030.00317.05
8.0.240.0030.00316.91
8.0.230.0000.00916.88
8.0.220.0040.00416.89
8.0.210.0040.00416.95
8.0.200.0040.00416.99
8.0.190.0040.00416.89
8.0.180.0050.00316.84
8.0.170.0000.00716.91
8.0.160.0040.00416.94
8.0.150.0030.00516.75
8.0.140.0050.00216.83
8.0.130.0000.00513.38
8.0.120.0000.00816.95
8.0.110.0040.00416.92
8.0.100.0000.00816.90
8.0.90.0000.00816.94
8.0.80.0070.01416.91
8.0.70.0050.00216.70
8.0.60.0040.00416.77
8.0.50.0050.00316.88
8.0.30.0120.00617.26
8.0.20.0110.00917.40
8.0.10.0040.00417.05
8.0.00.0070.00916.73
7.4.330.0030.00316.69
7.4.320.0000.00716.46
7.4.300.0060.00016.64
7.4.290.0070.00016.54
7.4.280.0000.00716.54
7.4.270.0030.00316.54
7.4.260.0000.00816.63
7.4.250.0050.00316.64
7.4.240.0040.00416.53
7.4.230.0000.00716.30
7.4.220.0030.01416.46
7.4.210.0070.01016.56
7.4.200.0000.00716.66
7.4.160.0030.01416.55
7.4.150.0100.01017.40
7.4.140.0080.01217.86
7.4.130.0130.00616.65
7.4.120.0110.01116.55
7.4.110.0070.01116.38
7.4.100.0080.00916.64
7.4.90.0170.00316.47
7.4.80.0120.00819.39
7.4.70.0060.01316.57
7.4.60.0120.00616.51
7.4.50.0000.01416.62
7.4.40.0110.00616.41
7.4.30.0120.00816.63
7.4.00.0090.00614.96
7.3.330.0070.00013.08
7.3.320.0000.00513.04
7.3.310.0030.00316.13
7.3.300.0070.00016.26
7.3.290.0010.01316.24
7.3.280.0090.00716.26
7.3.270.0070.01817.40
7.3.260.0090.00916.40
7.3.240.0050.01116.46
7.3.230.0070.01116.39
7.3.210.0150.00316.38
7.3.200.0090.00616.21
7.3.190.0130.00416.32
7.3.180.0130.00316.34
7.3.170.0150.00516.54
7.3.160.0000.01716.47
7.2.330.0130.01016.32
7.2.320.0100.00616.57
7.2.310.0100.00616.58
7.2.300.0060.01616.75
7.2.290.0040.01316.56
7.2.60.0080.00516.77
7.2.00.0030.00919.04
7.1.200.0120.00415.45
7.1.100.0070.00718.06
7.1.70.0000.01017.00
7.1.60.0070.01819.05
7.1.50.0030.01716.76
7.1.00.0070.07322.44
7.0.200.0000.00716.41
7.0.60.0100.03719.94
7.0.50.0070.08017.88
7.0.40.0100.08719.98
7.0.30.0200.04320.09
7.0.20.0130.05020.12
7.0.10.0130.07320.20
7.0.00.0100.03720.14
5.6.280.0030.03721.13
5.6.210.0070.08020.51
5.6.200.0130.05018.22
5.6.190.0130.04020.67
5.6.180.0300.08020.49
5.6.170.0300.08320.38
5.6.160.0070.07020.49
5.6.150.0030.04018.18
5.6.140.0130.06718.11
5.6.130.0100.06318.11
5.6.120.0070.05320.98
5.6.110.0000.07020.97
5.6.100.0070.08320.99
5.6.90.0170.03721.13
5.6.80.0070.08020.37
5.5.350.0200.07720.45
5.5.340.0100.06717.98
5.5.330.0030.04320.37
5.5.320.0330.03320.28
5.5.310.0270.08320.23
5.5.300.0200.06317.91
5.5.290.0070.08017.92
5.5.280.0030.04720.86
5.5.270.0130.05320.80
5.5.260.0030.07320.87
5.5.250.0130.07020.71
5.5.240.0200.07320.27

preferences:
51.77 ms | 401 KiB | 5 Q