3v4l.org

run code in 300+ PHP versions simultaneously
<?php $all_lines = file('http://www.example.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.70.0160.00618.56
8.3.60.0110.00316.88
8.3.50.0120.00722.09
8.3.40.0130.00318.78
8.3.30.0040.01119.15
8.3.20.0140.00020.50
8.3.10.0040.00422.27
8.3.00.0030.00519.63
8.2.180.0110.00816.63
8.2.170.0180.00022.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00822.33
8.2.110.0000.01722.45
8.2.100.0120.00018.03
8.2.90.0000.00919.38
8.2.80.0030.00517.97
8.2.70.0000.00917.75
8.2.60.0000.00918.16
8.2.50.0030.00518.07
8.2.40.0080.00020.13
8.2.30.0000.00819.99
8.2.20.0000.00817.96
8.2.10.0070.00018.32
8.2.00.0070.00417.80
8.1.280.0090.00625.92
8.1.270.0040.00424.07
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00024.16
8.1.230.0110.00019.36
8.1.220.0000.00817.80
8.1.210.0060.00318.77
8.1.200.0100.00017.25
8.1.190.0030.00517.48
8.1.180.0060.00318.10
8.1.170.0000.00920.50
8.1.160.0020.00522.27
8.1.150.0040.00718.84
8.1.140.0040.00417.70
8.1.130.0000.00718.03
8.1.120.0040.00417.59
8.1.110.0060.00317.61
8.1.100.0040.00417.70
8.1.90.0040.00417.48
8.1.80.0020.00517.71
8.1.70.0030.00517.58
8.1.60.0030.00617.82
8.1.50.0060.00317.64
8.1.40.0040.00417.70
8.1.30.0040.00417.59
8.1.20.0000.00717.90
8.1.10.0040.00417.55
8.1.00.0040.00417.61
8.0.300.0000.00821.04
8.0.290.0050.00317.41
8.0.280.0000.00718.55
8.0.270.0080.00017.34
8.0.260.0030.00317.36
8.0.250.0030.00317.28
8.0.240.0030.00317.05
8.0.230.0000.00717.00
8.0.220.0080.00017.05
8.0.210.0000.00717.07
8.0.200.0050.00217.05
8.0.190.0000.00817.05
8.0.180.0070.00017.13
8.0.170.0080.00017.21
8.0.160.0000.00717.20
8.0.150.0050.00217.00
8.0.140.0040.00417.02
8.0.130.0000.00613.65
8.0.120.0080.00017.11
8.0.110.0000.00917.24
8.0.100.0050.00317.05
8.0.90.0000.00717.11
8.0.80.0110.01117.20
8.0.70.0030.00517.05
8.0.60.0050.00317.20
8.0.50.0050.00217.12
8.0.30.0110.00917.34
8.0.20.0100.01117.45
8.0.10.0040.00417.15
8.0.00.0130.00816.99
7.4.330.0000.00515.00
7.4.320.0020.00516.59
7.4.300.0000.00716.62
7.4.290.0030.00316.68
7.4.280.0030.00716.53
7.4.270.0030.00316.78
7.4.260.0080.00016.64
7.4.250.0080.00016.81
7.4.240.0060.00216.76
7.4.230.0030.00316.65
7.4.220.0090.00916.80
7.4.210.0070.00916.83
7.4.200.0040.00416.78
7.4.190.0040.00416.93
7.4.160.0120.00616.80
7.4.150.0070.01117.40
7.4.140.0050.01517.86
7.4.130.0110.00716.79
7.4.120.0090.00916.66
7.4.110.0070.01316.74
7.4.100.0030.01516.78
7.4.90.0090.00916.84
7.4.80.0090.00919.39
7.4.70.0110.00716.73
7.4.60.0070.01116.75
7.4.50.0060.00317.02
7.4.40.0110.01116.69
7.4.30.0030.01416.86
7.4.00.0030.01315.30
7.3.330.0060.00013.28
7.3.320.0030.00313.22
7.3.310.0070.00016.62
7.3.300.0040.00416.47
7.3.290.0130.00616.44
7.3.280.0080.00816.47
7.3.270.0210.00017.40
7.3.260.0170.00016.51
7.3.250.0090.01316.49
7.3.240.0100.01316.82
7.3.230.0060.01816.57
7.3.210.0030.02116.58
7.3.200.0180.00019.39
7.3.190.0080.01416.64
7.3.180.0100.00616.60
7.3.170.0130.00316.64
7.3.160.0130.00716.69
7.3.120.0050.00515.11
7.2.330.0090.00916.89
7.2.320.0140.00716.82
7.2.310.0120.01116.66
7.2.300.0150.00616.65
7.2.290.0170.00316.92
7.2.60.0030.01317.02
7.2.00.0060.00619.66
7.1.200.0070.00715.98
7.1.100.0030.00618.30
7.1.70.0030.00717.05
7.1.60.0060.01919.46
7.1.50.0170.01735.01
7.1.00.0000.08022.92
7.0.200.0250.00714.66
7.0.140.0130.06722.33
7.0.100.0270.07020.28
7.0.90.0170.08320.29
7.0.80.0100.07320.28
7.0.70.0270.07320.31
7.0.60.0200.07720.14
7.0.50.0070.06720.76
7.0.40.0070.05720.44
7.0.30.0070.08320.32
7.0.20.0030.09020.40
7.0.10.0070.08720.43
7.0.00.0100.08020.52
5.6.280.0030.07721.35
5.6.250.0070.05021.02
5.6.240.0070.07720.98
5.6.230.0130.08321.01
5.6.220.0030.07020.95
5.6.210.0070.08320.83
5.6.200.0070.08321.49
5.6.190.0100.07721.53
5.6.180.0070.09021.32
5.6.170.0070.08721.25
5.6.160.0030.07321.36
5.6.150.0000.08321.39
5.6.140.0070.05321.34
5.6.130.0170.07321.35
5.6.120.0000.07021.49
5.6.110.0170.07021.38
5.6.100.0030.08321.44
5.6.90.0130.04321.47
5.6.80.0070.05720.74
5.6.70.0130.07720.78
5.6.60.0100.07720.87
5.6.50.0030.04720.98
5.6.40.0070.04020.86
5.6.30.0130.03720.86
5.6.20.0000.04320.79
5.6.10.0030.04020.72
5.6.00.0070.04720.87
5.5.380.0070.07720.70
5.5.370.0130.07020.90
5.5.360.0030.08720.75
5.5.350.0000.09320.73
5.5.340.0070.07021.26
5.5.330.0070.08021.28
5.5.320.0000.05321.25
5.5.310.0000.07721.24
5.5.300.0100.06321.30
5.5.290.0070.07721.02
5.5.280.0070.08320.99
5.5.270.0070.06321.23
5.5.260.0130.07721.17
5.5.250.0070.08321.14
5.5.240.0100.06320.47
5.5.230.0170.06720.41
5.5.220.0100.04320.40
5.5.210.0030.04720.62
5.5.200.0100.03320.54
5.5.190.0070.06320.56
5.5.180.0100.05020.59
5.5.160.0030.04020.54
5.5.150.0030.04020.58
5.5.140.0130.05720.67
5.5.130.0100.07320.54
5.5.120.0070.03320.65
5.5.110.0100.04720.43
5.5.100.0070.03320.52
5.5.90.0070.05320.34
5.5.80.0000.04020.27
5.5.70.0070.07020.52
5.5.60.0070.06020.25
5.5.50.0000.04320.43
5.5.40.0070.06720.52
5.5.30.0030.06320.50
5.5.20.0030.04020.40
5.5.10.0030.04020.30
5.5.00.0130.03020.28
5.4.450.0130.06719.73
5.4.440.0130.07319.49
5.4.430.0070.08019.61
5.4.420.0100.07319.61
5.4.410.0100.07319.77
5.4.400.0070.07719.60
5.4.390.0200.05319.31
5.4.380.0030.04719.45
5.4.370.0030.04019.39
5.4.360.0070.03719.57
5.4.350.0000.06019.27
5.4.340.0070.04319.60
5.4.320.0030.03719.37
5.4.310.0070.03319.40
5.4.300.0000.07019.59
5.4.290.0030.07019.36
5.4.280.0000.05019.49
5.4.270.0030.07719.59
5.4.260.0000.04019.34
5.4.250.0100.07319.30
5.4.240.0070.06319.30
5.4.230.0030.06319.48
5.4.220.0000.04019.47
5.4.210.0000.04019.59
5.4.200.0000.04319.29
5.4.190.0030.03719.30
5.4.180.0070.03319.29
5.4.170.0030.05019.26
5.4.160.0070.03719.27
5.4.150.0070.05019.46
5.4.140.0000.04016.77
5.4.130.0000.04016.72
5.4.120.0030.03316.73
5.4.110.0070.06716.80
5.4.100.0070.05316.73
5.4.90.0000.04016.79
5.4.80.0100.03316.75
5.4.70.0000.04316.77
5.4.60.0030.03716.63
5.4.50.0000.03716.68
5.4.40.0070.03016.80
5.4.30.0070.03316.84
5.4.20.0000.03716.77
5.4.10.0100.03016.62
5.4.00.0070.03716.32
5.3.290.0070.03714.91
5.3.280.0070.03314.86
5.3.270.0030.03314.95
5.3.260.0030.03714.77
5.3.250.0070.03014.79
5.3.240.0070.04014.86
5.3.230.0130.02714.94
5.3.220.0100.03714.74
5.3.210.0030.04714.83
5.3.200.0070.03014.74
5.3.190.0100.05014.74
5.3.180.0030.03714.73
5.3.170.0030.04314.74
5.3.160.0070.03014.82
5.3.150.0000.04014.69
5.3.140.0030.03714.69
5.3.130.0070.03714.68
5.3.120.0000.04714.68
5.3.110.0000.04714.80
5.3.100.0070.03314.29
5.3.90.0030.04014.15
5.3.80.0030.06014.26
5.3.70.0000.05314.20
5.3.60.0070.04314.17
5.3.50.0000.04314.09
5.3.40.0100.07314.19
5.3.30.0130.06714.08
5.3.20.0070.07013.84
5.3.10.0000.07313.95
5.3.00.0170.06713.88
5.2.170.0000.04311.30
5.2.160.0070.05011.32
5.2.150.0070.06311.48
5.2.140.0100.06011.27
5.2.130.0070.06011.35
5.2.120.0030.06011.16
5.2.110.0200.04011.43
5.2.100.0030.04711.23
5.2.90.0030.05311.35
5.2.80.0070.06011.20
5.2.70.0030.06011.39
5.2.60.0000.04011.31
5.2.50.0100.05711.23
5.2.40.0070.06311.14
5.2.30.0000.06011.19
5.2.20.0030.05011.09
5.2.10.0030.04310.92
5.2.00.0030.06310.98
5.1.60.0100.05010.47
5.1.50.0030.05310.47
5.1.40.0000.06010.47
5.1.30.0070.05010.57
5.1.20.0070.05710.60
5.1.10.0000.05710.47
5.1.00.0030.05310.47
5.0.50.0030.03310.47
5.0.40.0070.02010.47
5.0.30.0030.04710.47
5.0.20.0000.03710.47
5.0.10.0030.04310.47
5.0.00.0070.06310.47
4.4.90.0000.04010.47
4.4.80.0030.03710.47
4.4.70.0030.03010.47
4.4.60.0070.03310.47
4.4.50.0070.03010.47
4.4.40.0000.05310.47
4.4.30.0000.04010.47
4.4.20.0000.03710.47
4.4.10.0000.03710.47
4.4.00.0030.05010.47
4.3.110.0030.02710.47
4.3.100.0000.04010.47
4.3.90.0070.01710.47
4.3.80.0000.05310.47
4.3.70.0000.03710.47
4.3.60.0000.03710.47
4.3.50.0030.03310.47
4.3.40.0000.05010.47
4.3.30.0000.02010.47
4.3.20.0000.01710.47
4.3.10.0000.04010.47
4.3.00.0030.03710.47

preferences:
65.34 ms | 401 KiB | 5 Q