3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contents = new RecursiveCallbackFilterIterator( new RecursiveDirectoryIterator(__DIR__), function ($current, $key, $iterator): bool { return true; }, ); $contents->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.5.00.0120.01020.13
8.4.150.0030.00014.05
8.4.140.0110.00917.46
8.4.130.0110.00917.63
8.4.120.0120.00820.40
8.4.110.0070.01222.54
8.4.100.0070.00717.85
8.4.90.0100.01118.86
8.4.80.0140.00618.63
8.4.70.0110.01017.82
8.4.60.0120.00822.46
8.4.50.0100.01020.46
8.4.40.0100.01017.43
8.4.30.0150.00620.68
8.4.20.0140.00717.70
8.4.10.0100.00022.29
8.3.280.0130.00818.36
8.3.270.0120.00716.66
8.3.260.0130.00616.61
8.3.250.0080.01118.93
8.3.240.0060.00316.77
8.3.230.0110.00916.73
8.3.220.0040.00419.04
8.3.210.0080.00718.48
8.3.200.0050.00716.47
8.3.190.0110.01017.20
8.3.180.0140.00418.59
8.3.170.0090.00617.32
8.3.160.0180.00018.46
8.3.150.0100.01020.95
8.3.140.0070.00416.50
8.3.130.0140.00416.54
8.3.120.0030.00718.95
8.3.110.0150.00318.47
8.3.100.0040.00416.89
8.3.90.0060.00326.77
8.3.80.0030.00617.97
8.3.70.0110.00816.50
8.3.60.0150.00618.56
8.3.50.0140.00416.59
8.3.40.0100.00321.97
8.3.30.0100.00618.91
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0130.00520.38
8.2.280.0120.00918.72
8.2.270.0060.01216.98
8.2.260.0110.00718.93
8.2.250.0060.00318.75
8.2.240.0150.00318.85
8.2.230.0000.00920.94
8.2.220.0030.00624.06
8.2.210.0120.00326.77
8.2.200.0030.00618.29
8.2.190.0140.01016.58
8.2.180.0120.00618.13
8.2.170.0100.01019.01
8.2.160.0070.01122.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0080.00022.04
8.2.110.0110.00020.96
8.2.100.0060.00617.84
8.2.90.0040.00917.75
8.2.80.0270.00717.24
8.2.70.0270.00417.46
8.2.60.0240.00517.36
8.2.50.0290.00317.38
8.2.40.0180.00917.50
8.2.30.0230.00517.50
8.2.20.0240.00417.36
8.2.10.0240.00417.36
8.2.00.0250.00717.50
8.1.330.0100.00822.13
8.1.320.0120.00615.99
8.1.310.0040.00416.78
8.1.300.0030.00618.44
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0100.00722.51
8.1.230.0060.00622.60
8.1.220.0230.00517.25
8.1.210.0270.00017.10
8.1.200.0250.00316.98
8.1.190.0210.00517.11
8.1.180.0220.00317.00
8.1.170.0250.00317.11
8.1.160.0180.00917.34
8.1.150.0240.00416.97
8.1.140.0290.00017.25
8.1.130.0220.00417.13
8.1.120.0250.00317.38
8.1.110.0270.00017.13
8.1.100.0250.00417.38
8.1.90.0250.00317.25
8.1.80.0150.01217.35
8.1.70.0130.01317.33
8.1.60.0240.00617.50
8.1.50.0170.01017.46
8.1.40.0230.00817.38
8.1.30.0210.00317.63
8.1.20.0180.01117.50
8.1.10.0210.00717.38
8.1.00.0210.00817.50
8.0.300.0270.00316.80
8.0.290.0240.00416.80
8.0.280.0190.01016.80
8.0.270.0210.00716.80
8.0.260.0290.00016.80
8.0.250.0260.00416.80
8.0.240.0210.00816.80
8.0.230.0190.00916.80
8.0.220.0180.01016.80
8.0.210.0280.00016.80
8.0.200.0150.00916.80
8.0.190.0250.00316.80
8.0.180.0270.00016.80
8.0.170.0200.00716.80
8.0.160.0200.00816.80
8.0.150.0200.00816.80
8.0.140.0250.00416.80
8.0.130.0250.00316.80
8.0.120.0200.00816.80
8.0.110.0210.00416.80
8.0.100.0270.00016.80
8.0.90.0270.00016.80
8.0.80.0210.00718.02
8.0.70.0280.00016.80
8.0.60.0240.00816.80
8.0.50.0240.00316.80
8.0.30.0190.01016.80
8.0.20.0180.00916.80
8.0.10.0220.00616.80

preferences:
29.5 ms | 403 KiB | 5 Q