3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test implements IteratorAggregate, Iterator {}

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.3.40.0090.00618.71
8.3.30.0070.01118.88
8.3.20.0040.00420.16
8.3.10.0000.00923.51
8.3.00.0040.00417.38
8.2.170.0110.01122.96
8.2.160.0090.00620.35
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00320.96
8.2.110.0090.00022.19
8.2.100.0060.00617.91
8.2.90.0000.00719.09
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0050.01017.54
8.2.50.0040.00418.07
8.2.40.0060.00318.22
8.2.30.0030.00317.86
8.2.20.0040.00417.61
8.2.10.0050.00318.10
8.2.00.0050.00217.52
8.1.270.0070.00023.99
8.1.260.0020.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00323.87
8.1.230.0070.00419.15
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0000.00817.00
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0070.00022.00
8.1.150.0040.00418.80
8.1.140.0000.00717.36
8.1.130.0070.00017.75
8.1.120.0000.00817.37
8.1.110.0040.00417.30
8.1.100.0030.00317.27
8.1.90.0030.00617.42
8.1.80.0000.00817.30
8.1.70.0000.00817.31
8.1.60.0000.00917.39
8.1.50.0000.00917.47
8.1.40.0000.00817.43
8.1.30.0050.00317.55
8.1.20.0030.00517.55
8.1.10.0040.00417.27
8.1.00.0000.00817.32
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0030.00318.37
8.0.270.0000.00717.19
8.0.260.0000.00617.07
8.0.250.0030.00316.93
8.0.240.0030.00316.90
8.0.230.0040.00416.93
8.0.220.0000.00716.87
8.0.210.0030.00316.81
8.0.200.0070.00016.80
8.0.190.0000.00817.00
8.0.180.0000.00716.95
8.0.170.0040.00416.92
8.0.160.0030.00616.89
8.0.150.0000.00716.78
8.0.140.0040.00316.74
8.0.130.0030.00513.33
8.0.120.0030.00516.86
8.0.110.0040.00416.72
8.0.100.0070.00016.76
8.0.90.0000.00716.88
8.0.80.0090.00616.83
8.0.70.0040.00416.75
8.0.60.0040.00416.89
8.0.50.0070.00016.75
8.0.30.0110.00917.01
8.0.20.0070.01217.40
8.0.10.0040.00416.91
8.0.00.0070.01016.64
7.4.330.0030.00315.09
7.4.320.0070.00016.50
7.4.300.0040.00416.58
7.4.290.0000.00716.42
7.4.280.0030.00316.34
7.4.270.0040.00416.55
7.4.260.0000.00716.37
7.4.250.0040.00416.45
7.4.240.0000.00716.43
7.4.230.0030.00316.53
7.4.220.0090.00916.38
7.4.210.0070.00716.64
7.4.200.0030.00516.54
7.4.160.0130.00316.57
7.4.150.0120.00617.40
7.4.140.0050.01617.86
7.4.130.0110.00516.29
7.4.120.0070.01016.44
7.4.110.0100.00616.33
7.4.100.0040.01216.39
7.4.90.0060.01016.44
7.4.80.0130.00719.39
7.4.70.0090.01516.47
7.4.60.0060.01016.34
7.4.50.0040.00416.44
7.4.40.0100.00716.45
7.4.30.0090.00916.38
7.4.00.0090.00615.11
7.3.330.0060.00013.24
7.3.320.0000.00513.04
7.3.310.0000.00716.07
7.3.300.0030.00316.27
7.3.290.0100.01016.28
7.3.280.0070.00816.21
7.3.270.0030.01517.40
7.3.260.0120.00616.34
7.3.250.0100.00716.45
7.3.240.0110.00416.24
7.3.230.0070.01016.39
7.3.210.0090.00916.65
7.3.200.0030.01219.39
7.3.190.0100.00716.32
7.3.180.0130.00316.39
7.3.170.0070.01016.27
7.3.160.0060.01516.39
7.3.10.0070.00716.81
7.3.00.0030.01016.52
7.2.330.0100.00616.37
7.2.320.0110.01116.50
7.2.310.0030.01516.30
7.2.300.0040.01216.61
7.2.290.0090.00916.67
7.2.130.0090.00616.38
7.2.120.0070.01016.57
7.2.110.0070.00716.70
7.2.100.0030.01416.71
7.2.90.0110.00416.97
7.2.80.0030.00616.93
7.2.70.0070.00716.87
7.2.60.0050.01016.83
7.2.50.0030.00716.57
7.2.40.0130.00316.64
7.2.30.0030.01016.58
7.2.20.0060.00616.71
7.2.10.0090.00316.75
7.2.00.0060.00617.97
7.1.250.0000.01115.64
7.1.200.0090.00315.65
7.1.100.0000.01217.58
7.1.70.0000.00717.14
7.1.60.0120.01219.40
7.1.50.0100.00716.85
7.1.00.0070.07022.51
7.0.200.0030.00516.34
7.0.140.0070.07022.15
7.0.60.0100.05019.82
7.0.50.0130.07017.77
7.0.40.0070.05720.27
7.0.30.0430.07320.19
7.0.20.0300.06720.19
7.0.10.0070.04320.19
7.0.00.0000.09020.11
5.6.280.0030.10020.89
5.6.210.0100.07720.66
5.6.200.0030.06018.29
5.6.190.0070.04020.77
5.6.180.0270.05320.53
5.6.170.0270.04720.49
5.6.160.0030.04320.55
5.6.150.0000.05318.22
5.6.140.0130.08018.18
5.6.130.0130.07318.27
5.6.120.0130.06721.03
5.6.110.0200.07320.98
5.6.100.0130.07721.06
5.6.90.0070.08020.98
5.6.80.0000.05320.47
5.5.350.0270.08020.39
5.5.340.0000.08718.09
5.5.330.0070.05720.29
5.5.320.0200.04720.38
5.5.310.0270.05720.50
5.5.300.0100.08018.03
5.5.290.0030.08717.92
5.5.280.0070.07720.84
5.5.270.0030.09320.76
5.5.260.0130.08020.88
5.5.250.0070.08020.49
5.5.240.0230.06720.15
5.4.450.0500.04719.50
5.4.440.0170.04719.41
5.4.430.0230.04319.54
5.4.420.0470.04019.63
5.4.410.1700.04719.33
5.4.400.0570.04019.23
5.4.390.0370.05719.16
5.4.380.0630.06718.50
5.4.370.0330.05318.75
5.4.360.0330.06018.79
5.4.350.0230.07318.63
5.4.340.0370.05018.55
5.4.320.0070.04012.49
5.4.310.0120.04512.48
5.4.300.0100.04612.49
5.4.290.0110.04612.49
5.4.280.0080.03612.39
5.4.270.0050.04012.38
5.4.260.0130.04512.38
5.4.250.0050.03812.39
5.4.240.0040.03812.39
5.4.230.0090.03512.38
5.4.220.0040.04112.38
5.4.210.0120.05712.38
5.4.200.0060.04812.38
5.4.190.0070.04012.38
5.4.180.0040.03812.37
5.4.170.0060.03512.39
5.4.160.0080.03712.38
5.4.150.0080.03312.38
5.4.140.0050.03812.06
5.4.130.0060.03812.05
5.4.120.0040.03812.01
5.4.110.0100.04912.00
5.4.100.0030.05012.00
5.4.90.0070.04612.00
5.4.80.0030.04012.00
5.4.70.0080.03712.00
5.4.60.0100.03712.00
5.4.50.0050.04012.00
5.4.40.0060.03611.99
5.4.30.0070.03511.98
5.4.20.0040.04011.99
5.4.10.0090.04611.99
5.4.00.0060.03611.48
5.3.290.0070.04412.80
5.3.280.0060.04212.71
5.3.270.0070.04012.72
5.3.260.0050.04212.72
5.3.250.0110.05412.72
5.3.240.0100.03412.72
5.3.230.0090.04912.71
5.3.220.0070.03812.68
5.3.210.0090.03812.68
5.3.200.0080.03412.68
5.3.190.0070.05112.68
5.3.180.0060.05012.68
5.3.170.0030.04212.67
5.3.160.0070.03912.68
5.3.150.0080.03912.68
5.3.140.0070.03712.66
5.3.130.0070.05412.66
5.3.120.0060.05512.66
5.3.110.0100.05412.66
5.3.100.0070.03812.12
5.3.90.0070.05212.09
5.3.80.0120.04512.09
5.3.70.0100.04512.09
5.3.60.0050.04012.07
5.3.50.0140.04812.03
5.3.40.0090.05312.02
5.3.30.0100.04711.98
5.3.20.0090.04711.76
5.3.10.0090.04711.72
5.3.00.0140.04211.71
5.2.170.0080.0419.21
5.2.160.0100.0379.21
5.2.150.0060.0439.21
5.2.140.0080.0399.21
5.2.130.0100.0299.17
5.2.120.0030.0319.17
5.2.110.0160.0469.18
5.2.100.0140.0359.17
5.2.90.0070.0319.17
5.2.80.0040.0329.17
5.2.70.0040.0339.17
5.2.60.0050.0329.13
5.2.50.0040.0329.09
5.2.40.0080.0289.07
5.2.30.0050.0339.05
5.2.20.0090.0359.03
5.2.10.0040.0338.94
5.2.00.0070.0308.80
5.1.60.0080.0318.08
5.1.50.0030.0288.08
5.1.40.0060.0338.06
5.1.30.0080.0248.41
5.1.20.0060.0378.43
5.1.10.0080.0348.16
5.1.00.0120.0268.16
5.0.50.0040.0226.63
5.0.40.0050.0196.49
5.0.30.0060.0416.31
5.0.20.0050.0286.28
5.0.10.0020.0226.25
5.0.00.0030.0326.25
4.4.90.0050.0224.78
4.4.80.0060.0174.75
4.4.70.0020.0194.75
4.4.60.0020.0174.76
4.4.50.0030.0184.77
4.4.40.0010.0284.71
4.4.30.0050.0224.76
4.4.20.0080.0224.84
4.4.10.0050.0174.85
4.4.00.0030.0254.76
4.3.110.0020.0184.67
4.3.100.0060.0204.66
4.3.90.0040.0204.64
4.3.80.0030.0314.58
4.3.70.0030.0204.63
4.3.60.0030.0204.62
4.3.50.0050.0204.63
4.3.40.0080.0264.54
4.3.30.0040.0153.30
4.3.20.0000.0183.28
4.3.10.0020.0163.23
4.3.00.0030.01715.95

preferences:
42.62 ms | 400 KiB | 5 Q