3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface ContainerInterface extends \RecursiveIterator { /** * @param string|callable $filter * @return ContainerInterface */ public function filter($filter, array $params = []): self; } class Item implements ContainerInterface { /** * @var ContainerInterface */ private $container; /** * @return Item */ public function current() { return $this->container->current(); } }

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.70.0060.00216.89
8.5.60.0070.00716.77
8.5.50.0040.00918.46
8.5.30.0090.00921.33
8.5.20.0090.00819.36
8.5.10.0090.01016.82
8.5.00.0100.01119.78
8.4.220.0080.00221.90
8.4.210.0110.00319.46
8.4.180.0120.01125.55
8.4.170.0190.00323.91
8.4.160.0130.00923.88
8.4.150.0100.00516.80
8.4.140.0160.00717.56
8.4.130.0060.00317.94
8.4.120.0090.00220.56
8.4.110.0130.00518.37
8.4.100.0130.00717.65
8.4.90.0060.00620.88
8.4.80.0130.00318.81
8.4.70.0120.00919.09
8.4.60.0060.00420.62
8.4.50.0100.00918.28
8.4.40.0060.01019.55
8.4.30.0060.01319.31
8.4.20.0160.00320.59
8.4.10.0090.00017.70
8.3.310.0120.01118.46
8.3.300.0100.01022.60
8.3.290.0110.00920.96
8.3.280.0130.00718.37
8.3.270.0140.00516.71
8.3.260.0130.00616.61
8.3.250.0050.00319.04
8.3.240.0100.00116.62
8.3.230.0120.00716.47
8.3.220.0100.00918.88
8.3.210.0100.00216.55
8.3.200.0040.00516.60
8.3.190.0130.00618.88
8.3.180.0040.00418.79
8.3.170.0100.01017.03
8.3.160.0130.00616.58
8.3.150.0000.00918.59
8.3.140.0130.00320.74
8.3.130.0100.00016.56
8.3.120.0110.00718.95
8.3.110.0070.01020.94
8.3.100.0100.00024.06
8.3.90.0040.00426.77
8.3.80.0030.00618.27
8.3.70.0070.00718.18
8.3.60.0110.00718.55
8.3.50.0090.00316.46
8.3.40.0080.00818.72
8.3.30.0040.01118.60
8.3.20.0080.00020.56
8.3.10.0080.00021.59
8.3.00.0080.00022.39
8.2.310.0120.00718.19
8.2.300.0130.00618.60
8.2.290.0110.00916.64
8.2.280.0110.00818.21
8.2.270.0060.01216.57
8.2.260.0040.00416.95
8.2.250.0080.00016.71
8.2.240.0050.00317.14
8.2.230.0030.01322.58
8.2.220.0130.00637.54
8.2.210.0150.00426.77
8.2.200.0080.00018.43
8.2.190.0070.00716.58
8.2.180.0040.01116.38
8.2.170.0190.00322.96
8.2.160.0110.00321.02
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.77
8.2.110.0100.00021.95
8.2.100.0070.00417.72
8.2.90.0030.00517.91
8.2.80.0040.00417.97
8.2.70.0060.00317.68
8.2.60.0020.00518.03
8.2.50.0050.00318.10
8.2.40.0050.00219.36
8.2.30.0070.00019.32
8.2.20.0040.00417.86
8.2.10.0040.00419.09
8.2.00.0040.00418.23
8.1.340.0140.00517.63
8.1.330.0130.00716.20
8.1.320.0060.01317.66
8.1.310.0000.00818.49
8.1.300.0070.01115.98
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0000.00820.24
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00417.36
8.1.230.0100.00321.03
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0050.00317.10
8.1.180.0030.00518.10
8.1.170.0040.00418.59
8.1.160.0040.00418.87
8.1.150.0040.00418.75
8.1.140.0000.00818.98
8.1.130.0000.00720.36
8.1.120.0000.00717.39
8.1.110.0030.00617.39
8.1.100.0030.00517.35
8.1.90.0060.00317.36
8.1.80.0040.00417.26
8.1.70.0030.00317.41
8.1.60.0030.00517.51
8.1.50.0000.00817.39
8.1.40.0000.00917.36
8.1.30.0000.00817.46
8.1.20.0040.00417.58
8.1.10.0040.00417.28
8.1.00.0000.00817.17
8.0.300.0040.00420.05
8.0.290.0030.00516.63
8.0.280.0030.00318.39
8.0.270.0030.00317.20
8.0.260.0070.00018.30
8.0.250.0030.00616.92
8.0.240.0030.00316.94
8.0.230.0030.00316.95
8.0.220.0050.00216.79
8.0.210.0030.00316.82
8.0.200.0030.00316.84
8.0.190.0000.00716.82
8.0.180.0040.00416.93
8.0.170.0030.00616.79
8.0.160.0050.00316.83
8.0.150.0060.00316.84
8.0.140.0070.00016.79
8.0.130.0050.00013.28
8.0.120.0070.00016.80
8.0.110.0040.00416.92
8.0.100.0000.00816.85
8.0.90.0040.00416.73
8.0.80.0030.01316.83
8.0.70.0040.00416.69
8.0.60.0030.00516.84
8.0.50.0070.00016.79
8.0.30.0030.01817.08
8.0.20.0140.00617.05
8.0.10.0040.00416.97
8.0.00.0110.01116.66
7.4.330.0000.00616.70
7.4.320.0060.00016.38
7.4.300.0000.00616.58
7.4.290.0030.00316.53
7.4.280.0000.00816.48
7.4.270.0030.00316.37
7.4.260.0030.00316.39
7.4.250.0040.00416.42
7.4.240.0040.00316.53
7.4.230.0000.00716.51
7.4.220.0000.00816.34
7.4.210.0120.00916.44
7.4.200.0050.00216.38
7.4.160.0150.00516.43
7.4.140.0130.00717.86
7.4.130.0070.01716.31
7.4.120.0090.01516.34
7.4.110.0130.00316.42
7.4.100.0070.01116.63
7.4.90.0090.00616.51
7.4.80.0060.01219.39
7.4.70.0120.00916.41
7.4.60.0100.00716.51
7.4.50.0070.00716.39
7.4.40.0030.01316.64
7.4.00.0000.01415.10
7.3.330.0000.00513.07
7.3.320.0000.00613.32
7.3.310.0030.00316.06
7.3.300.0050.00216.30
7.3.290.0030.00616.09
7.3.280.0090.00616.15
7.3.260.0090.00816.38
7.3.240.0040.01416.40
7.3.230.0030.01316.41
7.3.210.0060.01216.39
7.3.200.0090.00716.33
7.3.190.0090.00616.27
7.3.180.0090.01316.32
7.3.170.0060.01316.52
7.3.160.0090.00916.38
7.3.30.0100.00814.65
7.3.20.2030.00714.71
7.3.10.1770.00314.44
7.3.00.1520.01014.69
7.2.330.0100.00716.35
7.2.320.0090.00616.62
7.2.310.0070.01016.55
7.2.300.0100.01316.32
7.2.290.0150.00616.34
7.2.160.0090.00614.64
7.2.150.1660.01014.85
7.2.140.1980.00714.86
7.2.130.1760.01014.95
7.2.120.1530.00714.79
7.2.110.1370.00714.93
7.2.100.1320.00314.80
7.2.90.1450.01014.94
7.2.80.1590.01014.92
7.2.70.1420.00314.89
7.2.60.1440.00714.88
7.2.50.1550.00715.05
7.2.40.1480.01314.68
7.2.30.1440.01014.95
7.2.20.1960.00314.97
7.2.10.1400.00714.77
7.2.00.1450.00614.99
7.1.270.2030.01013.55
7.1.260.1650.01013.77
7.1.250.1820.00713.98

preferences:
105.32 ms | 1510 KiB | 5 Q