3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 'baz'; } class FooProxy extends Foo { private $wrapped; public function __construct(Foo $foo) { $this->wrapped = $foo; unset($this->bar); } public function & __get($name) { return $this->wrapped->$name; } public function __set($name, $value) { $this->wrapped->$name = $value; } public function __isset($name) { return isset($this->wrapped->$name); } public function __unset($name) { unset($this->wrapped->$name); } } $foo = new FooProxy(new Foo()); $foo->bar; $foo->bar = 'baz'; isset($foo->bar); unset($foo->bar);

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.00318.27
8.3.50.0120.00816.65
8.3.40.0040.01118.84
8.3.30.0040.01118.66
8.3.20.0000.00818.76
8.3.10.0040.00420.71
8.3.00.0000.00817.63
8.2.180.0110.01116.63
8.2.170.0150.00622.96
8.2.160.0100.00322.26
8.2.150.0070.00724.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0040.00419.82
8.2.110.0060.00320.45
8.2.100.0090.00317.72
8.2.90.0000.00818.22
8.2.80.0000.00817.97
8.2.70.0000.00817.38
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0000.00818.28
8.2.30.0040.00418.02
8.2.20.0000.00717.54
8.2.10.0080.00017.76
8.2.00.0060.00317.68
8.1.280.0100.01025.92
8.1.270.0110.00723.99
8.1.260.0070.00026.35
8.1.250.0070.00728.09
8.1.240.0000.00922.19
8.1.230.0080.00320.92
8.1.220.0000.00817.74
8.1.210.0000.00818.82
8.1.200.0060.00317.35
8.1.190.0000.00917.53
8.1.180.0030.00518.10
8.1.170.0040.00420.49
8.1.160.0030.00618.93
8.1.150.0020.00518.57
8.1.140.0000.00717.34
8.1.130.0030.00317.79
8.1.120.0000.00717.52
8.1.110.0040.00417.45
8.1.100.0070.00017.43
8.1.90.0040.00417.51
8.1.80.0000.00717.37
8.1.70.0050.00317.45
8.1.60.0110.00017.59
8.1.50.0000.00717.39
8.1.40.0080.00017.59
8.1.30.0070.00017.55
8.1.20.0080.00017.63
8.1.10.0000.00717.48
8.1.00.0040.00417.50
8.0.300.0040.00419.92
8.0.290.0040.00416.75
8.0.280.0000.00718.32
8.0.270.0040.00417.31
8.0.260.0000.00816.79
8.0.250.0040.00417.00
8.0.240.0080.00016.94
8.0.230.0000.00717.06
8.0.220.0000.00816.98
8.0.210.0040.00417.00
8.0.200.0030.00316.99
8.0.190.0080.00016.91
8.0.180.0040.00416.89
8.0.170.0040.00416.89
8.0.160.0030.00316.86
8.0.150.0090.00016.92
8.0.140.0100.00016.80
8.0.130.0030.00313.43
8.0.120.0050.00316.80
8.0.110.0080.00017.08
8.0.100.0040.00416.82
8.0.90.0070.00016.91
8.0.80.0040.01116.95
8.0.70.0030.00416.95
8.0.60.0000.00816.93
8.0.50.0040.00416.95
8.0.30.0140.00817.20
8.0.20.0040.01417.20
8.0.10.0000.00717.05
8.0.00.0110.00716.76
7.4.330.0000.00514.83
7.4.320.0000.00716.52
7.4.300.0030.00316.50
7.4.290.0030.00316.56
7.4.280.0060.00316.49
7.4.270.0050.00216.60
7.4.260.0060.00013.18
7.4.250.0040.00416.46
7.4.240.0040.00416.50
7.4.230.0030.00316.43
7.4.220.0120.00616.67
7.4.210.0090.00616.51
7.4.200.0000.00716.26
7.4.190.0080.00016.67
7.4.160.0040.01216.55
7.4.150.0100.00717.07
7.4.140.0140.00817.13
7.4.130.0130.00816.55
7.4.120.0110.00816.51
7.4.110.0140.00416.56
7.4.100.0140.00416.58
7.4.90.0140.01016.55
7.4.80.0070.01018.80
7.4.70.0070.01316.40
7.4.60.0080.00916.47
7.4.50.0000.00916.50
7.4.40.0110.00422.27
7.4.30.0100.00716.40
7.4.00.0060.01015.03
7.3.330.0000.00613.16
7.3.320.0030.00313.16
7.3.310.0030.00316.27
7.3.300.0070.00016.25
7.3.290.0030.01016.47
7.3.280.0070.00816.35
7.3.270.0070.01017.07
7.3.260.0090.00918.24
7.3.250.0090.01216.48
7.3.240.0030.01316.36
7.3.230.0110.00616.44
7.3.210.0070.01016.55
7.3.200.0150.00819.39
7.3.190.0130.00916.34
7.3.180.0080.00816.54
7.3.170.0070.01316.54
7.3.160.0060.01016.54
7.3.120.0050.01014.83
7.3.110.0120.00615.05
7.3.100.0110.00614.87
7.3.90.0020.01314.84
7.3.80.0020.01115.03
7.3.70.0050.00714.86
7.3.60.0070.00914.96
7.3.50.0040.00914.76
7.3.40.0050.00514.81
7.3.30.0020.00914.93
7.3.20.0110.00316.77
7.3.10.0020.01116.77
7.3.00.0030.00816.60
7.2.330.0060.01316.73
7.2.320.0060.00916.68
7.2.310.0150.00616.57
7.2.300.0100.00716.67
7.2.290.0160.00916.69
7.2.250.0080.01015.10
7.2.240.0060.01215.18
7.2.230.0130.00515.32
7.2.220.0090.00515.15
7.2.210.0000.01715.21
7.2.200.0060.00615.08
7.2.190.0060.00815.12
7.2.180.0050.00814.89
7.2.170.0000.01315.09
7.2.60.0040.01116.92
7.2.50.0040.01316.68
7.1.330.0050.01016.04
7.1.320.0080.00815.79
7.1.310.0050.01015.82
7.1.300.0030.00915.75
7.1.290.0090.00215.71
7.1.280.0080.00315.62
7.1.270.0050.00915.75
7.1.260.0070.00715.68
7.1.200.0000.00915.53
7.1.70.0000.01117.16
7.1.60.0170.00719.40
7.1.50.0070.00416.99
7.1.00.0070.07022.41
7.0.200.0000.00716.81
7.0.140.0000.07021.99
7.0.60.0030.04020.03
7.0.50.0070.03717.86
7.0.40.0130.05720.25
7.0.30.0470.07020.10
7.0.20.0270.08020.23
7.0.10.0070.09020.23
7.0.00.0070.05020.19
5.6.280.0070.07020.79
5.6.210.0170.06020.61
5.6.200.0130.04018.28
5.6.190.0070.04020.41
5.6.180.0500.06720.46
5.6.170.0300.04320.50
5.6.160.0070.08720.46
5.6.150.0100.05318.18
5.6.140.0030.08718.19
5.6.130.0070.08018.17
5.6.120.0100.04321.11
5.6.110.0070.08721.12
5.6.100.0100.08320.94
5.6.90.0100.08020.96
5.6.80.0130.05720.29
5.5.350.0070.07720.43
5.5.340.0000.06018.10
5.5.330.0130.03320.13
5.5.320.3100.04720.35
5.5.310.0300.07720.41
5.5.300.0100.03717.96
5.5.290.0100.07317.91
5.5.280.0070.06020.88
5.5.270.0070.07320.84
5.5.260.0170.07720.77
5.5.250.0070.04320.72
5.5.240.0070.06720.33
5.4.450.0130.05019.45
5.4.440.0070.03719.18
5.4.430.0070.04019.52
5.4.420.0000.04319.18
5.4.410.0100.07719.05
5.4.400.0070.07719.25
5.4.390.0100.04718.92
5.4.380.0000.04019.15
5.4.370.0000.04319.12
5.4.360.0000.04018.87
5.4.350.0070.04318.98
5.4.340.0000.04019.14
5.4.320.0000.05319.25
5.4.310.0100.03019.21
5.4.300.0070.03319.07
5.4.290.0130.02718.85
5.4.280.0070.03318.89
5.4.270.0030.03719.11
5.4.260.0070.04018.86
5.4.250.0030.03719.11
5.4.240.0030.03719.07
5.4.230.0070.03318.86
5.4.220.0030.03718.97
5.4.210.0030.03719.23
5.4.200.0070.03318.97
5.4.190.0030.04018.86
5.4.180.0070.03318.84
5.4.170.0100.03719.07
5.4.160.0070.03318.83
5.4.150.0070.04018.98
5.4.140.0030.03716.46
5.4.130.0100.06316.34
5.4.120.0130.06316.38
5.4.110.0030.04716.34
5.4.100.0070.04716.72
5.4.90.0130.06716.32
5.4.80.0070.07016.31
5.4.70.0100.07316.42
5.4.60.0000.04016.27
5.4.50.0100.07016.51
5.4.40.0070.07316.36
5.4.30.0030.07716.36
5.4.20.0070.06316.34
5.4.10.0100.04316.36
5.4.00.0030.07015.94
5.3.290.0030.03714.71
5.3.280.0030.03714.74
5.3.270.0000.04314.77
5.3.260.0030.03714.50
5.3.250.0030.03314.67
5.3.240.0070.05314.50
5.3.230.0030.04314.66
5.3.220.0030.04014.63
5.3.210.0130.07714.61
5.3.200.0100.07314.60
5.3.190.0070.03714.63
5.3.180.0100.07714.58
5.3.170.0070.04714.74
5.3.160.0100.07714.49
5.3.150.0100.04314.50
5.3.140.0100.06714.58
5.3.130.0030.04714.59
5.3.120.0100.07714.61
5.3.110.0030.07014.60
5.3.100.0070.06714.05
5.3.90.0100.06314.18
5.3.80.0070.04714.00
5.3.70.0170.06014.00
5.3.60.0030.04314.09
5.3.50.0070.03713.95
5.3.40.0070.07313.99
5.3.30.0030.06013.92
5.3.20.0070.07013.75
5.3.10.0070.04313.59
5.3.00.0000.07713.64
5.2.170.0070.06011.31
5.2.160.0030.03711.08
5.2.150.0030.04711.30
5.2.140.0100.05711.08
5.2.130.0070.03011.13
5.2.120.0000.03311.12
5.2.110.0000.03311.11
5.2.100.0070.05711.12
5.2.90.0070.04711.13
5.2.80.0000.03711.11
5.2.70.0100.03011.14
5.2.60.0070.06311.02
5.2.50.0030.04710.99
5.2.40.0070.06010.97
5.2.30.0130.05310.97
5.2.20.0070.06010.97
5.2.10.0030.03710.90
5.2.00.0000.03010.61
5.1.60.0000.04010.07
5.1.50.0000.02710.00
5.1.40.0100.04710.02
5.1.30.0100.04010.42
5.1.20.0030.05710.41
5.1.10.0030.04710.23
5.1.00.0070.05010.23
5.0.50.0070.0308.60
5.0.40.0030.0238.44
5.0.30.0070.0408.21
5.0.20.0070.0208.23
5.0.10.0030.0338.25
5.0.00.0070.0608.24
4.4.90.0000.0338.01
4.4.80.0000.0378.01
4.4.70.0030.0208.01
4.4.60.0000.0338.01
4.4.50.0000.0178.01
4.4.40.0000.0608.01
4.4.30.0000.0308.01
4.4.20.0100.0278.01
4.4.10.0000.0378.01
4.4.00.0000.0378.01
4.3.110.0030.0178.01
4.3.100.0000.0378.01
4.3.90.0100.0278.01
4.3.80.0070.0238.01
4.3.70.0030.0138.01
4.3.60.0030.0138.01
4.3.50.0030.0338.01
4.3.40.0030.0238.01
4.3.30.0000.0178.01
4.3.20.0000.0208.01
4.3.10.0030.0308.01
4.3.00.0030.0338.01

preferences:
40.26 ms | 401 KiB | 5 Q