3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.google.com'; $output = file_get_contents($url); echo $output; ?>

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.0120.00318.68
8.3.50.0070.01122.08
8.3.40.0140.00019.12
8.3.30.0060.00919.35
8.3.20.0050.00320.54
8.3.10.0000.00822.42
8.3.00.0070.00020.92
8.2.180.0000.01516.75
8.2.170.0110.00722.96
8.2.160.0110.00319.29
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0060.01326.16
8.2.120.0090.00019.63
8.2.110.0070.00421.23
8.2.100.0120.00018.16
8.2.90.0000.00819.42
8.2.80.0030.00818.05
8.2.70.0090.00017.74
8.2.60.0060.00618.29
8.2.50.0080.00018.10
8.2.40.0070.00320.01
8.2.30.0000.00818.12
8.2.20.0070.00017.93
8.2.10.0000.00817.99
8.2.00.0040.00418.06
8.1.280.0090.00625.92
8.1.270.0000.00922.25
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00319.25
8.1.230.0040.00720.51
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0030.00717.48
8.1.190.0060.00317.35
8.1.180.0030.00518.10
8.1.170.0030.00518.83
8.1.160.0040.00422.32
8.1.150.0000.00818.66
8.1.140.0060.00317.54
8.1.130.0070.00017.90
8.1.120.0000.00817.56
8.1.110.0040.00417.41
8.1.100.0040.00417.60
8.1.90.0000.00717.56
8.1.80.0070.00017.54
8.1.70.0070.00017.41
8.1.60.0050.00317.60
8.1.50.0040.00417.60
8.1.40.0060.00317.57
8.1.30.0070.00017.72
8.1.20.0030.00617.71
8.1.10.0030.00617.60
8.1.00.0040.00417.46
8.0.300.0000.00918.77
8.0.290.0000.00817.00
8.0.280.0050.00218.63
8.0.270.0000.00717.43
8.0.260.0000.00817.11
8.0.250.0040.00417.20
8.0.240.0030.00317.19
8.0.230.0050.00217.21
8.0.220.0040.00417.13
8.0.210.0000.00816.98
8.0.200.0040.00417.11
8.0.190.0090.00017.13
8.0.180.0000.00717.05
8.0.170.0000.00717.07
8.0.160.0050.00217.09
8.0.150.0050.00216.98
8.0.140.0070.00016.99
8.0.130.0030.00313.57
8.0.120.0060.00317.17
8.0.110.0040.00417.07
8.0.100.0070.00017.20
8.0.90.0040.00417.06
8.0.80.0080.00817.16
8.0.70.0000.00817.12
8.0.60.0070.00017.21
8.0.50.0000.00717.18
8.0.30.0100.00917.13
8.0.20.0140.00617.40
8.0.10.0040.00417.26
8.0.00.0060.01216.75
7.4.330.0050.00015.36
7.4.320.0060.00016.77
7.4.300.0030.00316.63
7.4.290.0000.00816.51
7.4.280.0070.00016.64
7.4.270.0040.00416.57
7.4.260.0030.00316.64
7.4.250.0030.00516.71
7.4.240.0050.00316.73
7.4.230.0000.00716.75
7.4.220.0140.00416.76
7.4.210.0050.01216.69
7.4.200.0070.00016.50
7.4.190.0000.00716.56
7.4.160.0080.00816.51
7.4.150.0140.00617.40
7.4.140.0110.00917.86
7.4.130.0070.01216.70
7.4.120.0080.01116.67
7.4.110.0130.00716.79
7.4.100.0090.00916.73
7.4.90.0040.01416.63
7.4.80.0060.01619.39
7.4.70.0070.01416.75
7.4.60.0180.00316.65
7.4.50.0000.00916.55
7.4.40.0060.00922.77
7.4.30.0110.01116.65
7.4.00.0060.01215.02
7.3.330.0030.00313.29
7.3.320.0030.00313.35
7.3.310.0070.00016.48
7.3.300.0050.00316.49
7.3.290.0090.00616.48
7.3.280.0030.01516.57
7.3.270.0120.00617.40
7.3.260.0110.01016.61
7.3.250.0070.01116.53
7.3.240.0100.00716.61
7.3.230.0080.01316.70
7.3.210.0090.00916.68
7.3.200.0070.01119.39
7.3.190.0120.00916.58
7.3.180.0060.01016.48
7.3.170.0070.01016.55
7.3.160.0110.00516.46
7.3.120.0030.01315.00
7.2.330.0060.01216.79
7.2.320.0070.01116.81
7.2.310.0090.01216.68
7.2.300.0070.01116.78
7.2.290.0120.00616.73
7.2.60.0030.01016.71
7.2.00.0100.00319.73
7.1.200.0030.01015.82
7.1.100.0000.01018.44
7.1.70.0080.00217.14
7.1.60.0100.01619.82
7.1.50.0000.01817.14
7.1.00.0070.07322.92
7.0.200.0110.00316.69
7.0.140.0000.07322.35
7.0.60.0070.03720.30
7.0.50.0230.03318.25
7.0.40.0100.04020.60
7.0.30.0230.06320.54
7.0.20.0300.06020.63
7.0.10.0030.09020.56
7.0.00.0070.07720.50
5.6.280.0000.07721.19
5.6.210.0170.06721.04
5.6.200.0100.04718.45
5.6.190.0100.03721.14
5.6.180.0470.06721.11
5.6.170.0330.03720.79
5.6.160.0100.06720.78
5.6.150.0170.07018.54
5.6.140.0100.08018.50
5.6.130.0070.08318.61
5.6.120.0070.04021.34
5.6.110.0100.03721.27
5.6.100.0070.05321.52
5.6.90.0130.07721.26
5.6.80.0070.08320.82
5.6.70.3170.03020.87
5.5.350.0000.09020.84
5.5.340.0130.06718.21
5.5.330.0100.03720.74
5.5.320.0330.06720.77
5.5.310.0330.07320.60
5.5.300.0070.04018.36
5.5.290.0070.06718.36
5.5.280.0130.07721.09
5.5.270.0000.04321.07
5.5.260.0070.08720.99
5.5.250.0170.06720.89
5.5.240.0170.05020.42
5.4.450.0230.04719.60
5.4.440.0800.04719.84
5.4.430.0370.06019.56
5.4.420.1100.06319.70
5.4.410.0030.07718.83
5.4.400.3000.00018.83
5.4.390.0900.00018.95
5.4.380.0270.07018.68
5.4.370.1230.04718.71
5.4.360.0930.04318.71
5.4.350.0670.06319.15
5.4.340.0900.05318.71
5.4.320.0040.03712.68
5.4.310.0040.04012.67
5.4.300.0030.03812.68
5.4.290.0050.03912.67
5.4.280.0100.05012.57
5.4.270.0050.03612.57
5.4.260.0070.05719.07
5.4.250.0070.05318.84
5.4.240.0030.05719.19
5.4.230.0130.04719.23
5.4.220.0100.05319.17
5.4.210.0030.06719.01
5.4.200.0070.05318.90
5.4.190.0000.06019.04
5.4.180.0070.07019.04
5.4.170.0100.05719.19
5.4.160.0130.04719.00
5.4.150.0170.04718.89
5.4.140.0100.05016.77
5.4.130.0200.03716.66
5.4.120.0200.06016.75
5.4.110.0070.05316.68
5.4.100.0130.04316.73
5.4.90.0200.04316.70
5.4.80.0100.04316.79
5.4.70.0000.05716.82
5.4.60.0000.05716.68
5.4.50.0070.04716.70
5.4.40.0100.04716.71
5.4.30.0030.05316.79
5.4.20.0130.04016.67
5.4.10.0100.04716.85
5.4.00.0170.05316.20
5.3.290.0020.04712.88
5.3.280.0030.05314.69
5.3.270.0130.04714.80
5.3.260.0030.07714.72
5.3.250.0070.05314.85
5.3.240.0070.05314.88
5.3.230.0130.07014.88
5.3.220.0230.03714.70
5.3.210.0030.06314.64
5.3.200.0100.04714.66
5.3.190.0100.07014.70
5.3.180.0130.06714.75
5.3.170.0070.05014.70
5.3.160.0030.05714.50
5.3.150.0100.05314.67
5.3.140.0070.05014.57
5.3.130.0100.05014.68
5.3.120.0070.05314.58
5.3.110.0170.06014.57
5.3.100.0070.05014.11
5.3.90.0030.07714.29
5.3.80.0030.07714.21
5.3.70.0130.06314.11
5.3.60.0030.05314.07
5.3.50.0070.05314.07
5.3.40.0070.05014.27
5.3.30.0100.06314.04
5.3.20.0130.05313.80
5.3.10.0130.06013.77
5.3.00.0030.05313.76
5.2.170.0000.04711.40
5.2.160.0070.05311.25
5.2.150.0130.04011.27
5.2.140.0070.04011.21
5.2.130.0130.03011.27
5.2.120.0070.05711.13
5.2.110.0100.03311.20
5.2.100.0000.04311.37
5.2.90.0070.04011.21
5.2.80.0100.04011.41
5.2.70.0100.03711.21
5.2.60.0030.04311.11
5.2.50.0130.03311.21
5.2.40.0100.03311.10
5.2.30.0100.04011.00
5.2.20.0070.05011.28
5.2.10.0030.05311.18
5.2.00.0030.04010.82
5.1.60.0030.03710.10
5.1.50.0100.0279.93
5.1.40.0070.03710.09
5.1.30.0030.03710.46
5.1.20.0030.03710.68
5.1.10.0100.02710.08
5.1.00.0070.03310.25
5.0.50.0000.0338.89
5.0.40.0100.0208.75
5.0.30.0100.0378.30
5.0.20.0070.0238.30
5.0.10.0070.0238.30
5.0.00.0030.0438.17
4.4.90.0000.0235.92
4.4.80.0030.0205.88
4.4.70.0000.0235.87
4.4.60.0070.0175.85
4.4.50.0000.0236.03
4.4.40.0000.0336.01
4.4.30.0030.0205.97
4.4.20.0070.0205.93
4.4.10.0030.0205.95
4.4.00.0030.0335.87
4.3.110.0070.0175.82
4.3.100.0000.0335.82
4.3.90.0070.0275.87
4.3.80.0030.0305.76
4.3.70.0000.0235.81
4.3.60.0070.0175.81
4.3.50.0030.0205.79
4.3.40.0000.0405.76
4.3.30.0000.0235.25
4.3.20.0000.0335.25
4.3.10.0070.0205.25
4.3.00.0130.0336.78

preferences:
51.22 ms | 401 KiB | 5 Q