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.10.0120.00519.58
8.5.00.0130.00820.07
8.4.150.0020.00114.05
8.4.140.0140.00717.81
8.4.130.0140.00518.87
8.4.120.0110.01023.92
8.4.110.0120.00720.50
8.4.100.0130.00618.70
8.4.90.0120.00622.21
8.4.80.0140.00618.72
8.4.70.0050.00717.87
8.4.60.0110.00818.87
8.4.50.0130.00918.41
8.4.40.0130.00720.63
8.4.30.0130.00722.20
8.4.20.0070.01517.95
8.4.10.0050.00521.77
8.3.280.0110.00920.35
8.3.270.0130.00816.48
8.3.260.0100.00916.38
8.3.250.0120.00619.02
8.3.240.0120.00716.91
8.3.230.0110.00816.71
8.3.220.0080.00718.80
8.3.210.0110.00718.38
8.3.200.0060.00316.77
8.3.190.0140.00617.05
8.3.180.0090.00517.29
8.3.170.0180.00020.56
8.3.160.0050.00317.23
8.3.150.0080.00018.51
8.3.140.0090.00617.10
8.3.130.0030.00618.48
8.3.120.0150.00020.74
8.3.110.0090.00620.94
8.3.100.0020.00524.06
8.3.90.0150.00326.77
8.3.80.0060.00317.97
8.3.70.0070.01116.50
8.3.60.0200.00318.19
8.3.50.0070.01116.63
8.3.40.0140.00320.23
8.3.30.0070.00718.85
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.290.0060.00420.36
8.2.280.0120.00818.49
8.2.270.0000.01917.11
8.2.260.0140.00316.85
8.2.250.0040.00416.63
8.2.240.0030.00619.06
8.2.230.0060.00322.58
8.2.220.0160.00437.54
8.2.210.0060.00326.77
8.2.200.0040.00418.54
8.2.190.0180.00416.88
8.2.180.0170.00316.75
8.2.170.0040.01218.91
8.2.160.0060.00822.96
8.2.150.0020.00525.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0100.00017.80
8.2.110.0000.01121.00
8.2.100.0040.00817.91
8.2.90.0040.00417.80
8.2.80.0040.00418.22
8.2.70.0000.00817.50
8.2.60.0140.00517.50
8.2.50.0150.00417.50
8.2.40.0140.00317.25
8.2.30.0060.01117.63
8.2.20.0160.00317.62
8.2.10.0150.00217.25
8.2.00.0140.00617.38
8.1.330.0100.01121.86
8.1.320.0100.00818.34
8.1.310.0070.01117.93
8.1.300.0090.00920.07
8.1.290.0070.00430.84
8.1.280.0150.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.92
8.1.230.0030.00720.97
8.1.220.0000.00817.74
8.1.210.0070.00318.77
8.1.200.0000.01117.23
8.1.190.0190.00016.96
8.1.180.0100.00617.13
8.1.170.0130.00317.00
8.1.160.0120.00417.13
8.1.150.0090.00917.13
8.1.140.0180.00017.13
8.1.130.0050.01217.00
8.1.120.0140.00317.13
8.1.110.0080.00817.13
8.1.100.0100.00717.00
8.1.90.0170.00017.38
8.1.80.0080.00817.11
8.1.70.0170.00017.34
8.1.60.0080.01217.36
8.1.50.0130.00417.38
8.1.40.0120.00617.25
8.1.30.0140.00317.50
8.1.20.0160.00316.88
8.1.10.0180.00017.25
8.1.00.0090.00917.38
8.0.300.0000.00819.98
8.0.290.0000.00716.63
8.0.280.0160.00016.63
8.0.270.0160.00316.52
8.0.260.0110.00516.63
8.0.250.0160.00016.72
8.0.240.0060.01016.52
8.0.230.0060.01216.63
8.0.220.0120.00616.75
8.0.210.0070.01016.63
8.0.200.0190.00016.52
8.0.190.0190.00016.63
8.0.180.0100.00816.63
8.0.170.0120.00516.52
8.0.160.0120.00416.52
8.0.150.0110.00616.52
8.0.140.0140.00316.52
8.0.130.0130.00316.52
8.0.120.0100.00516.71
8.0.110.0100.00616.62
8.0.100.0060.01016.63
8.0.90.0110.00516.63
8.0.80.0120.00416.52
8.0.70.0160.00016.52
8.0.60.0070.01016.52
8.0.50.0160.00316.52
8.0.30.0150.00016.63
8.0.20.0130.00316.52
8.0.10.0080.00816.75

preferences:
100.88 ms | 403 KiB | 5 Q