3v4l.org

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

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.40.0150.00618.72
8.3.30.0070.00718.84
8.3.20.0030.00518.77
8.3.10.0000.00818.81
8.3.00.0070.00319.38
8.2.170.0140.00022.96
8.2.160.0000.01418.83
8.2.150.0100.00024.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0040.00420.70
8.2.110.0040.00420.87
8.2.100.0060.00617.72
8.2.90.0000.00919.08
8.2.80.0000.00919.27
8.2.70.0030.00517.50
8.2.60.0000.00717.93
8.2.50.0080.00018.07
8.2.40.0060.00318.16
8.2.30.0000.00818.14
8.2.20.0000.00917.68
8.2.10.0000.00717.73
8.2.00.0050.00317.74
8.1.270.0030.00623.99
8.1.260.0050.00226.35
8.1.250.0000.00828.09
8.1.240.0100.00022.09
8.1.230.0030.00720.96
8.1.220.0030.00618.77
8.1.210.0040.00419.00
8.1.200.0060.00317.48
8.1.190.0060.00317.63
8.1.180.0040.00418.10
8.1.170.0030.00518.90
8.1.160.0040.00418.86
8.1.150.0040.00418.66
8.1.140.0070.00017.44
8.1.130.0000.00717.82
8.1.120.0030.00317.37
8.1.110.0040.00417.46
8.1.100.0040.00417.48
8.1.90.0040.00417.42
8.1.80.0000.00717.48
8.1.70.0000.00817.29
8.1.60.0040.00417.64
8.1.50.0040.00417.49
8.1.40.0040.00417.55
8.1.30.0040.00417.66
8.1.20.0040.00417.68
8.1.10.0040.00417.60
8.1.00.0040.00417.51
8.0.300.0000.00719.93
8.0.290.0040.00416.63
8.0.280.0030.00318.36
8.0.270.0040.00417.33
8.0.260.0050.00216.82
8.0.250.0070.00016.96
8.0.240.0000.00717.00
8.0.230.0070.00016.86
8.0.220.0000.00716.78
8.0.210.0000.00716.82
8.0.200.0000.00816.99
8.0.190.0040.00417.01
8.0.180.0000.00916.95
8.0.170.0030.00616.78
8.0.160.0040.00416.97
8.0.150.0000.00816.90
8.0.140.0040.00416.94
8.0.130.0030.00313.39
8.0.120.0000.00816.80
8.0.110.0000.00716.88
8.0.100.0000.00716.91
8.0.90.0040.00416.91
8.0.80.0070.01416.95
8.0.70.0000.00816.93
8.0.60.0030.00516.69
8.0.50.0030.00516.94
8.0.30.0100.01017.03
8.0.20.0160.00617.05
8.0.10.0070.00016.91
8.0.00.0130.00816.79
7.4.330.0020.00213.04
7.4.320.0030.00316.38
7.4.300.0070.00016.52
7.4.290.0000.00816.52
7.4.280.0050.00316.62
7.4.270.0060.00016.48
7.4.260.0000.00613.19
7.4.250.0000.00716.49
7.4.240.0040.00416.63
7.4.230.0000.00716.59
7.4.220.0150.00716.66
7.4.210.0070.00716.49
7.4.200.0000.00716.70
7.4.190.0030.00316.66
7.4.160.0040.01216.30
7.4.150.0090.00916.64
7.4.140.0190.00316.48
7.4.130.0060.01816.50
7.4.120.0030.01516.31
7.4.110.0110.00716.61
7.4.100.0130.00616.55
7.4.90.0100.00716.45
7.4.80.0140.00319.39
7.4.70.0030.01316.45
7.4.60.0120.00416.36
7.4.50.0000.00616.32
7.4.40.0100.00016.31
7.4.30.0100.00716.57
7.4.00.0110.00514.75
7.3.330.0000.00713.22
7.3.320.0030.00313.29
7.3.310.0000.00616.40
7.3.300.0030.00316.29
7.3.290.0030.01116.27
7.3.280.0050.01216.37
7.3.270.0030.01316.28
7.3.260.0110.01116.40
7.3.250.0080.01416.42
7.3.240.0130.00316.52
7.3.230.0030.01416.34
7.3.210.0150.00316.52
7.3.200.0090.00616.41
7.3.190.0070.01416.30
7.3.180.0060.01016.33
7.3.170.0100.01016.50
7.3.160.0110.00616.25
7.3.120.0070.00714.80
7.3.110.0020.01214.73
7.3.100.0030.01214.81
7.3.90.0030.01114.98
7.3.80.0000.01114.86
7.3.70.0050.00714.84
7.3.60.0060.00814.84
7.3.50.0040.00614.97
7.3.40.0050.00714.87
7.3.30.0060.00814.76
7.3.20.0050.00516.67
7.3.10.0030.01116.59
7.3.00.0080.00416.76
7.2.330.0080.00816.57
7.2.320.0070.01016.53
7.2.310.0110.01116.61
7.2.300.0070.00916.65
7.2.290.0150.00616.80
7.2.250.0050.01114.71
7.2.240.0090.00914.80
7.2.230.0060.00715.21
7.2.220.0050.00715.05
7.2.210.0080.00514.78
7.2.200.0050.00515.03
7.2.190.0050.00714.97
7.2.180.0050.00615.05
7.2.170.0030.01015.00
7.2.160.0060.00914.80
7.2.150.0110.00417.17
7.2.140.0040.01216.82
7.2.130.0060.00616.86
7.2.120.0060.00917.04
7.2.110.0060.00916.98
7.2.100.0060.00616.60
7.2.90.0060.00616.86
7.2.80.0110.00317.09
7.2.70.0080.00816.98
7.2.60.0060.01016.63
7.2.50.0030.01016.80
7.2.40.0060.00617.03
7.2.30.0120.00317.01
7.2.20.0030.00717.16
7.2.10.0040.00816.95
7.2.00.0040.00718.16
7.1.330.0070.00415.69
7.1.320.0030.01015.74
7.1.310.0060.00615.51
7.1.300.0020.01015.59
7.1.290.0040.00615.78
7.1.280.0060.00715.38
7.1.270.0070.00615.65
7.1.260.0050.00915.80
7.1.250.0030.00715.70
7.1.100.0050.00317.96
7.1.70.0070.00317.10
7.1.60.0040.01619.30
7.1.50.0110.00316.88
7.1.00.0100.07022.37
7.0.200.0070.00716.84
7.0.140.0070.07022.05
7.0.120.0000.04322.09
7.0.60.0130.06319.92
7.0.50.0100.08317.86
7.0.40.0030.04317.82
7.0.30.0030.09017.76
7.0.20.0030.08717.69
7.0.10.0070.04017.76
7.0.00.0030.05717.86
5.6.280.0030.07321.16
5.6.210.0100.07720.75
5.6.200.0170.07718.14
5.6.190.0030.06718.18
5.6.180.0070.04018.18
5.6.170.0100.03718.18
5.6.160.0030.04318.27
5.6.150.0000.04318.17
5.6.140.0000.04318.21
5.6.130.0070.07718.16
5.6.120.0070.05018.18
5.6.110.0030.04718.27
5.6.100.0030.04318.23
5.6.90.0100.08018.10
5.6.80.0070.06717.56
5.6.70.0070.06717.52
5.6.60.0070.04317.49
5.6.50.0130.07317.64
5.6.40.0130.06317.50
5.6.30.0170.03717.50
5.6.20.0070.07717.51
5.6.10.0100.07317.64
5.6.00.0030.05017.50
5.5.350.0300.07320.43
5.5.340.0130.04318.07
5.5.330.0030.05017.92
5.5.320.0070.04717.95
5.5.310.0170.07317.94
5.5.300.0000.05317.98
5.5.290.0100.08018.04
5.5.280.0100.03718.06
5.5.270.0100.07017.92
5.5.260.0200.06718.06
5.5.250.0070.06317.85
5.5.240.0100.03317.38
5.5.230.0130.03317.37
5.5.220.0070.08017.42
5.5.210.0030.07717.37
5.5.200.0170.05717.36
5.5.190.0070.06317.39
5.5.180.0030.04717.34
5.5.160.0030.04017.30
5.5.150.0100.04317.35
5.5.140.0000.08317.30
5.5.130.0000.04317.41
5.5.120.0100.07317.39
5.5.110.0030.08017.25
5.5.100.0070.05017.22
5.5.90.0000.05017.26
5.5.80.0100.08017.17
5.5.70.0100.07317.23
5.5.60.0070.08717.24
5.5.50.0070.07317.25
5.5.40.0100.03317.22
5.5.30.0070.07317.30
5.5.20.0070.06017.21
5.5.10.0070.04017.23
5.5.00.0130.04717.21
5.4.450.0130.07719.60
5.4.440.0000.07319.36
5.4.430.0070.04319.37
5.4.420.0030.04319.27
5.4.410.0230.06719.29
5.4.400.0070.08018.99
5.4.390.0070.07019.03
5.4.380.0030.04019.05
5.4.370.0130.06319.01
5.4.360.0070.04019.02
5.4.350.0100.07319.14
5.4.340.0030.05019.05
5.4.320.0100.06718.97
5.4.310.0030.06019.09
5.4.300.0070.07719.07
5.4.290.0100.05319.01
5.4.280.0070.05019.01
5.4.270.0100.07019.04
5.4.260.0030.05019.26
5.4.250.0030.07318.88
5.4.240.0100.07319.12
5.4.230.0100.07019.09
5.4.220.0100.05019.00
5.4.210.0170.05719.04
5.4.200.0030.06719.11
5.4.190.0030.04019.02
5.4.180.0100.03719.25
5.4.170.0100.03319.04
5.4.160.0100.08018.96
5.4.150.0100.07018.96
5.4.140.0130.07016.44
5.4.130.0100.05716.34
5.4.120.0230.03016.43
5.4.110.0130.03316.64
5.4.100.0030.04016.51
5.4.90.0070.07716.63
5.4.80.0030.06016.46
5.4.70.0000.05316.59
5.4.60.0100.04316.53
5.4.50.0030.03716.52
5.4.40.0070.06716.51
5.4.30.0000.05716.27
5.4.20.0100.07316.38
5.4.10.0000.08016.42
5.4.00.0000.04715.83
5.3.290.0130.06014.68
5.3.280.0100.07714.62
5.3.270.0030.07714.62
5.3.260.0030.08014.65
5.3.250.0130.07314.82
5.3.240.0130.07314.61
5.3.230.0100.07314.62
5.3.220.0070.07714.62
5.3.210.0070.07314.62
5.3.200.0070.07714.64
5.3.190.0170.06714.57
5.3.180.0100.07714.53
5.3.170.0030.07314.59
5.3.160.0000.07714.61
5.3.150.0100.06314.61
5.3.140.0100.07714.77
5.3.130.0030.06014.52
5.3.120.0070.06714.62
5.3.110.0000.05314.40
5.3.100.0030.03714.00
5.3.90.0130.04014.05
5.3.80.0070.04014.05
5.3.70.0070.03314.11
5.3.60.0000.04014.00
5.3.50.0030.03713.96
5.3.40.0000.03713.81
5.3.30.0030.03313.95
5.3.20.0030.03313.91
5.3.10.0000.03713.55
5.3.00.0070.03013.70
5.2.170.0030.02711.23
5.2.160.0000.03011.05
5.2.150.0030.02711.21
5.2.140.0000.03011.20
5.2.130.0030.02711.18
5.2.120.0030.02711.21
5.2.110.0000.03011.01
5.2.100.0070.02311.15
5.2.90.0070.02311.12
5.2.80.0000.03311.20
5.2.70.0070.02311.17
5.2.60.0030.02711.27
5.2.50.0030.02711.07
5.2.40.0030.02711.04
5.2.30.0030.02711.02
5.2.20.0070.02311.00
5.2.10.0130.05710.91
5.2.00.0000.03010.65
5.1.60.0000.0239.92
5.1.50.0000.02710.10
5.1.40.0000.0239.97
5.1.30.0000.02710.34
5.1.20.0030.02310.46
5.1.10.0030.02310.08
5.1.00.0000.02710.04
5.0.50.0030.0208.65
5.0.40.0000.0208.51
5.0.30.0000.0308.17
5.0.20.0000.0208.30
5.0.10.0030.0178.24
5.0.00.0000.0308.37
4.4.90.0030.0137.71
4.4.80.0000.0177.71
4.4.70.0030.0137.71
4.4.60.0000.0177.71
4.4.50.0030.0177.71
4.4.40.0000.0277.71
4.4.30.0000.0177.71
4.4.20.0000.0207.71
4.4.10.0000.0177.71
4.4.00.0000.0237.71
4.3.110.0000.0137.71
4.3.100.0000.0137.71
4.3.90.0030.0107.71
4.3.80.0000.0237.71
4.3.70.0000.0137.71
4.3.60.0030.0107.71
4.3.50.0000.0137.71
4.3.40.0070.0177.71
4.3.30.0000.0137.71
4.3.20.0000.0177.71
4.3.10.0000.0137.71
4.3.00.0000.0137.71

preferences:
34.67 ms | 400 KiB | 5 Q