3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterator = new FilesystemIterator(__DIR__, FilesystemIterator::KEY_AS_FILENAME); foreach ($iterator as $file) { echo $file->getFilename() . PHP_EOL; }

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.4.20.0120.00917.94
8.4.10.0070.01422.12
8.3.150.0110.00720.85
8.3.140.0000.00818.59
8.3.130.0080.00016.64
8.3.120.0070.00718.65
8.3.110.0120.00620.94
8.3.100.0000.00916.60
8.3.90.0000.00826.77
8.3.80.0060.00316.50
8.3.70.0160.00316.58
8.3.60.0120.00318.56
8.3.50.0100.01020.05
8.3.40.0100.00320.29
8.3.30.0060.00918.72
8.3.20.0060.00324.18
8.3.10.0050.00324.66
8.3.00.0090.00026.16
8.2.260.0040.00420.82
8.2.250.0080.00816.70
8.2.240.0110.00717.31
8.2.230.0120.00622.58
8.2.220.0040.00424.06
8.2.210.0110.00726.77
8.2.200.0060.00316.75
8.2.190.0080.00816.58
8.2.180.0180.00325.92
8.2.170.0120.00818.91
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0030.00519.69
8.2.110.0060.00320.43
8.2.100.0100.00617.72
8.2.90.0030.00617.75
8.2.80.0050.00318.83
8.2.70.0040.00417.50
8.2.60.0060.00317.80
8.2.50.0030.00618.07
8.2.40.0000.00818.16
8.2.30.0070.00017.91
8.2.20.0030.00519.25
8.2.10.0050.00218.17
8.2.00.0030.00519.27
8.1.310.0120.00616.89
8.1.300.0060.00317.89
8.1.290.0000.01030.84
8.1.280.0000.01525.92
8.1.270.0070.00724.66
8.1.260.0050.00526.35
8.1.250.0000.00828.09
8.1.240.0000.01119.06
8.1.230.0090.00317.64
8.1.220.0030.00517.78
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00817.11
8.1.180.0030.00618.10
8.1.170.0030.00618.46
8.1.160.0040.00418.86
8.1.150.0030.00518.53
8.1.140.0030.00617.50
8.1.130.0050.00218.96
8.1.120.0000.00817.48
8.1.110.0040.00417.46
8.1.100.0090.00517.48
8.1.90.0170.00017.42
8.1.80.0100.00717.38
8.1.70.0140.00317.29
8.1.60.0170.00117.53
8.1.50.0150.00517.46
8.1.40.0190.00017.52
8.1.30.0160.00617.62
8.1.20.0150.00417.58
8.1.10.0180.00217.59
8.1.00.0130.00717.53
8.0.300.0090.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00620.17
8.0.270.0030.00318.02
8.0.260.0060.00018.41
8.0.250.0030.00316.87
8.0.240.0030.00316.98
8.0.230.0130.00316.76
8.0.220.0150.00116.79
8.0.210.0070.00816.88
8.0.200.0120.00416.90
8.0.190.0120.00416.92
8.0.180.0120.00416.85
8.0.170.0100.00616.92
8.0.160.0080.00816.88
8.0.150.0140.00216.71
8.0.140.0100.00516.68
8.0.130.0100.00616.81
8.0.120.0140.00116.80
8.0.110.0080.00716.83
8.0.100.0140.00116.76
8.0.90.0070.00716.78
8.0.80.0130.00316.81
8.0.70.0080.00816.82
8.0.60.0060.00916.74
8.0.50.0120.00316.78
8.0.30.0130.00116.83
8.0.20.0060.00816.91
8.0.10.0120.00316.85
7.4.330.0000.00515.55
7.4.320.0030.00316.53
7.4.300.0100.00716.59
7.4.290.0090.00616.54
7.4.280.0100.00516.39
7.4.270.0070.00416.43
7.4.260.0070.00716.38
7.4.250.0110.00216.50
7.4.240.0060.00516.41
7.4.230.0070.00316.48
7.4.220.0080.00316.32
7.4.210.0060.00416.28
7.4.200.0030.00816.30
7.4.190.0050.00516.47
7.4.180.0070.00516.52
7.4.160.0120.00116.34
7.4.150.0080.00416.32
7.4.140.0060.00516.33
7.4.130.0020.00716.34
7.4.120.0070.00216.21
7.4.110.0030.00716.34
7.4.100.0050.00516.05
7.4.90.0060.00416.35
7.4.80.0070.00316.30
7.4.70.0040.00616.26
7.4.60.0030.00716.35
7.4.50.0020.00716.20
7.4.40.0090.00116.13
7.4.30.0050.00516.21
7.4.20.0060.00316.28
7.4.10.0020.00616.14
7.4.00.0040.00516.17

preferences:
44.15 ms | 403 KiB | 5 Q