3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo extends \Traversable { } interface Baz { } class Example implements Foo, \IteratorAggregate, Baz { 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.3.60.0120.00618.33
8.3.50.0090.01221.14
8.3.40.0110.00318.76
8.3.30.0110.00418.65
8.3.20.0080.00020.61
8.3.10.0070.00021.60
8.3.00.0050.00320.88
8.2.180.0140.00318.29
8.2.170.0120.00622.96
8.2.160.0100.00721.03
8.2.150.0030.01025.66
8.2.140.0040.00424.66
8.2.130.0000.00722.16
8.2.120.0070.00026.35
8.2.110.0080.00020.52
8.2.100.0080.00417.78
8.2.90.0060.00319.23
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0000.00817.92
8.2.50.0030.00618.10
8.2.40.0070.00020.47
8.2.30.0000.00719.13
8.2.20.0040.00417.96
8.2.10.0000.00718.09
8.2.00.0040.00417.61
8.1.280.0070.01025.92
8.1.270.0050.00323.96
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00522.14
8.1.230.0070.00417.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00818.66
8.1.160.0000.00718.94
8.1.150.0040.00420.25
8.1.140.0000.00919.42
8.1.130.0000.00817.74
8.1.120.0030.00517.25
8.1.110.0000.00717.38
8.1.100.0040.00417.31
8.1.90.0040.00417.37
8.1.80.0020.00517.36
8.1.70.0030.00317.38
8.1.60.0040.00417.46
8.1.50.0030.00517.47
8.1.40.0030.00717.32
8.1.30.0030.00517.54
8.1.20.0040.00417.54
8.1.10.0000.00717.41
8.1.00.0040.00417.29
8.0.300.0030.00618.77
8.0.290.0070.00016.63
8.0.280.0050.00318.41
8.0.270.0000.00717.18
8.0.260.0030.00317.10
8.0.250.0080.00016.86
8.0.240.0040.00416.95
8.0.230.0030.00316.79
8.0.220.0070.00016.75
8.0.210.0070.00016.79
8.0.200.0000.00616.89
8.0.190.0080.00316.88
8.0.180.0000.00716.83
8.0.170.0000.00816.73
8.0.160.0050.00516.70
8.0.150.0030.00316.81
8.0.140.0040.00416.79
8.0.130.0040.00413.25
8.0.120.0040.00416.80
8.0.110.0030.00316.63
8.0.100.0000.00716.72
8.0.90.0030.00416.77
8.0.80.0090.00616.82
8.0.70.0020.00516.66
8.0.60.0040.00416.88
8.0.50.0040.00416.88
8.0.30.0110.00616.90
8.0.20.0100.01417.40
8.0.10.0070.00016.88
8.0.00.0130.00316.59
7.4.330.0020.00215.55
7.4.320.0030.00316.54
7.4.300.0030.00316.39
7.4.290.0040.00416.41
7.4.280.0040.00416.54
7.4.270.0000.00616.50
7.4.260.0000.00616.50
7.4.250.0000.00716.45
7.4.240.0000.00816.45
7.4.230.0000.00716.32
7.4.220.0070.01316.42
7.4.210.0070.01016.47
7.4.200.0000.00716.63
7.4.160.0100.00516.43
7.4.150.0120.00517.40
7.4.140.0100.01117.86
7.4.130.0090.00916.41
7.4.120.0070.01016.45
7.4.110.0090.01116.29
7.4.100.0060.01016.49
7.4.90.0040.01316.46
7.4.80.0150.00719.39
7.4.70.0070.01016.44
7.4.60.0000.01516.22
7.4.50.0070.00716.28
7.4.40.0110.00516.49
7.4.30.0060.01216.07
7.4.00.0040.01414.72
7.3.330.0000.00513.30
7.3.320.0060.00013.18
7.3.310.0040.00416.28
7.3.300.0030.00316.19
7.3.290.0050.01016.24
7.3.280.0080.01016.21
7.3.270.0140.00617.40
7.3.260.0080.01216.25
7.3.250.0100.00816.22
7.3.240.0090.01216.40
7.3.230.0100.00916.39
7.3.210.0040.01616.33
7.3.200.0100.00716.26
7.3.190.0060.00916.24
7.3.180.0030.01416.21
7.3.170.0030.01416.27
7.3.160.0030.01616.42
7.3.10.0060.00616.35
7.3.00.0070.00716.66
7.2.330.0070.01016.65
7.2.320.0150.00316.54
7.2.310.0070.01016.36
7.2.300.0090.00916.42
7.2.290.0160.00916.53
7.2.130.0030.01016.86
7.2.120.0090.00616.65
7.2.110.0030.01016.57
7.2.100.0030.00716.57
7.2.90.0070.01016.73
7.2.80.0040.00816.89
7.2.70.0060.00916.73
7.2.60.0070.00516.56
7.2.50.0030.01416.36
7.2.40.0030.01016.76
7.2.30.0060.00916.77
7.2.20.0060.00616.56
7.2.10.0040.00416.93
7.2.00.0060.00316.62
7.1.250.0090.00015.66
7.1.200.0050.00215.40
7.1.70.0000.00817.01
7.1.60.0030.01017.09
7.1.00.1000.05320.80
7.0.200.0870.00614.61
7.0.140.1000.06320.25
7.0.130.1070.05320.15
7.0.120.1130.04720.13
7.0.110.1070.06020.12
7.0.100.1200.05320.32
7.0.90.1170.06020.18
7.0.80.1100.05320.43
7.0.70.1270.06020.16
7.0.60.1300.08720.20
7.0.50.1200.07320.25
7.0.40.1200.05720.39
7.0.30.1270.06020.17
7.0.20.1200.05720.25
7.0.10.1170.05720.27
7.0.00.1830.06020.17
5.6.290.0130.05320.96
5.6.280.0130.05021.10
5.6.270.0100.05320.85
5.6.260.0100.05721.09
5.6.250.0100.05320.96
5.6.240.0330.06321.13
5.6.230.0200.06720.81
5.6.220.0170.05320.86
5.6.210.0070.05720.93
5.6.200.0130.06321.03
5.6.190.0130.05321.05
5.6.180.0100.06021.04
5.6.170.0130.05721.04
5.6.160.0270.06320.88
5.6.150.0100.06321.03
5.6.140.0130.05720.88
5.6.130.0200.04721.05
5.6.120.0200.05021.00
5.6.110.0170.05721.05
5.6.100.0170.07021.02
5.6.90.0000.07021.01
5.6.80.0130.05320.46
5.6.70.0100.05320.44
5.6.60.0130.05320.25
5.6.50.0330.05020.12
5.6.40.0100.05720.41
5.6.30.0170.06320.21
5.6.20.0100.05720.20
5.6.10.0200.04320.12
5.6.00.0130.05020.22

preferences:
59.91 ms | 401 KiB | 5 Q