3v4l.org

run code in 300+ PHP versions simultaneously
<?php // get a list of all icons $icons = scandir('resources/images/icons'); // remove the first two items from the array, which are '.' and '..' array_shift($icons);

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.00819.96
8.4.150.0020.00014.05
8.4.140.0160.00917.88
8.4.130.0040.00519.60
8.4.120.0100.01120.50
8.4.110.0090.00822.52
8.4.100.0060.00317.95
8.4.90.0110.00918.52
8.4.80.0080.00317.93
8.4.70.0110.00618.09
8.4.60.0120.00918.76
8.4.50.0070.01319.73
8.4.40.0110.01120.44
8.4.30.0060.01322.08
8.4.20.0100.01018.29
8.4.10.0080.00322.11
8.3.280.0150.00618.33
8.3.270.0150.00416.71
8.3.260.0120.00716.59
8.3.250.0140.00418.86
8.3.240.0160.00416.80
8.3.230.0140.00516.63
8.3.220.0040.00416.94
8.3.210.0070.00116.71
8.3.200.0050.00416.59
8.3.190.0100.00817.00
8.3.180.0110.00718.42
8.3.170.0040.00418.91
8.3.160.0050.00518.43
8.3.150.0090.00617.30
8.3.140.0000.00816.77
8.3.130.0090.00018.40
8.3.120.0030.00520.83
8.3.110.0060.01316.75
8.3.100.0040.01516.48
8.3.90.0120.00318.59
8.3.80.0060.00318.43
8.3.70.0110.00316.75
8.3.60.0140.01118.43
8.3.50.0060.00916.62
8.3.40.0110.00720.33
8.3.30.0040.01118.84
8.3.20.0070.00024.18
8.3.10.0060.00324.66
8.3.00.0040.00426.16
8.2.290.0040.00520.30
8.2.280.0110.00918.59
8.2.270.0090.00917.39
8.2.260.0070.00716.73
8.2.250.0040.00416.48
8.2.240.0090.00017.55
8.2.230.0060.00320.94
8.2.220.0030.00637.54
8.2.210.0110.00726.77
8.2.200.0040.00418.52
8.2.190.0140.00017.09
8.2.180.0110.00316.75
8.2.170.0070.00719.10
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00721.04
8.2.110.0060.00322.08
8.2.100.0060.00617.84
8.2.90.0000.00817.63
8.2.80.0110.00018.82
8.2.70.0090.00017.38
8.2.60.0150.00717.25
8.2.50.0160.00517.17
8.2.40.0110.00617.44
8.2.30.0150.00317.44
8.2.20.0180.00017.42
8.2.10.0100.00717.43
8.2.00.0110.00617.17
8.1.330.0120.00621.94
8.1.320.0100.00916.08
8.1.310.0150.00317.90
8.1.300.0090.00020.00
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0080.00023.77
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0090.00020.77
8.1.230.0040.00817.70
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0140.00417.06
8.1.180.0110.00616.93
8.1.170.0180.00117.13
8.1.160.0110.00716.97
8.1.150.0160.00317.05
8.1.140.0130.00417.00
8.1.130.0120.00616.88
8.1.120.0110.00617.19
8.1.110.0170.00116.86
8.1.100.0090.00717.00
8.1.90.0110.00617.06
8.1.80.0130.00417.06
8.1.70.0140.00317.13
8.1.60.0150.00417.19
8.1.50.0130.00617.18
8.1.40.0140.00717.31
8.1.30.0120.00617.17
8.1.20.0160.00217.24
8.1.10.0130.00617.31
8.1.00.0160.00217.31
8.0.300.0040.00419.72
8.0.290.0000.00816.75
8.0.280.0080.01016.62
8.0.270.0110.00616.52
8.0.260.0120.00416.55
8.0.250.0130.00316.57
8.0.240.0090.00916.61
8.0.230.0140.00416.52
8.0.220.0140.00316.52
8.0.210.0130.00516.52
8.0.200.0090.00816.55
8.0.190.0080.00916.52
8.0.180.0120.00416.63
8.0.170.0110.00616.70
8.0.160.0110.00716.63
8.0.150.0130.00416.52
8.0.140.0120.00516.57
8.0.130.0130.00316.57
8.0.120.0130.00516.57
8.0.110.0110.00516.62
8.0.100.0120.00916.57
8.0.90.0130.00516.52
8.0.80.0140.00216.52
8.0.70.0120.00516.63
8.0.60.0100.00616.56
8.0.50.0110.00516.52
8.0.30.0110.00516.52
8.0.20.0100.00716.63
8.0.10.0170.00016.63

preferences:
83.55 ms | 403 KiB | 5 Q