3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iter = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('/', FilesystemIterator::SKIP_DOTS), RecursiveIteratorIterator::SELF_FIRST, RecursiveIteratorIterator::CATCH_GET_CHILD); foreach ($iter as $file) { echo sprintf("%s % 10d %s %s\n", str_pad($file, 80, ' ', STR_PAD_RIGHT), $iter->getSize(), date('r', $iter->getMTime()), decoct($iter->getPerms()) ); }

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.40.0120.00318.92
8.3.30.0040.01120.36
8.3.20.0080.00020.34
8.3.10.0050.00321.92
8.3.00.0050.00322.52
8.2.170.0040.01122.96
8.2.160.0070.00722.25
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0040.00420.81
8.2.110.0060.00322.12
8.2.100.0080.00417.59
8.2.90.0040.00419.22
8.2.80.0040.00419.28
8.2.70.0030.00617.63
8.2.60.0000.00917.91
8.2.50.0040.00418.07
8.2.40.0080.00020.07
8.2.30.0040.00419.36
8.2.20.0040.00417.61
8.2.10.0030.00617.60
8.2.00.0040.00417.68
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.77
8.1.230.0060.00619.21
8.1.220.0060.00617.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0030.00617.40
8.1.180.0000.00818.88
8.1.170.0040.00418.49
8.1.160.0080.00018.85
8.1.150.0040.00418.47
8.1.140.0000.00817.25
8.1.130.0030.00317.86
8.1.120.0000.00717.35
8.1.110.0050.00317.39
8.1.100.0070.00017.45
8.1.90.0000.00717.34
8.1.80.0000.00717.43
8.1.70.0050.00217.30
8.1.60.0030.00617.52
8.1.50.0050.00217.52
8.1.40.0030.00617.40
8.1.30.0000.00817.62
8.1.20.0030.00517.69
8.1.10.0030.00617.48
8.1.00.0030.00617.51
8.0.300.0000.00818.77
8.0.290.0040.00417.03
8.0.280.0000.00718.37
8.0.270.0040.00417.16
8.0.260.0000.00716.83
8.0.250.0030.00317.02
8.0.240.0030.00617.01
8.0.230.0000.00717.04
8.0.220.0030.00316.96
8.0.210.0040.00416.89
8.0.200.0000.00716.89
8.0.190.0040.00416.88
8.0.180.0100.00016.91
8.0.170.0080.00017.00
8.0.160.0000.00716.95
8.0.150.0040.00416.92
8.0.140.0080.00016.78
8.0.130.0030.00313.52
8.0.120.0040.00416.93
8.0.110.0040.00416.91
8.0.100.0060.00316.88
8.0.90.0020.00516.82
8.0.80.0030.01316.92
8.0.70.0000.00816.82
8.0.60.0030.00516.81
8.0.50.0000.00716.76
8.0.30.0090.01117.02
8.0.20.0130.00917.40
8.0.10.0000.00716.82
8.0.00.0140.00816.81
7.4.330.0050.00215.23
7.4.320.0000.00616.44
7.4.300.0060.00016.56
7.4.290.0000.00716.58
7.4.280.0040.00416.41
7.4.270.0020.00516.39
7.4.260.0060.00313.46
7.4.250.0040.00416.55
7.4.240.0020.00516.60
7.4.230.0070.00016.38
7.4.220.0030.01816.56
7.4.210.0050.01016.46
7.4.200.0030.00316.39
7.4.190.0000.00716.39
7.4.160.0120.00316.54
7.4.150.0070.01017.40
7.4.140.0070.01017.86
7.4.130.0080.00916.59
7.4.120.0110.00816.57
7.4.110.0080.00916.63
7.4.100.0060.01316.40
7.4.90.0110.00516.64
7.4.80.0090.00619.39
7.4.70.0100.00716.51
7.4.60.0070.01516.55
7.4.50.0060.00316.29
7.4.40.0060.00922.77
7.4.30.0070.01016.56
7.4.00.0090.00614.95
7.3.330.0030.00313.38
7.3.320.0060.00013.43
7.3.310.0040.00416.15
7.3.300.0060.00016.15
7.3.290.0060.00916.26
7.3.280.0120.00516.33
7.3.270.0130.00917.40
7.3.260.0030.01416.46
7.3.250.0110.00816.34
7.3.240.0100.01016.55
7.3.230.0120.00616.41
7.3.210.0100.01316.39
7.3.200.0120.00919.39
7.3.190.0110.01116.45
7.3.180.0100.00616.51
7.3.170.0070.01016.27
7.3.160.0120.00616.46
7.3.120.0090.00614.95
7.2.330.0090.00916.67
7.2.320.0030.01216.21
7.2.310.0060.01016.34
7.2.300.0070.01016.68
7.2.290.0030.01416.70
7.2.80.0050.00516.23
7.2.60.0070.00716.67
7.2.00.0060.00919.01
7.1.200.0110.00415.51
7.1.100.0070.00418.14
7.1.70.0030.00516.98
7.1.60.0070.01319.32
7.1.50.0060.00616.91
7.1.00.0000.06722.42
7.0.200.0100.00316.69
7.0.140.0000.07722.15
7.0.100.0030.07319.89
7.0.90.0100.06719.93
7.0.80.0070.05319.89
7.0.70.0130.07319.98
7.0.60.0170.07019.96
7.0.50.0100.08022.05
7.0.40.0000.07720.09
7.0.30.0070.07720.04
7.0.20.0100.06720.22
7.0.10.0030.05020.07
7.0.00.0070.07720.04
5.6.280.0030.07321.06
5.6.250.0030.08320.55
5.6.240.0070.07320.54
5.6.230.0200.06720.59
5.6.220.0130.08020.73
5.6.210.0130.07320.76
5.6.200.0170.07021.12
5.6.190.0000.09021.02
5.6.180.0100.04721.01
5.6.170.0030.08021.16
5.6.160.0000.09021.17
5.6.150.0000.08320.96
5.6.140.0030.09021.00
5.6.130.0200.07020.99
5.6.120.0030.08721.13
5.6.110.0100.04321.05
5.6.100.0170.07720.91
5.6.90.0100.06721.03
5.6.80.0000.08320.51
5.6.70.0030.07720.39
5.6.60.0070.07720.46
5.6.50.0070.08320.40
5.6.40.0070.08320.43
5.6.30.0100.08020.32
5.6.20.0030.06720.42
5.6.10.0100.07720.45
5.6.00.0100.04320.37
5.5.380.0130.05720.38
5.5.370.0030.08320.45
5.5.360.0170.06320.34
5.5.350.0070.06720.42
5.5.340.0030.07320.89
5.5.330.0170.07020.89
5.5.320.0100.06720.86
5.5.310.0000.07720.89
5.5.300.0070.04020.82
5.5.290.0070.07720.91
5.5.280.0030.05720.89
5.5.270.0030.07720.78
5.5.260.0130.06720.87
5.5.250.0030.08020.66
5.5.240.0070.06320.24
5.5.230.0030.07020.23
5.5.220.0070.04320.18
5.5.210.0070.08020.11
5.5.200.0130.07720.25
5.5.190.0130.05320.16
5.5.180.0030.05020.14
5.5.160.0070.04020.23
5.5.150.0100.08020.25
5.5.140.0130.07020.20
5.5.130.0170.07020.13
5.5.120.0100.07720.17
5.5.110.0030.07720.14
5.5.100.0030.05020.11
5.5.90.0100.07720.15
5.5.80.0070.07320.07
5.5.70.0070.08020.03
5.5.60.0070.07720.04
5.5.50.0170.04720.02
5.5.40.0070.07719.93
5.5.30.0130.03720.04
5.5.20.0130.07019.91
5.5.10.0030.04020.04
5.5.00.0130.08020.04
5.4.450.0100.07719.36
5.4.440.0030.06019.22
5.4.430.0100.06019.48
5.4.420.0070.04719.48
5.4.410.0100.07019.37
5.4.400.0070.07719.03
5.4.390.0070.04019.02
5.4.380.0070.06719.22
5.4.370.0100.06019.04
5.4.360.0130.07319.12
5.4.350.0130.06719.23
5.4.340.0070.07319.16
5.4.320.0070.03718.91
5.4.310.0000.05319.23
5.4.300.0030.08019.03
5.4.290.0000.04319.04
5.4.280.0130.07319.09
5.4.270.0030.07319.18
5.4.260.0030.06018.94
5.4.250.0070.08018.89
5.4.240.0070.06718.84
5.4.230.0000.05318.87
5.4.220.0070.08019.04
5.4.210.0130.07019.20
5.4.200.0070.04319.02
5.4.190.0070.04718.90
5.4.180.0070.07719.11
5.4.170.0070.05719.04
5.4.160.0170.06318.84
5.4.150.0070.07719.02
5.4.140.0100.07016.37
5.4.130.0100.07316.13
5.4.120.0070.06016.36
5.4.110.0070.07316.32
5.4.100.0130.06716.43
5.4.90.0070.07316.36
5.4.80.0000.08316.45
5.4.70.0070.07316.38
5.4.60.0030.07016.40
5.4.50.0230.05316.29
5.4.40.0100.07016.52
5.4.30.0100.06716.39
5.4.20.0070.07316.30
5.4.10.0070.06716.39
5.4.00.0070.07015.82
5.3.290.0030.06314.59
5.3.280.0170.06314.66
5.3.270.0100.07314.57
5.3.260.0100.06314.62
5.3.250.0200.06314.57
5.3.240.0030.07714.61
5.3.230.0070.08014.66
5.3.220.0000.08314.71
5.3.210.0100.07714.63
5.3.200.0170.06714.55
5.3.190.0070.06314.57
5.3.180.0070.05314.57
5.3.170.0030.07014.54
5.3.160.0070.07714.59
5.3.150.0170.06714.62
5.3.140.0070.06014.62
5.3.130.0070.06314.67
5.3.120.0030.07714.55
5.3.110.0030.06014.69
5.3.100.0070.07014.07
5.3.90.0070.07313.94
5.3.80.0030.05013.99
5.3.70.0070.03714.00
5.3.60.0030.07313.89
5.3.50.0130.07013.95
5.3.40.0130.03013.93
5.3.30.0100.07314.02
5.3.20.0070.05713.62
5.3.10.0170.06313.75
5.3.00.0070.04713.73
5.2.170.0070.06010.96
5.2.160.0070.04710.98
5.2.150.0000.05311.13
5.2.140.0030.06710.97
5.2.130.0170.04011.10
5.2.120.0100.05311.15
5.2.110.0030.05711.17
5.2.100.0030.07011.06
5.2.90.0070.06011.16
5.2.80.0030.06710.89
5.2.70.0100.04011.09
5.2.60.0000.05011.04
5.2.50.0070.05010.86
5.2.40.0000.05711.04
5.2.30.0070.06011.00
5.2.20.0070.05010.77
5.2.10.0000.06710.92
5.2.00.0100.05710.64
5.1.60.0030.05310.03
5.1.50.0030.0579.84
5.1.40.0030.0539.97
5.1.30.0100.05010.39
5.1.20.0070.05710.37
5.1.10.0000.0579.90
5.1.00.0030.0509.91
5.0.50.0070.0408.63
5.0.40.0000.0508.45
5.0.30.0030.0678.21
5.0.20.0030.0338.20
5.0.10.0070.0408.22
5.0.00.0030.0508.16
4.4.90.0070.0236.87
4.4.80.0070.0206.87
4.4.70.0030.0336.87
4.4.60.0030.0376.87
4.4.50.0000.0276.87
4.4.40.0030.0506.87
4.4.30.0000.0376.87
4.4.20.0000.0406.87
4.4.10.0170.0276.87
4.4.00.0030.0536.87
4.3.110.0030.0336.87
4.3.100.0000.0376.87
4.3.90.0000.0376.87
4.3.80.0000.0336.87
4.3.70.0000.0176.87
4.3.60.0000.0376.87
4.3.50.0030.0276.87
4.3.40.0000.0476.87
4.3.30.0000.0236.87
4.3.20.0030.0276.87
4.3.10.0000.0406.87
4.3.00.0070.0336.87

preferences:
43.79 ms | 400 KiB | 5 Q