3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all_lines = file('http://www.facebook.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.0040.01118.68
8.3.50.0130.00722.02
8.3.40.0120.00318.98
8.3.30.0180.00019.09
8.3.20.0000.00920.66
8.3.10.0040.00423.78
8.3.00.0000.00821.09
8.2.180.0000.01816.63
8.2.170.0120.00322.96
8.2.160.0100.00320.69
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00319.53
8.2.110.0060.00322.30
8.2.100.0060.00617.91
8.2.90.0040.00418.16
8.2.80.0040.00417.97
8.2.70.0030.00617.88
8.2.60.0080.00018.05
8.2.50.0050.00318.07
8.2.40.0000.00820.13
8.2.30.0070.00018.39
8.2.20.0090.00017.82
8.2.10.0030.00518.14
8.2.00.0040.00417.95
8.1.280.0120.00925.92
8.1.270.0080.00024.21
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00322.62
8.1.230.0090.00321.11
8.1.220.0080.00017.91
8.1.210.0060.00319.10
8.1.200.0100.00517.48
8.1.190.0000.01017.35
8.1.180.0000.00818.10
8.1.170.0040.00418.76
8.1.160.0000.00722.22
8.1.150.0060.00318.89
8.1.140.0050.00317.71
8.1.130.0030.00318.04
8.1.120.0040.00417.57
8.1.110.0040.00417.59
8.1.100.0000.00817.55
8.1.90.0000.00717.55
8.1.80.0030.00317.57
8.1.70.0000.00817.56
8.1.60.0120.00217.84
8.1.50.0050.00317.57
8.1.40.0030.00617.64
8.1.30.0030.00517.78
8.1.20.0040.00417.77
8.1.10.0000.00817.63
8.1.00.0040.00417.46
8.0.300.0000.00820.27
8.0.290.0000.00817.43
8.0.280.0000.00718.64
8.0.270.0000.00817.37
8.0.260.0030.00317.35
8.0.250.0030.00317.22
8.0.240.0070.00017.26
8.0.230.0000.00817.16
8.0.220.0080.00017.03
8.0.210.0040.00417.11
8.0.200.0000.00717.18
8.0.190.0040.00417.16
8.0.180.0030.00617.10
8.0.170.0060.00317.23
8.0.160.0060.00317.13
8.0.150.0040.00417.03
8.0.140.0000.00717.02
8.0.130.0030.00313.62
8.0.120.0000.00917.09
8.0.110.0080.00017.22
8.0.100.0060.00317.21
8.0.90.0030.00517.05
8.0.80.0080.00917.14
8.0.70.0000.00817.08
8.0.60.0040.00417.17
8.0.50.0040.00417.16
8.0.30.0090.01117.26
8.0.20.0150.00717.40
8.0.10.0000.00817.12
8.0.00.0130.00616.85
7.4.330.0000.00515.25
7.4.320.0060.00016.68
7.4.300.0000.00716.63
7.4.290.0000.01016.72
7.4.280.0000.00716.63
7.4.270.0030.00316.71
7.4.260.0000.00816.82
7.4.250.0040.00416.80
7.4.240.0030.00516.79
7.4.230.0020.00516.63
7.4.220.0100.01016.93
7.4.210.0090.00616.76
7.4.200.0030.00316.64
7.4.190.0030.00616.62
7.4.160.0100.00616.67
7.4.150.0120.00617.40
7.4.140.0170.00117.86
7.4.130.0120.00616.90
7.4.120.0060.01116.70
7.4.110.0060.01216.84
7.4.100.0130.00616.65
7.4.90.0170.00616.77
7.4.80.0130.00719.39
7.4.70.0130.00316.75
7.4.60.0090.00916.66
7.4.50.0050.00316.58
7.4.40.0060.01016.81
7.4.30.0200.00316.73
7.4.00.0000.01215.15
7.3.330.0030.00313.50
7.3.320.0050.00313.25
7.3.310.0040.00416.50
7.3.300.0080.00016.52
7.3.290.0030.01116.59
7.3.280.0060.01016.50
7.3.270.0040.01417.40
7.3.260.0160.00416.49
7.3.250.0100.01316.59
7.3.240.0070.01016.65
7.3.230.0060.01216.86
7.3.210.0090.00916.38
7.3.200.0140.00419.39
7.3.190.0070.01016.57
7.3.180.0100.01416.38
7.3.170.0030.01916.63
7.3.160.0130.00316.59
7.3.120.0060.01215.04
7.3.10.0090.00616.57
7.3.00.0050.00517.05
7.2.330.0100.01016.64
7.2.320.0110.00716.97
7.2.310.0160.00316.52
7.2.300.0070.01016.98
7.2.290.0170.00216.96
7.2.130.0070.01017.18
7.2.120.0090.00316.93
7.2.110.0030.01317.11
7.2.100.0120.00317.20
7.2.90.0060.00617.08
7.2.80.0000.01417.11
7.2.70.0040.00817.09
7.2.60.0050.00817.09
7.2.50.0040.01116.98
7.2.40.0070.00716.96
7.2.30.0060.00617.10
7.2.20.0080.00416.85
7.2.10.0070.01017.04
7.2.00.0110.00718.34
7.1.250.0060.00915.94
7.1.200.0050.00515.94
7.1.100.0040.00818.58
7.1.70.0050.00317.05
7.1.60.0130.01319.70
7.1.50.0070.01517.25
7.1.00.0030.07722.96
7.0.200.0080.00417.09
7.0.140.0100.06722.38
7.0.60.0130.07720.42
7.0.50.0030.04018.17
7.0.40.0030.09020.59
7.0.30.0570.06720.51
7.0.20.0370.06720.42
7.0.10.0130.04720.48
7.0.00.0030.09020.46
5.6.280.0130.06721.28
5.6.210.0030.08721.08
5.6.200.0070.08718.49
5.6.190.0000.06321.11
5.6.180.0530.06721.13
5.6.170.0370.03020.83
5.6.160.0100.07320.78
5.6.150.0070.07318.48
5.6.140.0200.02718.57
5.6.130.0070.04718.64
5.6.120.0030.04721.34
5.6.110.0130.04721.39
5.6.100.0170.06021.42
5.6.90.0070.07721.26
5.6.80.0070.07320.92
5.5.350.0130.06320.94
5.5.340.0000.09018.36
5.5.330.0100.04020.77
5.5.320.0000.08320.66
5.5.310.0370.04020.62
5.5.300.0070.07018.36
5.5.290.0030.08318.23
5.5.280.0170.07321.40
5.5.270.0100.07721.23
5.5.260.0170.07321.08
5.5.250.0130.07721.21
5.5.240.0030.07720.44
5.4.450.4300.04319.93
5.4.440.3570.03719.86
5.4.430.3400.03719.88
5.4.420.3430.03720.00
5.4.410.3370.03319.76
5.4.400.3630.04019.73
5.4.390.4130.04019.57
5.4.380.3530.03719.70
5.4.370.3370.04319.64
5.4.360.3700.04019.59
5.4.350.3630.03719.64
5.4.340.3470.03719.80
5.4.320.2570.04019.62
5.4.310.2270.04719.73
5.4.300.3000.03319.58
5.4.290.2630.04019.67
5.4.280.3630.03719.58
5.4.270.3800.04319.58
5.4.260.4330.03719.65
5.4.250.4400.04019.68
5.4.240.3200.03719.67
5.4.230.3570.04319.74
5.4.220.4300.02719.65
5.4.210.3900.04019.59
5.4.200.3670.03719.62
5.4.190.3670.03719.72
5.4.180.3600.03719.66
5.4.170.3600.03319.62
5.4.160.3830.04319.61
5.4.150.3500.03719.69
5.4.140.3600.03716.97
5.4.130.3730.03717.00
5.4.120.3370.03317.06
5.4.110.3570.04016.95
5.4.100.3530.03017.13
5.4.90.3770.03717.23
5.4.80.3430.02317.03
5.4.70.3500.04017.17
5.4.60.3200.03016.98
5.4.50.3630.03716.91
5.4.40.4170.03016.98
5.4.30.3930.03016.94
5.4.20.3770.03716.97
5.4.10.4130.03717.01
5.4.00.4370.03316.55
5.3.290.2770.03315.16
5.3.280.3270.04014.79
5.3.270.3400.03315.06
5.3.260.3570.04314.80
5.3.250.3570.03714.96
5.3.240.3370.03715.10
5.3.230.3630.04314.93
5.3.220.3600.04315.06
5.3.210.3570.04315.05
5.3.200.3370.02714.96
5.3.190.3800.04015.01
5.3.180.3570.04314.98
5.3.170.3600.03714.95
5.3.160.3430.03314.96
5.3.150.3600.03714.75
5.3.140.4130.03714.88
5.3.130.4330.04015.04
5.3.120.4170.04714.83
5.3.110.3570.03715.04
5.3.100.4200.04314.23
5.3.90.4330.03314.33
5.3.80.4070.04314.34
5.3.70.4170.03714.36
5.3.60.5030.03314.31
5.3.50.4330.03314.16
5.3.40.4000.03714.24
5.3.30.4400.03714.21
5.3.20.4570.04014.05
5.3.10.3600.03313.85
5.3.00.3430.02714.06
5.2.170.3770.04011.64
5.2.160.3630.02311.46
5.2.150.3570.02311.47
5.2.140.3630.03011.55
5.2.130.2900.03011.40
5.2.120.2770.03711.57
5.2.110.3170.03311.25
5.2.100.2730.03011.37
5.2.90.2800.03011.53
5.2.80.2830.02711.36
5.2.70.2930.02011.51
5.2.60.3600.01711.28
5.2.50.2800.02711.29
5.2.40.2300.02311.25
5.2.30.2270.02311.47
5.2.20.2170.03311.40
5.2.10.2500.02711.14
5.2.00.2370.03011.00
5.1.60.2700.02310.35
5.1.50.2600.02710.44
5.1.40.2870.02310.40
5.1.30.2570.02310.66
5.1.20.3000.03010.63
5.1.10.3100.02010.41
5.1.00.3000.03010.52
5.0.50.1330.0238.85
5.0.40.1730.0238.63
5.0.30.1700.0338.69
5.0.20.1370.0208.36
5.0.10.1370.0208.52
5.0.00.1370.0308.60
4.4.90.1130.0138.03
4.4.80.1130.0138.03
4.4.70.1200.0138.03
4.4.60.1130.0138.03
4.4.50.1130.0138.03
4.4.40.1470.0308.03
4.4.30.1370.0178.03
4.4.20.1730.0178.03
4.4.10.1370.0178.03
4.4.00.1800.0238.03
4.3.110.1700.0178.03
4.3.100.1730.0178.03
4.3.90.1770.0178.03
4.3.80.1730.0238.03
4.3.70.1800.0138.03
4.3.60.1670.0138.03
4.3.50.1730.0178.03
4.3.40.1700.0278.03
4.3.30.0870.0208.03
4.3.20.0970.0238.03
4.3.10.0970.0208.03
4.3.00.0930.0178.03

preferences:
46.51 ms | 401 KiB | 5 Q