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) { var_dump(__METHOD__); return $this->wrapped->$name; } public function __set($name, $value) { var_dump(__METHOD__); $this->wrapped->$name = $value; } public function __isset($name) { var_dump(__METHOD__); return isset($this->wrapped->$name); } public function __unset($name) { var_dump(__METHOD__); 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.70.0120.00616.58
8.3.60.0070.01418.56
8.3.50.0110.00821.98
8.3.40.0140.00718.83
8.3.30.0090.00618.80
8.3.20.0060.00318.76
8.3.10.0000.00820.65
8.3.00.0060.00321.66
8.2.180.0100.01316.63
8.2.170.0110.00722.96
8.2.160.0070.00720.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.36
8.2.110.0040.00420.97
8.2.100.0090.00317.78
8.2.90.0000.00719.22
8.2.80.0060.00317.97
8.2.70.0000.00917.63
8.2.60.0050.00318.04
8.2.50.0050.00318.07
8.2.40.0030.00918.02
8.2.30.0060.00319.90
8.2.20.0070.00017.58
8.2.10.0020.00517.70
8.2.00.0080.00017.71
8.1.280.0090.00625.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.01022.42
8.1.230.0080.00420.89
8.1.220.0000.00818.77
8.1.210.0080.00018.87
8.1.200.0040.00417.25
8.1.190.0040.00417.65
8.1.180.0000.00718.10
8.1.170.0030.00518.64
8.1.160.0000.00718.95
8.1.150.0000.00718.51
8.1.140.0080.00017.46
8.1.130.0030.00317.71
8.1.120.0050.00317.52
8.1.110.0030.00517.35
8.1.100.0000.00717.35
8.1.90.0000.00717.37
8.1.80.0070.00017.52
8.1.70.0000.00717.43
8.1.60.0030.00917.56
8.1.50.0050.00317.54
8.1.40.0070.00017.41
8.1.30.0030.00617.59
8.1.20.0030.00517.67
8.1.10.0000.00817.60
8.1.00.0040.00417.48
8.0.300.0000.00719.89
8.0.290.0000.00716.63
8.0.280.0000.00618.39
8.0.270.0070.00017.30
8.0.260.0000.00716.90
8.0.250.0040.00417.04
8.0.240.0080.00016.92
8.0.230.0000.00716.87
8.0.220.0000.00716.99
8.0.210.0080.00016.95
8.0.200.0090.00017.04
8.0.190.0000.00817.05
8.0.180.0040.00417.02
8.0.170.0040.00417.01
8.0.160.0030.00316.86
8.0.150.0080.00016.90
8.0.140.0070.00416.88
8.0.130.0030.00613.45
8.0.120.0040.00416.82
8.0.110.0000.00816.83
8.0.100.0000.00716.77
8.0.90.0000.00717.01
8.0.80.0070.00716.96
8.0.70.0040.00416.91
8.0.60.0040.00416.96
8.0.50.0040.00416.79
8.0.30.0070.01517.06
8.0.20.0110.00817.40
8.0.10.0040.00416.98
8.0.00.0080.01116.82
7.4.330.0000.00513.43
7.4.320.0090.00016.64
7.4.300.0000.00616.39
7.4.290.0030.00316.52
7.4.280.0030.00616.52
7.4.270.0040.00716.40
7.4.260.0000.00613.29
7.4.250.0050.00316.41
7.4.240.0030.00316.38
7.4.230.0040.00416.56
7.4.220.0070.01416.46
7.4.210.0080.00716.61
7.4.200.0000.00716.51
7.4.190.0070.00016.58
7.4.160.0030.01316.39
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0100.00716.59
7.4.120.0110.00716.48
7.4.110.0070.01016.59
7.4.100.0120.00616.44
7.4.90.0090.01316.56
7.4.80.0120.00919.37
7.4.70.0090.00616.50
7.4.60.0120.01116.37
7.4.50.0050.00016.54
7.4.40.0040.00822.27
7.4.30.0090.01016.65
7.4.00.0070.01014.98
7.3.330.0020.00213.35
7.3.320.0050.00013.21
7.3.310.0070.00016.41
7.3.300.0040.00416.24
7.3.290.0070.00716.40
7.3.280.0100.00816.37
7.3.270.0120.00617.40
7.3.260.0130.00918.24
7.3.250.0110.01016.62
7.3.240.0070.01016.52
7.3.230.0080.01016.43
7.3.210.0030.01916.32
7.3.200.0080.00819.39
7.3.190.0090.01316.43
7.3.180.0030.01316.33
7.3.170.0100.00716.36
7.3.160.0160.00016.42
7.3.120.0060.01214.91
7.3.110.0040.01114.89
7.3.100.0040.01114.68
7.3.90.0070.01014.65
7.3.80.0080.00414.77
7.3.70.0000.01415.01
7.3.60.0040.00714.99
7.3.50.0100.00714.82
7.3.40.0070.00714.79
7.3.30.0000.01414.99
7.3.20.0030.01316.47
7.3.10.0040.00816.40
7.3.00.0030.00916.74
7.2.330.0070.01416.83
7.2.320.0160.00616.79
7.2.310.0090.00916.84
7.2.300.0120.00616.85
7.2.290.0070.01116.70
7.2.250.0100.01015.35
7.2.240.0060.01215.24
7.2.230.0070.00715.07
7.2.220.0070.01015.02
7.2.210.0000.01515.08
7.2.200.0000.01415.14
7.2.190.0060.00614.94
7.2.180.0060.00915.06
7.2.170.0000.01014.90
7.2.130.0000.01416.55
7.2.120.0030.01016.58
7.2.110.0100.00316.90
7.2.100.0200.00016.78
7.2.90.0030.00916.68
7.2.80.0150.00016.63
7.2.70.0130.00716.89
7.2.60.0060.01116.75
7.2.50.0090.00616.84
7.2.40.0110.01116.46
7.2.30.0100.00616.87
7.2.20.0060.00916.79
7.2.10.0030.01016.75
7.2.00.0020.01318.14
7.1.330.0080.00615.94
7.1.320.0080.00815.57
7.1.310.0030.01015.95
7.1.300.0040.00415.73
7.1.290.0130.00015.64
7.1.280.0000.01015.83
7.1.270.0090.00315.83
7.1.260.0060.00615.72
7.1.250.0030.00915.52
7.1.200.0070.00715.88
7.1.100.0000.01117.89
7.1.70.0070.00317.19
7.1.60.0130.01019.40
7.1.50.0100.01417.02
7.1.00.0070.07022.50
7.0.200.0030.00716.71
7.0.140.0000.07022.15
7.0.60.0230.05019.91
7.0.50.0070.07317.86
7.0.40.0070.08317.73
7.0.30.0070.07717.77
7.0.20.0100.08317.72
7.0.10.0030.05317.71
7.0.00.0070.08717.71
5.6.280.0130.06321.13
5.6.210.0030.08720.53
5.6.200.0030.04318.29
5.6.190.0030.07318.16
5.6.180.0030.04718.14
5.6.170.0030.08318.23
5.6.160.0100.08018.25
5.6.150.0100.07018.29
5.6.140.0130.07718.14
5.6.130.0100.05018.18
5.6.120.0170.06018.14
5.6.110.0230.05318.13
5.6.100.0030.08718.17
5.6.90.0130.08018.16
5.6.80.0070.05017.54
5.6.70.0070.08017.56
5.6.60.0070.07717.55
5.6.50.0100.07717.54
5.6.40.0000.04317.53
5.6.30.0100.06717.50
5.6.20.0070.04017.54
5.6.10.0000.08017.54
5.6.00.0130.06317.46
5.5.350.0170.04020.46
5.5.340.0070.08017.94
5.5.330.0070.07718.10
5.5.320.0030.05317.93
5.5.310.0100.08018.07
5.5.300.0030.09017.99
5.5.290.0030.07018.04
5.5.280.0130.07318.07
5.5.270.0100.06017.98
5.5.260.0070.05718.07
5.5.250.0100.04717.91
5.5.240.0000.06317.37
5.5.230.0030.08017.30
5.5.220.0070.08317.41
5.5.210.0230.08317.42
5.5.200.0030.08017.34
5.5.190.0030.07717.33
5.5.180.0130.08017.43
5.5.160.0070.04317.44
5.5.150.0030.08317.32
5.5.140.0030.05017.34
5.5.130.0000.07017.35
5.5.120.0100.06017.33
5.5.110.0070.06017.39
5.5.100.0230.05717.34
5.5.90.0100.06017.24
5.5.80.0100.07017.23
5.5.70.0130.06717.18
5.5.60.0070.06717.22
5.5.50.0030.08017.25
5.5.40.0070.04317.20
5.5.30.0100.07717.22
5.5.20.0030.06717.28
5.5.10.0070.07717.23
5.5.00.0070.06017.25
5.4.450.0030.08719.34
5.4.440.0000.08719.38
5.4.430.0170.06319.36
5.4.420.0070.08319.23
5.4.410.0030.08319.29
5.4.400.0130.05719.13
5.4.390.0000.05018.98
5.4.380.0070.07019.27
5.4.370.0000.04019.12
5.4.360.0030.06718.89
5.4.350.0200.05319.02
5.4.340.0070.07718.99
5.4.320.0070.06719.27
5.4.310.0100.07319.05
5.4.300.0170.07318.95
5.4.290.0030.07019.03
5.4.280.0070.08019.09
5.4.270.0070.07719.14
5.4.260.0070.08018.95
5.4.250.0070.07719.02
5.4.240.0070.07719.05
5.4.230.0070.07319.04
5.4.220.0170.04719.04
5.4.210.0030.07719.09
5.4.200.0100.07719.05
5.4.190.0030.08318.94
5.4.180.0100.07719.05
5.4.170.0030.05019.04
5.4.160.0070.07718.96
5.4.150.0000.05319.01
5.4.140.0030.07716.44
5.4.130.0070.05016.48
5.4.120.0070.07316.45
5.4.110.0130.04316.29
5.4.100.0100.07016.47
5.4.90.0100.05716.40
5.4.80.0130.06716.42
5.4.70.0130.07016.34
5.4.60.0130.03716.56
5.4.50.0000.04716.45
5.4.40.0000.04016.41
5.4.30.0070.03316.52
5.4.20.0100.03016.53
5.4.10.0030.04016.37
5.4.00.0030.04015.90
5.3.290.0030.05014.71
5.3.280.0100.07014.60
5.3.270.0070.07014.47
5.3.260.0070.06014.66
5.3.250.0070.07014.64
5.3.240.0070.07014.83
5.3.230.0100.07714.82
5.3.220.0070.04714.61
5.3.210.0030.07314.80
5.3.200.0100.06714.59
5.3.190.0070.05314.59
5.3.180.0000.08014.64
5.3.170.0070.08014.43
5.3.160.0070.06314.61
5.3.150.0000.07314.54
5.3.140.0030.04014.42
5.3.130.0070.03714.66
5.3.120.0000.04314.60
5.3.110.0000.05314.41
5.3.100.0130.04014.07
5.3.90.0070.04314.06
5.3.80.0000.04313.87
5.3.70.0130.03014.05
5.3.60.0070.05313.85
5.3.50.0030.05713.80
5.3.40.0130.05713.80
5.3.30.0100.07013.95
5.3.20.0030.07313.73
5.3.10.0130.07013.71
5.3.00.0030.04713.53
5.2.170.0030.05011.06
5.2.160.0000.05711.16
5.2.150.0030.05711.17
5.2.140.0000.06311.15
5.2.130.0070.05711.33
5.2.120.0070.05311.21
5.2.110.0070.03711.02
5.2.100.0000.04311.08
5.2.90.0030.06011.10
5.2.80.0070.05310.95
5.2.70.0100.05711.16
5.2.60.0100.06010.91
5.2.50.0070.04711.07
5.2.40.0030.04311.07
5.2.30.0000.04710.97
5.2.20.0030.03711.03
5.2.10.0070.03310.87
5.2.00.0030.03710.63
5.1.60.0070.0539.99
5.1.50.0030.02710.10
5.1.40.0070.03710.05
5.1.30.0070.04310.40
5.1.20.0070.05310.42
5.1.10.0030.05310.00
5.1.00.0070.04710.05
5.0.50.0130.0278.68
5.0.40.0030.0408.68
5.0.30.0200.0238.68
5.0.20.0070.0308.68
5.0.10.0070.0438.68
5.0.00.0000.0578.68
4.4.90.0070.0238.68
4.4.80.0030.0338.68
4.4.70.0070.0238.68
4.4.60.0070.0208.68
4.4.50.0000.0208.68
4.4.40.0030.0538.68
4.4.30.0000.0308.68
4.4.20.0100.0238.68
4.4.10.0000.0208.68
4.4.00.0100.0438.68
4.3.110.0030.0338.68
4.3.100.0000.0378.68
4.3.90.0030.0408.68
4.3.80.0070.0478.68
4.3.70.0000.0238.68
4.3.60.0000.0208.68
4.3.50.0000.0378.68
4.3.40.0030.0438.68
4.3.30.0000.0378.68
4.3.20.0000.0278.68
4.3.10.0000.0338.68
4.3.00.0000.0238.68

preferences:
91.71 ms | 401 KiB | 5 Q