3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all_lines = file('http://www.google.com'); foreach ($all_lines as $line_num => $line) { echo "Line No.-{$line_num}: " . htmlspecialchars($line) . "<br />\n"; } ?>

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.0080.00818.65
8.3.50.0110.00822.90
8.3.40.0000.01518.91
8.3.30.0150.00319.33
8.3.20.0080.00020.55
8.3.10.0070.00023.98
8.3.00.0040.00419.63
8.2.180.0080.00816.75
8.2.170.0070.00722.96
8.2.160.0140.00020.51
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0140.00326.16
8.2.120.0030.00621.26
8.2.110.0060.00320.78
8.2.100.0040.00718.34
8.2.90.0000.00919.39
8.2.80.0000.00817.97
8.2.70.0000.00917.75
8.2.60.0000.00818.16
8.2.50.0040.00418.07
8.2.40.0040.00420.07
8.2.30.0000.00818.23
8.2.20.0080.00017.77
8.2.10.0050.00318.39
8.2.00.0080.00017.96
8.1.280.0100.01025.92
8.1.270.0000.00924.14
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0030.00624.16
8.1.230.0060.00619.26
8.1.220.0080.00017.90
8.1.210.0000.00818.77
8.1.200.0000.00917.47
8.1.190.0090.00017.35
8.1.180.0000.00818.10
8.1.170.0030.00618.91
8.1.160.0060.00322.13
8.1.150.0050.00319.01
8.1.140.0030.00517.65
8.1.130.0030.00318.00
8.1.120.0050.00317.53
8.1.110.0040.00417.55
8.1.100.0040.00417.55
8.1.90.0000.00717.51
8.1.80.0000.00717.61
8.1.70.0000.00717.50
8.1.60.0040.00417.72
8.1.50.0040.00417.77
8.1.40.0000.00917.58
8.1.30.0030.00617.72
8.1.20.0000.00817.75
8.1.10.0080.00017.56
8.1.00.0080.00017.51
8.0.300.0060.00318.77
8.0.290.0000.00716.88
8.0.280.0000.00718.58
8.0.270.0000.00717.48
8.0.260.0000.00617.33
8.0.250.0070.00017.14
8.0.240.0030.00317.12
8.0.230.0000.00817.09
8.0.220.0000.00717.03
8.0.210.0040.00417.09
8.0.200.0030.00317.14
8.0.190.0030.00717.14
8.0.180.0040.00417.09
8.0.170.0080.00017.14
8.0.160.0040.00417.09
8.0.150.0050.00316.86
8.0.140.0040.00417.14
8.0.130.0080.00013.65
8.0.120.0000.00817.03
8.0.110.0030.00517.17
8.0.100.0040.00417.07
8.0.90.0050.00317.25
8.0.80.0110.01117.23
8.0.70.0000.00817.16
8.0.60.0050.00317.13
8.0.50.0080.00017.24
8.0.30.0090.01117.32
8.0.20.0180.00217.42
8.0.10.0000.00917.35
8.0.00.0150.00716.92
7.4.330.0030.00315.52
7.4.320.0000.00616.73
7.4.300.0030.00316.65
7.4.290.0000.00716.78
7.4.280.0030.00616.64
7.4.270.0030.00316.63
7.4.260.0090.00016.52
7.4.250.0080.00016.70
7.4.240.0050.00216.81
7.4.230.0040.00416.92
7.4.220.0080.01216.80
7.4.210.0130.00716.71
7.4.200.0000.00716.87
7.4.160.0100.00716.75
7.4.150.0180.00017.40
7.4.140.0130.00517.86
7.4.130.0120.00916.68
7.4.120.0130.00516.66
7.4.110.0070.01016.73
7.4.100.0100.01016.60
7.4.90.0130.00616.83
7.4.80.0120.00619.39
7.4.70.0130.00616.50
7.4.60.0000.01816.71
7.4.50.0050.00016.59
7.4.40.0120.00916.96
7.4.30.0110.00616.74
7.4.00.0070.01014.95
7.3.330.0060.00013.28
7.3.320.0050.00013.32
7.3.310.0000.00716.38
7.3.300.0030.00316.40
7.3.290.0070.00716.55
7.3.280.0100.00616.51
7.3.270.0090.00917.40
7.3.260.0100.01016.55
7.3.250.0050.01316.50
7.3.240.0060.01216.52
7.3.230.0100.01016.63
7.3.210.0070.01016.44
7.3.200.0130.01319.39
7.3.190.0100.00716.39
7.3.180.0100.00616.53
7.3.170.0110.00916.57
7.3.160.0060.01116.72
7.3.10.0070.00316.70
7.3.00.0070.00716.97
7.2.330.0130.01016.89
7.2.320.0070.01016.94
7.2.310.0090.01616.63
7.2.300.0100.00716.78
7.2.290.0100.00716.81
7.2.130.0060.00917.12
7.2.120.0000.01817.25
7.2.110.0040.00716.77
7.2.100.0080.00317.15
7.2.90.0060.00917.28
7.2.80.0060.00617.05
7.2.70.0100.00717.19
7.2.60.0060.00516.97
7.2.50.0040.00717.03
7.2.40.0090.00617.25
7.2.30.0040.01016.96
7.2.20.0000.01416.88
7.2.10.0000.01417.30
7.2.00.0030.01018.24
7.1.250.0040.00916.11
7.1.200.0040.01115.82
7.1.100.0030.01018.61
7.1.70.0080.00817.19
7.1.60.0070.01519.40
7.1.50.0060.01517.35
7.1.00.0030.07322.92
7.0.200.0150.00016.68
7.0.140.0000.07322.26
7.0.60.0030.06720.20
7.0.50.0130.03318.05
7.0.40.0000.05020.61
7.0.30.0330.07320.63
7.0.20.0300.08020.49
7.0.10.0100.04320.47
7.0.00.0070.09020.59
5.6.280.0000.07721.38
5.6.210.0170.07321.11
5.6.200.0030.08018.56
5.6.190.0100.06721.06
5.6.180.0270.04721.07
5.6.170.0270.07720.83
5.6.160.0070.04020.85
5.6.150.0170.07018.42
5.6.140.0130.06318.65
5.6.130.0100.07718.73
5.6.120.0030.08321.54
5.6.110.0130.08321.37
5.6.100.0230.06721.27
5.6.90.0030.05721.52
5.6.80.0100.07720.93
5.5.350.0330.07720.61
5.5.340.0030.07718.41
5.5.330.0100.04020.84
5.5.320.0070.04320.68
5.5.310.0330.05720.66
5.5.300.0070.03718.45
5.5.290.0030.04018.18
5.5.280.0030.08021.29
5.5.270.0000.04721.29
5.5.260.0030.09021.29
5.5.250.0230.06321.01
5.5.240.0030.07720.44
5.4.450.0800.07019.68
5.4.440.0930.04719.81
5.4.430.1170.06719.59
5.4.420.0130.04719.74
5.4.410.0130.05719.25
5.4.400.0270.06018.70
5.4.390.0430.05018.69
5.4.380.0130.06018.85
5.4.370.0300.05719.08
5.4.360.0630.05318.82
5.4.350.0050.04212.19
5.4.340.0080.04612.19
5.4.320.0050.03712.68
5.4.310.0080.03512.67
5.4.300.0050.03712.68
5.4.290.0070.03812.68
5.4.280.0040.03712.57
5.4.270.0070.03512.57
5.4.260.0050.03912.57
5.4.250.0100.03312.57
5.4.240.0050.03712.58
5.4.230.0070.03912.57
5.4.220.0050.03812.57
5.4.210.0040.05212.57
5.4.200.0050.03812.57
5.4.190.0050.03712.56
5.4.180.0050.03712.57
5.4.170.0040.03712.57
5.4.160.0080.03412.56
5.4.150.0080.03812.56
5.4.140.0050.03712.24
5.4.130.0020.03912.23
5.4.120.0090.03112.20
5.4.110.0070.04312.19
5.4.100.0080.03412.18
5.4.90.0050.03912.19
5.4.80.0060.04112.19
5.4.70.0070.03812.18
5.4.60.0080.03312.18
5.4.50.0050.03712.18
5.4.40.0060.03412.17
5.4.30.0040.04012.16
5.4.20.0090.03312.17
5.4.10.0040.03612.17
5.4.00.0090.03911.66
5.3.290.0100.03812.88
5.3.280.0070.03712.81
5.3.270.0030.04212.82
5.3.260.0060.04012.83
5.3.250.0060.03812.82
5.3.240.0040.03912.82
5.3.230.0080.03612.82
5.3.220.0080.03612.79
5.3.210.0090.03612.79
5.3.200.0090.03412.78
5.3.190.0070.03712.79
5.3.180.0050.03812.78
5.3.170.0030.04012.79
5.3.160.0070.03612.78
5.3.150.0050.03912.78
5.3.140.0070.03512.77
5.3.130.0030.04212.77
5.3.120.0040.04712.76
5.3.110.0060.03912.76
5.3.100.0060.03712.25
5.3.90.0050.03812.24
5.3.80.0050.03812.23
5.3.70.0080.04512.23
5.3.60.0040.03912.22
5.3.50.0040.03812.16
5.3.40.0040.03812.16
5.3.30.0070.03312.12
5.3.20.0060.03411.91
5.3.10.0090.03111.87
5.3.00.0080.03411.85
5.2.170.0030.0329.36
5.2.160.0070.0319.36
5.2.150.0030.0329.36
5.2.140.0090.0389.36
5.2.130.0040.0399.31
5.2.120.0050.0299.32
5.2.110.0070.0269.32
5.2.100.0060.0279.32
5.2.90.0060.0279.32
5.2.80.0060.0299.31
5.2.70.0050.0309.31
5.2.60.0040.0339.27
5.2.50.0040.0319.23
5.2.40.0030.0309.20
5.2.30.0080.0279.18
5.2.20.0040.0309.17
5.2.10.0040.0299.07
5.2.00.0100.0368.93
5.1.60.0030.0318.22
5.1.50.0040.0268.21
5.1.40.0040.0258.19
5.1.30.0050.0268.55
5.1.20.0020.0308.57
5.1.10.0080.0308.29
5.1.00.0040.0278.29
5.0.50.0050.0206.77
5.0.40.0030.0206.63
5.0.30.0040.0316.44
5.0.20.0060.0216.39
5.0.10.0040.0216.37
5.0.00.0030.0336.36
4.4.90.0050.0194.78
4.4.80.0020.0204.75
4.4.70.0050.0144.75
4.4.60.0030.0174.75
4.4.50.0030.0184.77
4.4.40.0040.0254.76
4.4.30.0030.0174.76
4.4.20.0020.0174.85
4.4.10.0040.0154.84
4.4.00.0020.0264.79
4.3.110.0030.0164.70
4.3.100.0070.0114.69
4.3.90.0020.0154.65
4.3.80.0040.0244.65
4.3.70.0040.0184.64
4.3.60.0030.0164.64
4.3.50.0030.0154.64
4.3.40.0050.0244.62
4.3.30.0020.0203.42
4.3.20.0030.0163.40
4.3.10.0010.0173.36
4.3.00.0170.0237.13

preferences:
46.57 ms | 401 KiB | 5 Q