3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types = 1); namespace TF\Core\Model; trait tObjectID { /** * @TF: {column => id, type => int} */ protected $id; public function getId(): int { return $this->id; } public function setId(int $id): int { $this->id = $id; } }

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.0090.01216.38
8.3.50.0130.00721.99
8.3.40.0110.00718.71
8.3.30.0070.00718.71
8.3.20.0000.00720.21
8.3.10.0050.00323.52
8.3.00.0040.00419.73
8.2.180.0140.00716.50
8.2.170.0210.00022.96
8.2.160.0030.01720.47
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0060.00321.18
8.2.120.0040.00426.35
8.2.110.0060.00622.30
8.2.100.0070.00417.80
8.2.90.0070.00018.80
8.2.80.0040.00417.97
8.2.70.0030.00617.49
8.2.60.0040.00417.68
8.2.50.0040.00418.07
8.2.40.0000.00822.36
8.2.30.0030.00520.49
8.2.20.0040.00417.50
8.2.10.0000.00717.99
8.2.00.0040.00417.95
8.1.280.0030.01025.92
8.1.270.0100.00320.32
8.1.260.0050.00328.09
8.1.250.0000.00828.09
8.1.240.0070.01024.01
8.1.230.0130.00319.16
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0100.00017.23
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0000.00818.52
8.1.160.0000.00720.68
8.1.150.0070.00018.77
8.1.140.0050.00319.38
8.1.130.0050.00317.57
8.1.120.0040.00417.34
8.1.110.0040.00317.21
8.1.100.0030.00617.35
8.1.90.0040.00417.35
8.1.80.0030.00517.32
8.1.70.0040.00417.27
8.1.60.0030.00517.46
8.1.50.0030.00517.45
8.1.40.0040.00417.35
8.1.30.0030.00517.46
8.1.20.0000.00917.43
8.1.10.0030.00517.28
8.1.00.0040.00417.28
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0070.00018.32
8.0.270.0080.00017.13
8.0.260.0000.00716.98
8.0.250.0000.00716.76
8.0.240.0000.00716.74
8.0.230.0040.00416.84
8.0.220.0040.00416.73
8.0.210.0000.00716.75
8.0.200.0020.00516.81
8.0.190.0000.01116.75
8.0.180.0050.00316.67
8.0.170.0040.00416.78
8.0.160.0080.00016.77
8.0.150.0070.00016.67
8.0.140.0000.01016.69
8.0.130.0000.00513.24
8.0.120.0080.00016.61
8.0.110.0030.00516.75
8.0.100.0070.00016.70
8.0.90.0030.00616.83
8.0.80.0070.01016.77
8.0.70.0000.00716.58
8.0.60.0070.00016.83
8.0.50.0040.00416.70
8.0.30.0050.01217.04
8.0.20.0090.01017.40
8.0.10.0000.00816.82
8.0.00.0090.00816.73
7.4.330.0020.00216.74
7.4.320.0000.00716.34
7.4.300.0000.00616.26
7.4.290.0030.00316.33
7.4.280.0000.00816.47
7.4.270.0040.00316.51
7.4.260.0030.00616.31
7.4.250.0030.00316.31
7.4.240.0040.00316.46
7.4.230.0030.00316.36
7.4.220.0080.00816.50
7.4.210.0000.01416.48
7.4.200.0000.00816.45
7.4.160.0040.01216.38
7.4.150.0080.01117.40
7.4.140.0130.00517.86
7.4.130.0140.00616.38
7.4.120.0070.01116.47
7.4.110.0070.01016.43
7.4.100.0130.01216.49
7.4.90.0100.00716.15
7.4.80.0100.01319.39
7.4.70.0080.00816.37
7.4.60.0030.01316.30
7.4.50.0120.00316.45
7.4.40.0040.01216.21
7.4.30.0110.00716.43
7.4.00.0070.01014.70
7.3.330.0000.00513.00
7.3.320.0030.00213.18
7.3.310.0040.00416.21
7.3.300.0040.00416.18
7.3.290.0120.00516.13
7.3.280.0060.01216.17
7.3.270.0130.00317.40
7.3.260.0100.01316.13
7.3.250.0090.01016.19
7.3.240.0100.00816.34
7.3.230.0040.01216.42
7.3.210.0090.00916.22
7.3.200.0130.00316.15
7.3.190.0080.00816.40
7.3.180.0090.00616.17
7.3.170.0100.01016.35
7.3.160.0100.01316.36
7.3.10.0090.00316.29
7.3.00.0100.00316.49
7.2.330.0060.01016.45
7.2.320.0070.01916.50
7.2.310.0030.01316.52
7.2.300.0110.01116.58
7.2.290.0030.01316.46
7.2.130.0160.00616.55
7.2.120.0140.00516.60
7.2.110.0130.00016.50
7.2.100.0040.00716.61
7.2.90.0180.00416.42
7.2.80.0030.01016.80
7.2.70.0030.01116.39
7.2.60.0140.00416.50
7.2.50.0120.00616.69
7.2.40.0090.00916.88
7.2.30.0140.00316.51
7.2.20.0120.00416.71
7.2.10.0120.01216.79
7.2.00.0090.00617.97
7.1.250.0100.00315.43
7.1.200.0030.00915.39
7.1.100.0070.00717.71
7.1.70.0040.00717.05
7.1.60.0070.01719.52
7.1.50.0060.01516.91
7.1.00.0030.07322.45
7.0.200.0050.00516.64
7.0.60.0100.07321.72
7.0.50.0070.05017.74
7.0.40.0100.07020.11
7.0.30.0300.07720.07
7.0.20.0300.07020.23
7.0.10.0030.04720.02
7.0.00.0130.08020.19
5.6.280.0030.08020.91
5.6.210.0070.08720.61
5.6.200.0070.05718.23
5.6.190.0130.07020.55
5.6.180.0270.08720.47
5.6.170.0230.08720.39
5.6.160.0130.07720.39
5.6.150.0030.08018.17
5.6.140.0100.04318.21
5.6.130.0030.04718.28
5.6.120.0100.06020.99
5.6.110.0070.06720.96
5.6.100.0100.08020.98
5.6.90.0100.06320.97
5.6.80.0230.05020.38
5.5.350.4330.04020.40
5.5.340.0200.06018.02
5.5.330.0070.03720.37
5.5.320.0500.07720.34
5.5.310.0300.07720.24
5.5.300.0130.06318.08
5.5.290.0130.06018.04
5.5.280.0070.07720.98
5.5.270.0100.04320.87
5.5.260.0200.06720.87
5.5.250.0170.07020.62
5.5.240.0070.07720.27

preferences:
60.85 ms | 401 KiB | 5 Q