3v4l.org

run code in 300+ PHP versions simultaneously
<?php $opts = array('http' => array( 'method' => "GET", 'header' => "Authorization: Basic ". base64_encode('britInfoPUB:bcac9a90f4d5109cba0d726696a43f14') . "")); $context = stream_context_create($opts); // Open the file using the HTTP headers set above $file = file_get_contents('https://api-sandbox-evvnt.herokuapp.com/events?max_results=1', false, $context); echo $file; ?>

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.0110.00416.63
8.3.50.0070.00821.98
8.3.40.0070.01318.72
8.3.30.0040.01119.22
8.3.20.0040.00420.22
8.3.10.0070.00023.71
8.3.00.0080.00019.26
8.2.180.0140.00718.41
8.2.170.0090.00922.96
8.2.160.0100.00320.26
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00022.25
8.2.110.0080.00320.53
8.2.100.0060.00617.91
8.2.90.0050.00518.03
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0030.00518.03
8.2.50.0030.00518.07
8.2.40.0000.00718.22
8.2.30.0060.00318.05
8.2.20.0000.00717.64
8.2.10.0040.00418.14
8.2.00.0040.00717.75
8.1.280.0140.00025.92
8.1.270.0030.00522.05
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00322.55
8.1.230.0090.00320.88
8.1.220.0040.00417.79
8.1.210.0000.00819.04
8.1.200.0060.00317.36
8.1.190.0040.00417.55
8.1.180.0050.00318.10
8.1.170.0000.00818.56
8.1.160.0000.00721.98
8.1.150.0000.00818.53
8.1.140.0000.00717.52
8.1.130.0030.00317.84
8.1.120.0000.00817.47
8.1.110.0070.00417.43
8.1.100.0000.00817.35
8.1.90.0040.00417.43
8.1.80.0040.00417.46
8.1.70.0000.00717.41
8.1.60.0030.00617.64
8.1.50.0050.00317.55
8.1.40.0000.00817.45
8.1.30.0030.00617.63
8.1.20.0040.00417.51
8.1.10.0040.00417.54
8.1.00.0030.00617.52
8.0.300.0070.00020.02
8.0.290.0000.00717.05
8.0.280.0000.00718.43
8.0.270.0030.00317.34
8.0.260.0000.00618.51
8.0.250.0000.00717.11
8.0.240.0000.00716.98
8.0.230.0030.00316.94
8.0.220.0000.00716.98
8.0.210.0070.00017.05
8.0.200.0030.00317.16
8.0.190.0100.00017.11
8.0.180.0070.00016.95
8.0.170.0060.00316.98
8.0.160.0040.00417.02
8.0.150.0050.00316.85
8.0.140.0070.00017.01
8.0.130.0000.00613.45
8.0.120.0020.00516.97
8.0.110.0040.00416.92
8.0.100.0080.00016.95
8.0.90.0000.00716.94
8.0.80.0030.01317.09
8.0.70.0070.00017.03
8.0.60.0040.00416.80
8.0.50.0000.00717.01
8.0.30.0110.00717.11
8.0.20.0110.00817.40
8.0.10.0000.00717.00
8.0.00.0120.00516.91
7.4.330.0040.00415.00
7.4.320.0000.00716.57
7.4.300.0070.00016.59
7.4.290.0030.00316.44
7.4.280.0040.00416.59
7.4.270.0030.00516.48
7.4.260.0040.00316.38
7.4.250.0050.00216.32
7.4.240.0030.00316.45
7.4.230.0000.00716.36
7.4.220.0130.00616.64
7.4.210.0040.01416.49
7.4.200.0000.00716.55
7.4.190.0000.00716.46
7.4.160.0070.01016.30
7.4.150.0090.00917.40
7.4.140.0130.00917.86
7.4.130.0080.01016.50
7.4.120.0090.00916.51
7.4.110.0100.01016.53
7.4.100.0060.01216.41
7.4.90.0060.01216.50
7.4.80.0170.00619.39
7.4.70.0060.01016.59
7.4.60.0080.00816.37
7.4.50.0000.00416.48
7.4.40.0090.00322.77
7.4.30.0030.01316.60
7.4.00.0060.01014.98
7.3.330.0000.00613.33
7.3.320.0000.00513.33
7.3.310.0070.00016.40
7.3.300.0000.00716.41
7.3.290.0060.00916.40
7.3.280.0080.00816.46
7.3.270.0090.01617.40
7.3.260.0100.00716.61
7.3.250.0120.00516.52
7.3.240.0090.00916.39
7.3.230.0100.01016.39
7.3.210.0130.00616.28
7.3.200.0150.00619.39
7.3.190.0130.00916.41
7.3.180.0060.01016.45
7.3.170.0090.00616.66
7.3.160.0060.01116.56
7.3.120.0030.01214.97
7.3.110.0060.01114.86
7.3.100.0130.00014.85
7.3.90.0080.00414.98
7.3.80.0040.00814.79
7.3.70.0000.01314.62
7.3.60.0030.00914.69
7.3.50.0060.00914.94
7.3.40.0030.01414.70
7.3.30.0080.00814.82
7.3.20.0110.00316.50
7.3.10.0080.00816.85
7.3.00.0070.01116.60
7.2.330.0040.01516.62
7.2.320.0090.01816.68
7.2.310.0130.00316.40
7.2.300.0070.01016.72
7.2.290.0070.01016.45
7.2.250.0060.01215.18
7.2.240.0120.00615.27
7.2.230.0030.01314.74
7.2.220.0030.01014.98
7.2.210.0060.01015.30
7.2.200.0040.00715.22
7.2.190.0070.00715.05
7.2.180.0020.01615.24
7.2.170.0070.01014.99
7.2.60.0130.00716.55
7.2.00.0040.00719.73
7.1.330.0070.00715.95
7.1.320.0000.01215.70
7.1.310.0060.00315.89
7.1.300.0060.00315.79
7.1.290.0040.00816.01
7.1.280.0070.01016.05
7.1.270.0070.00415.93
7.1.260.0060.00615.63
7.1.200.0070.00315.45
7.1.100.0000.01118.20
7.1.70.0060.00317.17
7.1.60.0000.01819.33
7.1.50.0160.01017.39
7.1.00.0030.07722.64
7.0.200.0070.00417.22
7.0.140.0100.06722.27
7.0.60.0030.07020.29
7.0.50.0030.04318.18
7.0.40.0000.06720.45
7.0.30.0230.06020.50
7.0.20.0230.06720.48
7.0.10.0130.08020.51
7.0.00.0070.04020.45
5.6.280.0030.07321.36
5.6.210.0170.07320.88
5.6.200.0130.07718.52
5.6.190.0070.04321.11
5.6.180.0430.05321.02
5.6.170.0230.04320.86
5.6.160.0000.05320.86
5.6.150.0030.07018.61
5.6.140.0030.04018.55
5.6.130.0030.08318.48
5.6.120.0000.09021.41
5.6.110.0000.04721.32
5.6.100.0070.08021.40
5.6.90.0100.07321.36
5.6.80.0070.07020.72
5.6.70.3900.04020.71
5.5.350.0030.03720.75
5.5.340.0000.05718.37
5.5.330.0070.08320.71
5.5.320.0000.06020.66
5.5.310.0400.04720.65
5.5.300.0030.04018.26
5.5.290.0070.06318.53
5.5.280.0130.07021.30
5.5.270.0100.04321.24
5.5.260.0070.07321.08
5.5.250.0130.07320.87
5.5.240.0270.05720.68
5.4.450.0170.06719.55
5.4.440.0430.05019.75
5.4.430.0900.05719.81
5.4.420.0870.04719.74
5.4.410.0400.05319.66
5.4.400.0800.05719.48
5.4.390.1270.06319.52
5.4.380.0400.04719.07
5.4.370.0300.05319.07
5.4.360.0300.04718.72
5.4.350.0470.06018.95
5.4.340.0230.07318.70
5.4.320.0030.03912.46
5.4.310.0050.04112.45
5.4.300.0080.03312.46
5.4.290.0070.03612.45
5.4.280.0340.06712.33
5.4.270.0090.05712.33
5.4.260.0130.04512.33
5.4.250.0150.07212.33
5.4.240.0120.07312.33
5.4.230.0140.07312.32
5.4.220.0160.05612.32
5.4.210.0170.07612.32
5.4.200.0280.08512.32
5.4.190.0210.08312.32
5.4.180.0200.07012.32
5.4.170.0210.06512.33
5.4.160.0160.08812.33
5.4.150.0130.07012.32
5.4.140.0200.08812.01
5.4.130.0240.09711.99
5.4.120.0120.07211.95
5.4.110.0190.07411.95
5.4.100.0330.07611.95
5.4.90.0210.07511.95
5.4.80.0200.08711.95
5.4.70.0190.06211.94
5.4.60.0060.05111.95
5.4.50.0070.05111.95
5.4.40.0110.05711.93
5.4.30.0200.06511.93
5.4.20.0080.06011.93
5.4.10.0200.08511.93
5.4.00.0170.06911.42
5.3.290.0030.04112.80
5.3.280.0130.06112.71
5.3.270.0170.06812.73
5.3.260.0120.06612.72
5.3.250.0110.06512.72
5.3.240.0180.06112.72
5.3.230.0210.05812.71
5.3.220.0210.05812.68
5.3.210.0090.07412.68
5.3.200.0170.06512.68
5.3.190.0160.05512.68
5.3.180.0170.08012.67
5.3.170.0160.08512.67
5.3.160.0260.08612.68
5.3.150.0330.08012.67
5.3.140.0110.07812.66
5.3.130.0300.09512.66
5.3.120.0210.09712.66
5.3.110.0210.08012.66
5.3.100.0290.08312.11
5.3.90.0160.06912.08
5.3.80.0270.06812.08
5.3.70.0170.04212.08
5.3.60.0270.06212.07
5.3.50.0120.05612.00
5.3.40.0490.12712.00
5.3.30.0380.06711.94
5.3.20.0340.08411.71
5.3.10.0100.05111.68
5.3.00.0190.05911.67
5.2.170.0120.0569.16
5.2.160.0210.0639.16
5.2.150.0240.0659.16
5.2.140.0300.0779.16
5.2.130.0240.0559.12
5.2.120.0240.1029.12
5.2.110.0180.0789.12
5.2.100.0200.0669.13
5.2.90.0140.0679.12
5.2.80.0160.0699.13
5.2.70.0420.1319.12
5.2.60.0120.0609.07
5.2.50.0130.0639.04
5.2.40.0150.0779.02
5.2.30.0220.0729.00
5.2.20.0260.0768.98
5.2.10.0250.0738.91
5.2.00.0080.0428.77
5.1.60.0100.0388.05
5.1.50.0100.0388.05
5.1.40.0120.0658.04
5.1.30.0310.0468.39
5.1.20.0140.0418.41
5.1.10.0150.0558.14
5.1.00.0110.0578.14
5.0.50.0190.0406.61
5.0.40.0100.0376.47
5.0.30.0220.0866.28
5.0.20.0080.0396.25
5.0.10.0100.0436.23
5.0.00.0110.0946.22
4.4.90.0130.0424.78
4.4.80.0060.0234.76
4.4.70.0090.0484.76
4.4.60.0110.0374.76
4.4.50.0160.0484.77
4.4.40.0070.0364.71
4.4.30.0090.0364.76
4.4.20.0120.0414.85
4.4.10.0110.0404.85
4.4.00.0070.0554.76
4.3.110.0080.0364.67
4.3.100.0040.0214.67
4.3.90.0060.0204.63
4.3.80.0050.0554.59
4.3.70.0130.0444.63
4.3.60.0050.0344.63
4.3.50.0040.0244.63
4.3.40.0030.0324.54
4.3.30.0050.0323.28
4.3.20.0070.0333.26
4.3.10.0020.0203.23
4.3.00.0000.03010.37

preferences:
46.77 ms | 401 KiB | 5 Q