3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); /** * @deprecated */ class Catalogue { /** * @cacheable * @linksTo $item * @var Item[] */ public array $items = []; /** * @return Item[] */ public function getItems(): array { return $this->items; } }

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.20.0170.00319.65
8.4.10.0100.00019.25
8.3.150.0030.01616.99
8.3.140.0000.00818.63
8.3.130.0040.00418.19
8.3.120.0130.00618.92
8.3.110.0110.00416.38
8.3.100.0030.00624.06
8.3.90.0030.00726.77
8.3.80.0050.00519.36
8.3.70.0070.01418.18
8.3.60.0080.01118.43
8.3.50.0160.00224.42
8.3.40.0070.00718.76
8.3.30.0110.00418.67
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0060.01318.79
8.2.250.0080.00016.52
8.2.240.0060.00317.07
8.2.230.0040.00420.94
8.2.220.0090.00037.54
8.2.210.0050.00326.77
8.2.200.0090.00018.88
8.2.190.0070.01016.58
8.2.180.0100.01025.92
8.2.170.0030.01918.66
8.2.160.0120.00322.96
8.2.150.0060.00325.66
8.2.140.0040.01124.66
8.2.130.0080.00026.16
8.2.120.0000.00826.35
8.2.110.0000.00919.20
8.2.100.0120.00417.66
8.2.90.0000.00818.09
8.2.80.0000.00818.98
8.2.70.0060.00317.50
8.2.60.0100.00017.80
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0060.00318.01
8.2.20.0070.00017.81
8.2.10.0040.00419.11
8.2.00.0070.00019.10
8.1.310.0060.01216.38
8.1.300.0080.00017.75
8.1.290.0050.00530.84
8.1.280.0100.01025.92
8.1.270.0060.00323.99
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0090.00022.02
8.1.230.0110.00022.77
8.1.220.0060.00317.74
8.1.210.0060.00318.82
8.1.200.0030.00617.10
8.1.190.0040.00417.41
8.1.180.0000.00918.62
8.1.170.0050.00318.39
8.1.160.0040.00418.77
8.1.150.0000.01018.82
8.1.140.0000.00718.77
8.1.130.0000.00720.06
8.1.120.0000.00717.24
8.1.110.0050.00217.28
8.1.100.0000.00717.26
8.1.90.0000.00717.23
8.1.80.0050.00317.25
8.1.70.0000.00717.17
8.1.60.0080.00017.51
8.1.50.0000.00817.36
8.1.40.0040.00417.39
8.1.30.0040.00417.42
8.1.20.0050.00217.45
8.1.10.0060.00617.37
8.1.00.0040.00417.35
8.0.300.0000.00720.09
8.0.290.0000.00717.05
8.0.280.0070.00018.32
8.0.270.0040.00417.84
8.0.260.0040.00418.20
8.0.250.0070.00016.87
8.0.240.0030.00316.73
8.0.230.0030.00316.88
8.0.220.0040.00416.74
8.0.210.0070.00016.79
8.0.200.0100.00016.72
8.0.190.0000.00816.78
8.0.180.0080.00016.72
8.0.170.0000.00916.71
8.0.160.0000.00816.79
8.0.150.0070.00016.70
8.0.140.0000.00716.59
8.0.130.0050.00013.16
8.0.120.0020.00516.69
8.0.110.0040.00416.75
8.0.100.0000.00816.64
8.0.90.0000.00716.76
8.0.80.0090.00816.81
8.0.70.0070.00016.86
8.0.60.0050.00216.82
8.0.50.0070.00016.80
8.0.30.0050.02016.84
8.0.20.0070.01116.95
8.0.10.0050.00216.76
8.0.00.0160.00716.74
7.4.330.0050.00015.55
7.4.320.0030.00316.38
7.4.300.0060.00016.43
7.4.290.0040.00316.36
7.4.280.0050.00316.52
7.4.270.0000.00716.47
7.4.260.0000.00613.15
7.4.250.0030.00316.36
7.4.240.0070.00016.48
7.4.230.0000.00716.29
7.4.220.0030.00316.43
7.4.210.0100.00416.48
7.4.200.0000.00916.59
7.4.130.0110.00716.36
7.4.120.0070.01116.26
7.4.110.0100.00716.34
7.4.100.0140.00616.16
7.4.90.0060.01016.43
7.4.80.0070.01319.39
7.4.70.0080.00815.99
7.4.60.0080.00816.15
7.4.50.0060.01216.27
7.4.40.0150.00616.32
7.4.30.0060.01716.21
7.4.20.0130.00316.23
7.4.10.0040.01216.45
7.4.00.0080.00816.55
7.3.330.0060.00316.27
7.3.320.0020.00213.21
7.3.310.0000.00716.18
7.3.300.0030.00316.16
7.3.290.0100.00616.22
7.3.280.0150.00616.11
7.3.260.0060.01116.20
7.3.240.0080.01016.23
7.3.230.0070.01416.09
7.3.210.0110.00616.04
7.3.200.0140.00716.18
7.3.190.0110.00516.35
7.3.180.0040.01516.23
7.3.170.0090.01116.23
7.3.160.0100.01016.30
7.3.150.0150.00616.09
7.3.140.0150.00316.39
7.3.130.0130.00316.36
7.3.120.0070.00716.37
7.3.110.0130.00416.27
7.3.100.0140.00316.25
7.3.90.0110.00416.09
7.3.80.0110.01116.33
7.3.70.0080.00616.04
7.3.60.0110.00616.18
7.3.50.0050.01116.16
7.3.40.0110.00516.15
7.3.30.0130.00816.09
7.3.20.0150.00916.09
7.3.10.0120.00316.24
7.3.00.0100.00616.07
7.2.330.0080.01116.46
7.2.320.0140.00416.38
7.2.310.0140.00316.36
7.2.300.0050.01216.42
7.2.290.0110.00616.50
7.2.280.0070.01116.43
7.2.270.0120.00416.40
7.2.260.0090.00616.26
7.2.250.0060.01216.41
7.2.240.0130.00516.31
7.2.230.0060.00916.29
7.2.220.0080.00816.26
7.2.210.0070.01016.31
7.2.200.0110.00615.96
7.2.190.0060.00916.36
7.2.180.0070.01016.08
7.2.170.0000.01516.19
7.2.160.0100.00716.29
7.2.150.0140.00316.24
7.2.140.0160.00016.38
7.2.130.0030.01316.39
7.2.120.0140.00316.43
7.2.110.0160.00016.31
7.2.100.0080.00816.45
7.2.90.0090.00916.29
7.2.80.0040.01416.54
7.2.70.0060.01216.31
7.2.60.0080.00816.38
7.2.50.0070.01416.32
7.2.40.0100.01016.34
7.2.30.0090.00916.29
7.2.20.0120.00316.29
7.2.10.0060.01216.34
7.2.00.0160.00316.18

preferences:
29.16 ms | 403 KiB | 5 Q