3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contents = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__)); $contents->rewind(); // dont forget to rewind while ($contents->valid()) { echo $contents->getSubPathName() . "\n"; $contents->next(); }

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.10.0060.00322.23
8.3.140.0030.00516.74
8.3.130.0090.00018.55
8.3.120.0040.00818.80
8.3.110.0060.01020.94
8.3.100.0080.00024.06
8.3.90.0000.00826.77
8.3.80.0060.00317.97
8.3.70.0080.01218.30
8.3.60.0120.00916.75
8.3.50.0150.00618.33
8.3.40.0100.00321.88
8.3.30.0110.00419.11
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0070.00026.16
8.2.260.0060.01319.27
8.2.250.0090.00016.70
8.2.240.0070.00319.06
8.2.230.0000.00822.58
8.2.220.0050.00537.54
8.2.210.0040.00426.77
8.2.200.0060.00316.75
8.2.190.0110.00716.75
8.2.180.0100.01016.88
8.2.170.0160.00618.68
8.2.160.0060.00922.96
8.2.150.0080.00025.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0080.00022.27
8.2.110.0030.00621.18
8.2.100.0060.00617.78
8.2.90.0280.00717.44
8.2.80.0250.00717.06
8.2.70.0250.00717.31
8.2.60.0270.00317.25
8.2.50.0270.00617.44
8.2.40.0230.00717.37
8.2.30.0240.00417.43
8.2.20.0250.00317.56
8.2.10.0190.00917.50
8.2.00.0230.00517.38
8.1.310.0040.00416.52
8.1.300.0040.00416.18
8.1.290.0000.00830.84
8.1.280.0110.00425.92
8.1.270.0080.00024.66
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0040.00422.42
8.1.230.0110.00022.66
8.1.220.0230.00417.13
8.1.210.0270.00216.92
8.1.200.0170.01117.05
8.1.190.0260.00217.06
8.1.180.0240.00417.18
8.1.170.0230.00416.94
8.1.160.0240.00317.06
8.1.150.0250.00317.29
8.1.140.0200.00817.18
8.1.130.0230.00417.24
8.1.120.0230.00517.05
8.1.110.0220.00717.25
8.1.100.0170.01117.17
8.1.90.0210.00617.13
8.1.80.0220.00717.36
8.1.70.0190.00617.36
8.1.60.0210.00917.48
8.1.50.0250.00617.44
8.1.40.0250.00417.50
8.1.30.0200.00617.60
8.1.20.0230.00517.31
8.1.10.0240.00417.24
8.1.00.0230.00517.13
8.0.300.0260.00316.80
8.0.290.0240.00516.80
8.0.280.0210.00716.80
8.0.270.0230.00616.80
8.0.260.0320.00116.80
8.0.250.0210.01016.80
8.0.240.0210.00816.80
8.0.230.0250.00616.80
8.0.220.0230.00516.80
8.0.210.0240.00516.80
8.0.200.0230.00516.80
8.0.190.0200.00916.80
8.0.180.0220.00616.80
8.0.170.0240.00316.80
8.0.160.0210.00716.80
8.0.150.0200.00916.80
8.0.140.0250.00316.80
8.0.130.0200.00916.80
8.0.120.0230.00616.80
8.0.110.0210.00416.82
8.0.100.0180.01016.80
8.0.90.0240.00416.80
8.0.80.0250.00318.07
8.0.70.0280.00116.80
8.0.60.0240.00516.80
8.0.50.0230.00816.80
8.0.30.0250.00516.80
8.0.20.0240.00516.80
8.0.10.0210.00716.80

preferences:
47.48 ms | 403 KiB | 5 Q