3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); final class Test { public int $prop; public function __construct() { unset($this->prop); } public function __get(string $property) { if ('prop' === $property) { return $this->prop = 1; } throw new LogicException(sprintf('Unknown property "%s"', $property)); } } $test = new Test(); var_dump($test->prop);

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.00.0120.00919.92
8.4.150.0020.00014.05
8.4.140.0140.00717.66
8.4.130.0140.00617.86
8.4.120.0120.00922.29
8.4.110.0160.00422.43
8.4.100.0050.00422.21
8.4.90.0080.01417.82
8.4.80.0070.00517.75
8.4.70.0100.00617.86
8.4.60.0070.00117.91
8.4.50.0090.01217.72
8.4.40.0140.00618.75
8.4.30.0040.01520.61
8.4.20.0060.00322.62
8.4.10.0100.01024.23
8.3.280.0150.00518.28
8.3.270.0110.00816.55
8.3.260.0150.00616.55
8.3.250.0060.00218.99
8.3.240.0110.00816.80
8.3.230.0120.00716.36
8.3.220.0080.00917.10
8.3.210.0090.01016.42
8.3.200.0110.01016.66
8.3.190.0100.00419.11
8.3.180.0070.00916.73
8.3.170.0110.00817.43
8.3.160.0040.00417.19
8.3.150.0030.00616.80
8.3.140.0040.00416.64
8.3.130.0080.00016.70
8.3.120.0030.00619.00
8.3.110.0090.00020.94
8.3.100.0080.00024.06
8.3.90.0040.00426.77
8.3.80.0000.01116.50
8.3.70.0070.00716.58
8.3.60.0130.00318.56
8.3.50.0100.00923.73
8.3.40.0090.00918.89
8.3.30.0070.00718.67
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0020.00526.16
8.2.290.0100.00920.24
8.2.280.0120.00718.64
8.2.270.0090.00918.34
8.2.260.0120.00617.04
8.2.250.0070.01116.70
8.2.240.0040.00418.63
8.2.230.0040.00422.58
8.2.220.0030.00737.54
8.2.210.0080.00026.77
8.2.200.0040.00416.50
8.2.190.0110.01116.58
8.2.180.0120.00625.92
8.2.170.0110.01119.04
8.2.160.0090.00922.96
8.2.150.0070.00025.66
8.2.140.0070.00024.66
8.2.130.0050.00226.16
8.2.120.0040.00426.35
8.2.110.0110.01120.44
8.2.100.0040.00817.97
8.2.90.0030.00517.50
8.2.80.0030.00618.73
8.2.70.0000.00917.38
8.2.60.0060.00317.50
8.2.50.0000.00818.05
8.2.40.0000.00818.09
8.2.30.0030.00517.97
8.2.20.0070.00018.02
8.2.10.0040.00419.11
8.2.00.0050.00319.29
8.1.330.0130.00622.09
8.1.320.0120.00716.21
8.1.310.0030.00616.61
8.1.300.0040.01116.06
8.1.290.0040.00418.88
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0020.00528.09
8.1.250.0070.00028.09
8.1.240.0070.00419.26
8.1.230.0110.00020.85
8.1.220.0000.00818.43
8.1.210.0040.00418.77
8.1.200.0040.00417.51
8.1.190.0000.00817.13
8.1.180.0050.00319.01
8.1.170.0000.00918.62
8.1.160.0000.00718.74
8.1.150.0000.00718.86
8.1.140.0000.00918.86
8.1.130.0030.00520.00
8.1.120.0030.00517.43
8.1.110.0000.00817.38
8.1.100.0000.00717.40
8.1.90.0070.00017.30
8.1.80.0100.00017.29
8.1.70.0000.00717.45
8.1.60.0000.00817.64
8.1.50.0060.00317.51
8.1.40.0060.00317.39
8.1.30.0080.00017.70
8.1.20.0040.00417.55
8.1.10.0040.00417.48
8.1.00.0000.00917.51
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00320.16
8.0.270.0030.00317.82
8.0.260.0000.00618.38
8.0.250.0000.00716.91
8.0.240.0000.00816.82
8.0.230.0070.00016.93
8.0.220.0100.00016.89
8.0.210.0000.00716.70
8.0.200.0030.00316.79
8.0.190.0000.00716.93
8.0.180.0000.00716.88
8.0.170.0040.00416.71
8.0.160.0040.00416.79
8.0.150.0030.00516.67
8.0.140.0090.00316.80
8.0.130.0000.00513.26
8.0.120.0040.00416.84
8.0.110.0070.00016.84
8.0.100.0000.00816.72
8.0.90.0000.00816.81
8.0.80.0140.00316.77
8.0.70.0050.00216.86
8.0.60.0050.00316.63
8.0.50.0020.00516.72
8.0.30.0070.01017.33
8.0.20.0090.01016.93
8.0.10.0050.00316.99
8.0.00.0170.00616.64
7.4.330.0030.00316.79
7.4.320.0060.00016.60
7.4.300.0000.00616.40
7.4.290.0000.00716.63
7.4.280.0080.00016.61
7.4.270.0050.00316.43
7.4.260.0000.00513.23
7.4.250.0030.00316.56
7.4.240.0000.00716.51
7.4.230.0030.00316.71
7.4.220.0020.00516.63
7.4.210.0080.00816.55
7.4.200.0070.00016.63
7.4.130.0090.01116.51
7.4.120.0210.01016.16
7.4.110.0170.00816.30
7.4.100.0150.00816.42
7.4.90.0170.00616.42
7.4.80.0160.00716.40
7.4.70.0130.00916.32
7.4.60.0180.01016.44
7.4.50.0140.01116.34
7.4.40.0140.01016.42
7.4.30.0130.01016.43
7.4.20.0150.00716.32
7.4.10.0120.01216.32
7.4.00.0100.01116.39
7.3.330.0040.00416.30
7.3.320.0030.00313.21
7.3.310.0080.00016.20
7.3.300.0030.00316.08
7.3.290.0070.01116.18
7.3.260.0110.00716.10
7.3.240.0240.00916.12
7.3.230.0160.01116.20
7.3.220.0210.00816.19
7.3.210.0130.01116.20
7.3.200.0150.00716.21
7.3.190.0110.01216.21
7.3.180.0170.00516.16
7.3.170.0130.01216.24
7.3.160.0140.01016.19
7.3.150.0120.01116.16
7.3.140.0120.01116.23
7.3.130.0130.00916.24
7.3.120.0120.01016.14
7.3.110.0100.01116.23
7.3.100.0160.00616.23
7.3.90.0140.00716.11
7.3.80.0120.01016.27
7.3.70.0160.00916.16
7.3.60.0130.01016.21
7.3.50.0120.01016.17
7.3.40.0100.01316.16
7.3.30.0130.01016.16
7.3.20.0140.00916.19
7.3.10.0150.00816.16
7.3.00.0200.00816.22
7.2.340.0170.01716.07
7.2.330.0140.00816.33
7.2.320.0150.00916.38
7.2.310.0140.01016.18
7.2.300.0140.01116.28
7.2.290.0130.00916.32
7.2.280.0130.01016.37
7.2.270.0160.00916.34
7.2.260.0150.01116.35
7.2.250.0130.01016.22
7.2.240.0120.01016.36
7.2.230.0110.01116.37
7.2.220.0120.01116.44
7.2.210.0140.00916.28
7.2.200.0120.01316.34
7.2.190.0140.01216.37
7.2.180.0110.01216.23
7.2.170.0130.00916.29
7.2.160.0140.00716.18
7.2.150.0150.00916.41
7.2.140.0140.01116.31
7.2.130.0120.01116.37
7.2.120.0150.00916.38
7.2.110.0190.01116.38
7.2.100.0120.01216.39
7.2.90.0120.01016.34
7.2.80.0110.01116.28
7.2.70.0190.00916.22
7.2.60.0140.01016.30
7.2.50.0130.01116.41
7.2.40.0150.00916.32
7.2.30.0130.01116.42
7.2.20.0110.01316.24
7.2.10.0150.00816.25
7.2.00.0150.00916.37

preferences:
32.8 ms | 403 KiB | 5 Q