3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo extends \Traversable { } interface Baz { } class Example implements Foo, Baz, \IteratorAggregate { public function getIterator() { return new \ArrayIterator([]); } }

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.120.0030.00622.45
8.4.110.0100.00722.29
8.4.100.0120.00717.69
8.4.90.0070.01018.51
8.4.80.0130.00717.91
8.4.70.0110.00717.74
8.4.60.0050.00518.30
8.4.50.0130.00619.46
8.4.40.0080.00019.30
8.4.30.0070.01317.63
8.4.20.0050.00320.32
8.4.10.0140.00719.43
8.3.250.0100.00819.10
8.3.240.0130.00616.55
8.3.230.0070.00816.70
8.3.220.0090.00617.20
8.3.210.0110.00716.33
8.3.200.0050.00416.59
8.3.190.0110.00917.17
8.3.180.0080.00917.08
8.3.170.0120.00618.89
8.3.160.0110.00717.23
8.3.150.0140.00417.03
8.3.140.0080.00016.66
8.3.130.0060.00316.68
8.3.120.0120.00618.84
8.3.110.0050.00320.94
8.3.100.0080.00024.06
8.3.90.0000.00826.77
8.3.80.0030.00617.97
8.3.70.0150.00318.43
8.3.60.0100.00718.31
8.3.50.0150.00521.15
8.3.40.0150.00018.84
8.3.30.0110.00418.59
8.3.20.0050.00220.82
8.3.10.0040.00421.60
8.3.00.0020.00520.90
8.2.290.0120.00820.05
8.2.280.0060.01618.53
8.2.270.0150.00416.92
8.2.260.0040.01516.62
8.2.250.0000.00818.40
8.2.240.0030.00616.96
8.2.230.0060.00322.58
8.2.220.0080.00037.54
8.2.210.0060.00326.77
8.2.200.0100.00318.09
8.2.190.0140.00716.58
8.2.180.0100.00718.16
8.2.170.0070.00722.96
8.2.160.0030.01019.16
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0080.00022.26
8.2.120.0040.00426.35
8.2.110.0030.00720.69
8.2.100.0080.00419.51
8.2.90.0030.00519.17
8.2.80.0050.00317.97
8.2.70.0060.00317.50
8.2.60.0000.00817.68
8.2.50.0000.00818.10
8.2.40.0040.00420.42
8.2.30.0070.00019.14
8.2.20.0000.00817.83
8.2.10.0040.00417.98
8.2.00.0000.00817.52
8.1.330.0120.00719.95
8.1.320.0100.00915.84
8.1.310.0080.00018.46
8.1.300.0090.00016.25
8.1.290.0100.00030.84
8.1.280.0070.01125.92
8.1.270.0040.00422.07
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.06
8.1.230.0000.01017.42
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0000.00917.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0070.00018.54
8.1.160.0070.00018.72
8.1.150.0070.00020.21
8.1.140.0080.00019.37
8.1.130.0000.00917.73
8.1.120.0030.00317.28
8.1.110.0030.00517.43
8.1.100.0000.00717.40
8.1.90.0040.00417.40
8.1.80.0030.00617.24
8.1.70.0000.00817.40
8.1.60.0000.00817.52
8.1.50.0050.00317.34
8.1.40.0080.00317.36
8.1.30.0050.00317.63
8.1.20.0040.00417.52
8.1.10.0040.00417.42
8.1.00.0040.00417.29
8.0.300.0030.00518.77
8.0.290.0000.00716.75
8.0.280.0000.00718.37
8.0.270.0040.00417.05
8.0.260.0000.00617.19
8.0.250.0070.00016.85
8.0.240.0040.00416.90
8.0.230.0030.00516.84
8.0.220.0000.00716.80
8.0.210.0050.00216.68
8.0.200.0040.00416.91
8.0.190.0090.00016.90
8.0.180.0000.00716.75
8.0.170.0000.00816.72
8.0.160.0070.00316.85
8.0.150.0000.00716.81
8.0.140.0070.00016.80
8.0.130.0070.00013.27
8.0.120.0000.00816.77
8.0.110.0030.00316.88
8.0.100.0040.00416.70
8.0.90.0040.00416.71
8.0.80.0160.00616.80
8.0.70.0050.00216.73
8.0.60.0040.00416.69
8.0.50.0000.00716.79
8.0.30.0130.00516.95
8.0.20.0080.01217.40
8.0.10.0000.00717.02
8.0.00.0110.00616.52
7.4.330.0000.00515.55
7.4.320.0000.00716.42
7.4.300.0030.00316.47
7.4.290.0000.00716.41
7.4.280.0040.00416.33
7.4.270.0080.00016.56
7.4.260.0030.00316.36
7.4.250.0030.00316.31
7.4.240.0020.00516.52
7.4.230.0000.00716.62
7.4.220.0120.00616.34
7.4.210.0060.01316.55
7.4.200.0000.00716.42
7.4.160.0150.00516.40
7.4.150.0080.01117.40
7.4.140.0120.00917.86
7.4.130.0120.00816.42
7.4.120.0120.00716.36
7.4.110.0060.01216.52
7.4.100.0130.00316.43
7.4.90.0120.00616.43
7.4.80.0060.01119.39
7.4.70.0030.01416.45
7.4.60.0160.00316.29
7.4.50.0070.00716.29
7.4.40.0100.00516.44
7.4.30.0060.00916.19
7.4.20.0140.00716.27
7.4.10.0120.00916.36
7.4.00.0100.00715.61
7.3.330.0000.00513.09
7.3.320.0000.00513.04
7.3.310.0030.00316.18
7.3.300.0000.00716.27
7.3.290.0060.01216.23
7.3.280.0090.00716.24
7.3.270.0090.00917.40
7.3.260.0160.00816.26
7.3.250.0070.01016.40
7.3.240.0120.00516.36
7.3.230.0120.00616.43
7.3.210.0170.00616.38
7.3.200.0000.01616.48
7.3.190.0090.00516.41
7.3.180.0060.01016.28
7.3.170.0230.00016.41
7.3.160.0150.00716.27
7.3.150.0070.00716.27
7.3.140.0150.00616.51
7.3.130.0100.01016.34
7.3.120.0090.01116.43
7.3.110.0100.00616.17
7.3.100.0050.01016.52
7.3.90.0080.00816.36
7.3.80.0120.00316.30
7.3.70.0210.00016.28
7.3.60.0090.01216.16
7.3.50.0040.01116.27
7.3.40.0090.00616.29
7.3.30.0120.00316.24
7.3.20.0120.00816.38
7.3.10.0100.00716.21
7.3.00.0100.01316.24
7.2.330.0050.01816.54
7.2.320.0150.00316.30
7.2.310.0000.01616.44
7.2.300.0080.01116.48
7.2.290.0060.01816.50
7.2.280.0030.01616.38
7.2.270.0140.00716.36
7.2.260.0090.01216.54
7.2.250.0060.01516.48
7.2.240.0140.00316.41
7.2.230.0060.01016.54
7.2.220.0080.00816.35
7.2.210.0120.00916.60
7.2.200.0110.01116.52
7.2.190.0160.00716.37
7.2.180.0080.00816.16
7.2.170.0120.00916.26
7.2.160.0200.00016.38
7.2.150.0110.01116.52
7.2.140.0100.00616.48
7.2.130.0090.01516.30
7.2.120.0090.01216.43
7.2.110.0170.00016.40
7.2.100.0100.01016.38
7.2.90.0140.00916.33
7.2.80.0100.01316.25
7.2.70.0170.00216.53
7.2.60.0100.00616.50
7.2.50.0050.01016.72
7.2.40.0110.00716.66
7.2.30.0120.00316.43
7.2.20.0030.01816.45
7.2.10.0120.00416.30
7.2.00.0100.01316.37
7.1.330.0030.01215.31
7.1.320.0090.00615.26
7.1.310.0130.00315.14
7.1.300.0120.00915.41
7.1.290.0040.01115.42
7.1.280.0140.00715.31
7.1.270.0040.01615.49
7.1.260.0110.00915.44
7.1.250.0060.01515.37
7.1.240.0000.01515.40
7.1.230.0080.01115.14
7.1.220.0090.00915.30
7.1.210.0120.00915.43
7.1.200.0090.00715.46
7.1.190.0090.00915.25
7.1.180.0060.00915.45
7.1.170.0060.01615.28
7.1.160.0060.00915.34
7.1.150.0190.00615.23
7.1.140.0090.01115.31
7.1.130.0080.00815.29
7.1.120.0090.01215.23
7.1.110.0040.01115.44
7.1.100.0030.01315.27
7.1.90.0170.00315.43
7.1.80.0180.00615.30
7.1.70.0080.00816.15
7.1.60.0050.01416.17
7.1.50.0100.00516.13
7.1.40.0090.00416.02
7.1.30.0090.00516.06
7.1.20.0130.00516.12
7.1.10.0050.00916.03
7.1.00.0070.00716.04
7.0.330.0080.01214.97
7.0.320.0170.00714.91
7.0.310.0030.01015.13
7.0.300.0040.01715.01
7.0.290.0090.00914.93
7.0.280.0090.00914.97
7.0.270.0060.00915.09
7.0.260.0120.00815.06
7.0.250.0100.01015.22
7.0.240.0080.00815.18
7.0.230.0120.00915.09
7.0.220.0110.00814.98
7.0.210.0060.00914.89
7.0.200.0110.00415.88
7.0.190.0040.00715.84
7.0.180.0070.00815.85
7.0.170.0060.00915.88
7.0.160.0070.00815.86
7.0.150.0050.00815.89
7.0.140.0030.00815.86
7.0.130.0020.00915.85
7.0.120.0080.00615.83
7.0.110.0030.01515.91
7.0.100.0050.01315.78
7.0.90.0040.00915.87
7.0.80.0030.00915.81
7.0.70.0050.01115.87
7.0.60.0020.01115.92
7.0.50.0070.00715.92
7.0.40.0070.00615.91
7.0.30.0070.00515.87
7.0.20.0090.00315.96
7.0.10.0040.00815.95
7.0.00.0060.00615.88
5.6.400.0170.00715.72
5.6.390.0100.00615.91
5.6.380.0130.00315.87
5.6.370.0170.00515.97
5.6.360.0030.01415.84
5.6.350.0110.01015.86
5.6.340.0060.01515.86
5.6.330.0070.01615.78
5.6.320.0100.00715.86
5.6.310.0030.01315.89
5.6.300.0090.02418.29
5.6.290.0050.02518.30
5.6.280.0080.04318.13
5.6.270.0050.02918.29
5.6.260.0080.02718.32
5.6.250.0020.03318.38
5.6.240.0090.02618.44
5.6.230.0030.03418.24
5.6.220.0050.02718.41
5.6.210.0060.02618.08
5.6.200.0070.04418.34
5.6.190.0090.03318.17
5.6.180.0100.04018.35
5.6.170.0050.03818.32
5.6.160.0020.02918.29
5.6.150.0050.02718.14
5.6.140.0050.03018.23
5.6.130.0060.02818.20
5.6.120.0060.02718.15
5.6.110.0020.03218.08
5.6.100.0090.02218.29
5.6.90.0060.04218.18
5.6.80.0170.02717.94
5.6.70.0090.02117.92
5.6.60.0030.02717.94
5.6.50.0050.02817.86
5.6.40.0080.04517.88
5.6.30.0070.02317.92
5.6.20.0080.02317.81
5.6.10.0050.02617.89
5.6.00.0050.02617.99

preferences:
32.72 ms | 403 KiB | 5 Q