3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bitBucketConnect($url){ global $bitPassword; global $bitUsername; $context = stream_context_create(array( 'http' => array( 'header' => "Authorization: Basic " . base64_encode("$bitUsername:$bitPassword") ) )); // Make the request return file_get_contents($url, false, $context); }

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.0070.00716.25
8.3.50.0100.00817.52
8.3.40.0110.00418.71
8.3.30.0090.00518.37
8.3.20.0030.00518.48
8.3.10.0050.00520.41
8.3.00.0080.00019.13
8.2.180.0070.01018.16
8.2.170.0040.01122.96
8.2.160.0100.00318.66
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0060.00320.38
8.2.110.0060.00322.12
8.2.100.0060.00617.74
8.2.90.0050.00218.09
8.2.80.0050.00317.97
8.2.70.0070.00317.38
8.2.60.0000.00817.90
8.2.50.0030.00618.10
8.2.40.0070.00018.05
8.2.30.0030.00517.92
8.2.20.0000.00817.38
8.2.10.0040.00417.44
8.2.00.0000.00817.50
8.1.280.0120.00925.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00823.84
8.1.230.0120.00022.73
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0100.00017.13
8.1.190.0000.00816.97
8.1.180.0040.00418.10
8.1.170.0000.00818.96
8.1.160.0000.00718.79
8.1.150.0000.00718.47
8.1.140.0050.00217.25
8.1.130.0030.00317.77
8.1.120.0060.00317.34
8.1.110.0050.00217.32
8.1.100.0050.00317.39
8.1.90.0040.00417.34
8.1.80.0000.00717.39
8.1.70.0030.00317.35
8.1.60.0030.00917.47
8.1.50.0000.00717.31
8.1.40.0000.00717.29
8.1.30.0070.00017.47
8.1.20.0040.00417.58
8.1.10.0040.00417.42
8.1.00.0000.00717.21
8.0.300.0000.00721.95
8.0.290.0040.00416.63
8.0.280.0030.00318.36
8.0.270.0070.00017.01
8.0.260.0060.00016.70
8.0.250.0070.00016.71
8.0.240.0050.00216.75
8.0.230.0000.00616.88
8.0.220.0030.00316.68
8.0.210.0000.00716.70
8.0.200.0040.00416.84
8.0.190.0000.00716.72
8.0.180.0030.00316.83
8.0.170.0000.00916.71
8.0.160.0030.00516.78
8.0.150.0050.00216.74
8.0.140.0040.00416.73
8.0.130.0000.00613.11
8.0.120.0030.00616.68
8.0.110.0000.00716.71
8.0.100.0000.00716.85
8.0.90.0030.00316.77
8.0.80.0030.01116.69
8.0.70.0000.00716.74
8.0.60.0040.00416.77
8.0.50.0070.00016.77
8.0.30.0030.01316.69
8.0.20.0070.01216.75
8.0.10.0040.00416.92
8.0.00.0070.01216.61
7.4.330.0030.00312.78
7.4.320.0030.00316.51
7.4.300.0070.00316.50
7.4.290.0000.00616.41
7.4.280.0000.00816.41
7.4.270.0000.00716.39
7.4.260.0000.00513.20
7.4.250.0060.00316.50
7.4.240.0030.00516.50
7.4.230.0040.00416.49
7.4.220.0040.01816.50
7.4.210.0060.00816.52
7.4.200.0030.00316.52
7.4.190.0030.00316.55
7.4.160.0050.01016.32
7.4.150.0100.00716.30
7.4.140.0090.01116.36
7.4.130.0060.01316.40
7.4.120.0100.00616.23
7.4.110.0120.00616.34
7.4.100.0120.00616.33
7.4.90.0140.00316.39
7.4.80.0070.01019.39
7.4.70.0000.01416.48
7.4.60.0100.00716.36
7.4.50.0000.00815.95
7.4.40.0060.00916.38
7.4.30.0100.00816.52
7.4.00.0100.00714.57
7.3.330.0000.00713.16
7.3.320.0030.00313.20
7.3.310.0040.00416.13
7.3.300.0060.00016.13
7.3.290.0060.00816.18
7.3.280.0070.01016.16
7.3.270.0100.01316.42
7.3.260.0100.01016.31
7.3.250.0110.01016.27
7.3.240.0110.00416.40
7.3.230.0100.00716.43
7.3.210.0100.01316.20
7.3.200.0090.00816.25
7.3.190.0120.00916.42
7.3.180.0040.01116.16
7.3.170.0030.01316.30
7.3.160.0080.00816.36
7.3.120.0000.01414.63
7.2.330.0080.01316.46
7.2.320.0150.00316.50
7.2.310.0040.01416.16
7.2.300.0060.01616.32
7.2.290.0030.01416.55
7.2.00.0060.00619.35
7.1.100.0090.00317.79
7.1.70.0060.00816.87
7.1.60.0090.01519.17
7.1.50.0060.01816.76
7.1.00.0070.06722.30
7.0.200.0060.00316.41
7.0.140.0000.07722.21
7.0.120.0000.07022.05
7.0.60.0170.07719.95
7.0.50.0030.08317.95
7.0.40.0030.08720.04
7.0.30.0270.03320.27
7.0.20.0170.04320.12
7.0.10.0030.05320.10
7.0.00.0100.07320.16
5.6.280.0030.07321.15
5.6.210.0130.07720.63
5.6.200.0000.08718.19
5.6.190.0000.05320.64
5.6.180.0230.07020.61
5.6.170.0230.04020.55
5.6.160.0000.09020.55
5.6.150.0000.09018.14
5.6.140.0070.07718.28
5.6.130.0030.04018.17
5.6.120.0070.08320.97
5.6.110.0100.07321.01
5.6.100.0030.08021.13
5.6.90.0000.05020.98
5.6.80.0070.08020.38
5.5.350.0200.03020.33
5.5.340.0070.08017.95
5.5.330.0070.08320.13
5.5.320.0300.06320.24
5.5.310.0470.06720.42
5.5.300.0100.07017.91
5.5.290.0170.07318.08
5.5.280.0170.07720.88
5.5.270.0070.08720.73
5.5.260.0100.03720.72
5.5.250.0170.06020.66
5.5.240.0100.07320.35
5.4.450.0070.07019.45
5.4.440.0000.07019.47
5.4.430.0100.07019.59
5.4.420.0070.07719.20
5.4.410.0100.07719.04
5.4.400.0130.07319.14
5.4.390.0070.04719.07
5.4.380.0000.04319.12
5.4.370.0030.04319.24
5.4.360.0030.04019.17
5.4.350.0070.04319.12
5.4.340.0100.08318.85
5.4.320.0070.03718.98
5.4.310.0130.03319.10
5.4.300.0070.07719.00
5.4.290.0070.06019.23
5.4.280.0070.04319.24
5.4.270.0070.07719.14
5.4.260.0100.08318.85
5.4.250.0100.04318.87
5.4.240.0100.04718.85
5.4.230.0100.06718.96
5.4.220.0030.05018.85
5.4.210.0100.07319.15
5.4.200.0100.08719.14
5.4.190.0030.08018.86
5.4.180.0030.06319.23
5.4.170.0070.06018.91
5.4.160.0130.04018.96
5.4.150.0000.06318.96
5.4.140.0100.07016.32
5.4.130.0130.06716.56
5.4.120.0070.06016.55
5.4.110.0200.05716.53
5.4.100.0070.03716.30
5.4.90.0000.05016.43
5.4.80.0030.06016.40
5.4.70.0100.08016.49
5.4.60.0100.03716.51
5.4.50.0100.07016.38
5.4.40.0130.06016.38
5.4.30.0170.06316.27
5.4.20.0200.05016.41
5.4.10.0100.03716.50
5.4.00.0030.05015.82
5.3.290.0000.04314.72
5.3.280.0100.06714.48
5.3.270.0130.05714.62
5.3.260.0070.08314.68
5.3.250.0030.07714.59
5.3.240.0100.07314.63
5.3.230.0070.07714.48
5.3.220.0000.08014.56
5.3.210.0070.07714.57
5.3.200.0030.04314.56
5.3.190.0030.04014.49
5.3.180.0070.04314.48
5.3.170.0030.04314.72
5.3.160.0070.08014.56
5.3.150.0070.08014.57
5.3.140.0070.07314.56
5.3.130.0030.04714.63
5.3.120.0070.08014.56
5.3.110.0000.06014.55
5.3.100.0070.04314.19
5.3.90.0000.07013.94
5.3.80.0030.06014.07
5.3.70.0100.04713.98
5.3.60.0030.05014.01
5.3.50.0030.03713.98
5.3.40.0030.05014.11
5.3.30.0000.05313.93
5.3.20.0030.06313.63
5.3.10.0100.06713.61
5.3.00.0030.07313.60
5.2.170.0030.03311.07
5.2.160.0100.05711.29
5.2.150.0130.05011.22
5.2.140.0000.03311.09
5.2.130.0230.02011.26
5.2.120.0100.05711.16
5.2.110.0130.05311.17
5.2.100.0070.04011.17
5.2.90.0030.05010.98
5.2.80.0030.06011.09
5.2.70.0070.03311.16
5.2.60.0100.06311.09
5.2.50.0100.04311.00
5.2.40.0130.05710.98
5.2.30.0000.05010.92
5.2.20.0030.03010.96
5.2.10.0000.03010.89
5.2.00.0000.05010.85
5.1.60.0100.04310.04
5.1.50.0100.04310.04
5.1.40.0030.0579.97
5.1.30.0070.05310.49
5.1.20.0030.02310.40
5.1.10.0030.02710.08
5.1.00.0000.02710.11
5.0.50.0000.0278.59
5.0.40.0000.0278.32
5.0.30.0070.0278.27
5.0.20.0030.0438.34
5.0.10.0030.0338.19
5.0.00.0030.0378.07
4.4.90.0070.0308.04
4.4.80.0030.0338.04
4.4.70.0030.0238.04
4.4.60.0000.0178.04
4.4.50.0070.0138.04
4.4.40.0130.0378.04
4.4.30.0000.0308.04
4.4.20.0000.0308.04
4.4.10.0000.0208.04
4.4.00.0070.0438.04
4.3.110.0000.0208.04
4.3.100.0070.0178.04
4.3.90.0000.0238.04
4.3.80.0030.0338.04
4.3.70.0000.0308.04
4.3.60.0000.0238.04
4.3.50.0000.0238.04
4.3.40.0000.0378.04
4.3.30.0000.0308.04
4.3.20.0070.0178.04
4.3.10.0000.0378.04
4.3.00.0030.0338.04

preferences:
48.69 ms | 401 KiB | 5 Q