3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private $bar = 'bar'; public function __construct() { unset($this->bar); } } class Bar extends Foo { private $baz = 'baz'; private static $tab = 'tab'; public function __get(string $name) { var_dump($this->baz); var_dump(self::$tab); return $name; } } $r = new ReflectionProperty(Foo::class, 'bar'); $r->setAccessible(true); var_dump($r->getValue(new 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.4.120.0140.00720.63
8.4.110.0080.00618.84
8.4.100.0110.01119.47
8.4.90.0110.00918.81
8.4.80.0110.00919.48
8.4.70.0100.00918.14
8.4.60.0150.00718.80
8.4.50.0030.00518.63
8.4.40.0080.00019.46
8.4.30.0060.00617.74
8.4.20.0070.01417.48
8.4.10.0030.00617.87
8.3.250.0130.00518.84
8.3.240.0130.00616.50
8.3.230.0060.01016.66
8.3.220.0080.01017.36
8.3.210.0090.00818.22
8.3.200.0030.00616.46
8.3.190.0120.00617.07
8.3.180.0100.01116.47
8.3.170.0100.00718.80
8.3.160.0000.00819.94
8.3.150.0040.01120.70
8.3.140.0100.00718.37
8.3.130.0040.00418.50
8.3.120.0120.00318.75
8.3.110.0070.00720.94
8.3.100.0030.00724.06
8.3.90.0040.00426.77
8.3.80.0090.00318.30
8.3.70.0130.00716.38
8.3.60.0110.00416.63
8.3.50.0140.00921.86
8.3.40.0000.01418.81
8.3.30.0120.00318.51
8.3.20.0080.00019.16
8.3.10.0000.00721.89
8.3.00.0040.00420.71
8.2.290.0120.00722.52
8.2.280.0060.01018.30
8.2.270.0130.00618.88
8.2.260.0120.00620.02
8.2.250.0120.00616.83
8.2.240.0130.00316.54
8.2.230.0090.00022.58
8.2.220.0040.01237.54
8.2.210.0040.01526.77
8.2.200.0100.00316.88
8.2.190.0060.00916.62
8.2.180.0120.00616.50
8.2.170.0090.00622.96
8.2.160.0120.00320.34
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0040.00419.82
8.2.120.0040.00426.35
8.2.110.0060.00322.21
8.2.100.0040.00717.72
8.2.90.0040.00417.84
8.2.80.0090.00018.04
8.2.70.0060.00317.63
8.2.60.0000.00817.93
8.2.50.0060.00618.10
8.2.40.0000.00920.45
8.2.30.0000.00721.23
8.2.20.0000.00717.63
8.2.10.0000.00717.87
8.2.00.0040.00418.00
8.1.330.0120.00722.04
8.1.320.0130.00615.83
8.1.310.0090.00916.82
8.1.300.0060.00319.81
8.1.290.0040.00818.88
8.1.280.0150.00025.92
8.1.270.0030.00623.92
8.1.260.0050.00328.09
8.1.250.0040.01128.09
8.1.240.0030.00623.84
8.1.230.0060.00620.90
8.1.220.0090.00017.74
8.1.210.0040.00418.95
8.1.200.0000.00917.23
8.1.190.0080.00017.23
8.1.180.0080.00018.10
8.1.170.0030.00518.53
8.1.160.0040.00420.94
8.1.150.0000.00818.75
8.1.140.0000.00717.31
8.1.130.0070.00017.59
8.1.120.0040.00417.42
8.1.110.0000.00817.39
8.1.100.0000.00717.29
8.1.90.0040.00417.41
8.1.80.0040.00417.41
8.1.70.0030.00517.44
8.1.60.0040.00417.52
8.1.50.0090.00017.52
8.1.40.0040.00417.56
8.1.30.0050.00317.69
8.1.20.0040.00417.61
8.1.10.0040.00417.63
8.1.00.0050.00317.40
8.0.300.0000.00819.90
8.0.290.0070.00016.63
8.0.280.0030.00318.44
8.0.270.0030.00316.78
8.0.260.0030.00318.30
8.0.250.0000.00916.87
8.0.240.0030.00316.79
8.0.230.0040.00416.81
8.0.220.0000.00716.80
8.0.210.0000.00716.91
8.0.200.0050.00516.86
8.0.190.0030.00316.78
8.0.180.0000.00716.86
8.0.170.0040.00416.74
8.0.160.0000.00716.73
8.0.150.0070.00016.82
8.0.140.0090.00016.69
8.0.130.0000.00613.27
8.0.120.0000.00816.76
8.0.110.0060.00316.81
8.0.100.0000.00716.71
8.0.90.0040.00416.75
8.0.80.0090.00616.78
8.0.70.0040.00416.91
8.0.60.0070.00016.71
8.0.50.0040.00416.79
8.0.30.0080.00816.94
8.0.20.0140.00817.40
8.0.10.0050.00316.78
8.0.00.0100.01016.66
7.4.330.0020.00215.09
7.4.320.0080.00016.42
7.4.300.0030.00316.50
7.4.290.0070.00016.50
7.4.280.0060.00616.61
7.4.270.0030.00316.56
7.4.260.0000.00716.51
7.4.250.0040.00416.47
7.4.240.0000.00716.48
7.4.230.0050.00216.45
7.4.220.0200.00616.64
7.4.210.0090.00616.45
7.4.200.0000.00716.45
7.4.160.0060.00916.46
7.4.150.0060.01317.40
7.4.140.0090.01017.86
7.4.130.0070.01216.35
7.4.120.0070.01016.46
7.4.110.0100.00716.59
7.4.100.0100.00716.59
7.4.90.0090.00616.45
7.4.80.0120.00619.39
7.4.70.0040.01216.57
7.4.60.0090.00916.54
7.4.50.0120.00316.45
7.4.40.0060.01216.29
7.4.30.0040.01216.32
7.4.00.0100.00315.14
7.3.330.0000.00813.17
7.3.320.0030.00313.14
7.3.310.0050.00316.17
7.3.300.0000.00716.30
7.3.290.0030.00316.27
7.3.280.0090.00916.30
7.3.270.0120.00617.40
7.3.260.0090.00816.34
7.3.250.0110.00716.22
7.3.240.0040.01316.48
7.3.230.0130.00316.39
7.3.210.0070.01016.64
7.3.200.0060.01016.34
7.3.190.0000.01616.41
7.3.180.0140.00716.45
7.3.170.0030.01316.34
7.3.160.0160.00416.21
7.2.330.0030.01316.78
7.2.320.0030.01516.86
7.2.310.0060.01216.79
7.2.300.0070.01016.71
7.2.290.0080.00916.80
7.2.60.0100.00316.81
7.2.00.0130.00319.42
7.1.200.0000.01515.63
7.1.100.0060.00618.19
7.1.70.0000.01116.95
7.1.60.0040.00819.21
7.1.50.0100.01616.50
7.1.00.0070.07322.35
7.0.200.0120.00014.76
7.0.100.0100.05020.00
7.0.90.0070.05319.99
7.0.80.0070.06320.00
7.0.70.0000.06019.90
7.0.60.0100.07319.91
7.0.50.0030.04320.37
7.0.40.0130.04020.19
7.0.30.0100.06720.00
7.0.20.0030.04720.12
7.0.10.0070.06020.02
7.0.00.0000.05319.95
5.6.280.0030.07320.81
5.6.250.0070.08020.63
5.6.240.0070.07020.68
5.6.230.0100.07320.63
5.6.220.0100.06720.56
5.6.210.0070.05020.56
5.6.200.0070.06321.12
5.6.190.0100.07721.11
5.6.180.0070.06021.16
5.6.170.0070.04720.95
5.6.160.0000.06721.05
5.6.150.0070.06721.05
5.6.140.0170.07021.06
5.6.130.0100.04020.97
5.6.120.0100.05021.11
5.6.110.0000.07021.03
5.6.100.0000.05321.01
5.6.90.0070.06020.98
5.6.80.0030.05320.32
5.6.70.0030.06020.30
5.6.60.0100.06720.45
5.6.50.0170.04020.49
5.6.40.0070.04320.44
5.6.30.0030.05020.47
5.6.20.0000.05320.31
5.6.10.0070.07720.31
5.6.00.0000.07320.39
5.5.380.0030.04720.42
5.5.370.0070.04020.52
5.5.360.0100.03720.35
5.5.350.0170.07020.44
5.5.340.0070.04320.92
5.5.330.0030.05020.76
5.5.320.0170.06720.77
5.5.310.0130.04320.65
5.5.300.0070.06320.92
5.5.290.0070.06720.87
5.5.280.0030.04720.87
5.5.270.0070.04320.73
5.5.260.0070.05320.88
5.5.250.0030.04320.58
5.5.240.0070.06720.27
5.5.230.0030.08020.14
5.5.220.0070.06720.29
5.5.210.0130.06720.11
5.5.200.0070.04720.14
5.5.190.0070.08020.29
5.5.180.0070.07020.18
5.5.160.0030.06320.25
5.5.150.0100.05020.15
5.5.140.0130.07320.25
5.5.130.0030.04320.00
5.5.120.0070.06720.15
5.5.110.0130.04020.26
5.5.100.0070.05020.11
5.5.90.0070.03720.07
5.5.80.0030.04020.10
5.5.70.0100.03320.19
5.5.60.0100.03320.06
5.5.50.0030.04020.01
5.5.40.0030.04319.94
5.5.30.0000.03720.05
5.5.20.0070.03720.04
5.5.10.0070.04020.11
5.5.00.0030.04019.97
5.4.450.0100.07019.54
5.4.440.0100.07019.41
5.4.430.0070.04019.50
5.4.420.0100.07719.37
5.4.410.0070.03719.23
5.4.400.0130.08019.04
5.4.390.0070.04019.23
5.4.380.0030.04719.18
5.4.370.0030.04318.94
5.4.360.0030.05719.25
5.4.350.0030.05319.23
5.4.340.0130.03319.09
5.4.320.0030.04319.21
5.4.310.0070.07318.91
5.4.300.0030.06719.22
5.4.290.0070.05719.20
5.4.280.0100.06019.22
5.4.270.0030.04319.03
5.4.260.0030.03718.87
5.4.250.0070.03719.11
5.4.240.0070.04718.84
5.4.230.0070.03319.04
5.4.220.0030.04018.90
5.4.210.0030.03719.11
5.4.200.0030.03719.02
5.4.190.0100.02718.86
5.4.180.0070.03318.84
5.4.170.0030.03718.86
5.4.160.0030.03019.13
5.4.150.0030.04019.16
5.4.140.0000.03316.39
5.4.130.0070.03016.24
5.4.120.0070.03016.24
5.4.110.0030.04716.57
5.4.100.0030.05016.49
5.4.90.0000.05016.56
5.4.80.0070.02716.38
5.4.70.0030.03016.47
5.4.60.0030.03016.45
5.4.50.0070.03316.37
5.4.40.0030.03316.50
5.4.30.0030.04316.41
5.4.20.0030.02716.41
5.4.10.0000.04016.48
5.4.00.0030.03015.86
5.3.290.0070.03714.69
5.3.280.0070.03714.58
5.3.270.0070.03314.73
5.3.260.0000.03314.57
5.3.250.0030.03014.63
5.3.240.0030.03714.60
5.3.230.0030.04014.70
5.3.220.0170.04314.66
5.3.210.0000.03714.63
5.3.200.0100.06714.50
5.3.190.0030.03014.68
5.3.180.0030.03014.58
5.3.170.0070.03014.52
5.3.160.0030.03014.66
5.3.150.0030.04314.66
5.3.140.0030.03014.54
5.3.130.0030.04014.62
5.3.120.0030.04014.68
5.3.110.0100.03014.70
5.3.100.0000.03714.07
5.3.90.0030.03014.02
5.3.80.0000.04013.91
5.3.70.0000.03314.15
5.3.60.0100.02313.89
5.3.50.0000.04014.06
5.3.40.0030.04014.01
5.3.30.0000.03013.96
5.3.20.0000.03013.71
5.3.10.0070.02713.66
5.3.00.0070.03013.73
5.2.170.0030.02313.66
5.2.160.0030.04013.66
5.2.150.0100.02313.66
5.2.140.0030.02313.66
5.2.130.0030.02313.66
5.2.120.0030.02713.66
5.2.110.0030.02313.66
5.2.100.0000.02713.66
5.2.90.0000.03013.66
5.2.80.0000.02713.66
5.2.70.0000.02713.66
5.2.60.0000.02713.66
5.2.50.0030.02313.66
5.2.40.0000.02713.66
5.2.30.0030.02713.66
5.2.20.0000.02313.66
5.2.10.0000.03013.66
5.2.00.0000.02313.66
5.1.60.0030.02313.66
5.1.50.0000.02713.66
5.1.40.0000.02313.66
5.1.30.0030.02313.66
5.1.20.0030.02313.66
5.1.10.0030.02713.66
5.1.00.0000.02713.66
5.0.50.0000.02713.66
5.0.40.0000.03013.66
5.0.30.0000.03313.66
5.0.20.0070.01713.66
5.0.10.0000.02013.66
5.0.00.0000.04713.66
4.4.90.0000.01313.66
4.4.80.0000.01313.66
4.4.70.0030.01013.66
4.4.60.0000.01313.66
4.4.50.0000.01713.66
4.4.40.0030.02013.66
4.4.30.0000.01313.66
4.4.20.0000.01313.66
4.4.10.0000.02713.66
4.4.00.0030.03313.66
4.3.110.0000.02313.66
4.3.100.0070.03013.66
4.3.90.0000.02013.66
4.3.80.0000.02313.66
4.3.70.0000.01313.66
4.3.60.0000.01713.66
4.3.50.0000.01713.66
4.3.40.0000.03713.66
4.3.30.0070.01713.66
4.3.20.0030.02013.66
4.3.10.0000.03013.66
4.3.00.0000.01713.66

preferences:
29.4 ms | 403 KiB | 5 Q