3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $a_a; protected $a_p; protected static $a_s; } class B extends A { protected $b_p; public static $b_s; } $ref = new ReflectionClass('B'); foreach ($ref->getProperties(-1) as $prop) { print $prop->getName() . "\n"; }

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.0160.00318.53
8.3.30.0120.00620.38
8.3.20.0000.00720.13
8.3.10.0080.00021.92
8.3.00.0050.00322.58
8.2.170.0070.00722.96
8.2.160.0070.00722.14
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00420.62
8.2.110.0060.00320.50
8.2.100.0090.00317.84
8.2.90.0050.00319.23
8.2.80.0000.00819.35
8.2.70.0060.00317.63
8.2.60.0070.00017.80
8.2.50.0000.00818.07
8.2.40.0040.00418.28
8.2.30.0040.00419.35
8.2.20.0040.00417.63
8.2.10.0080.00017.57
8.2.00.0080.00017.67
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.81
8.1.230.0030.01020.99
8.1.220.0050.00318.59
8.1.210.0000.00818.77
8.1.200.0040.00417.36
8.1.190.0040.00417.52
8.1.180.0050.00318.10
8.1.170.0040.00418.71
8.1.160.0040.00418.87
8.1.150.0040.00418.56
8.1.140.0040.00417.45
8.1.130.0000.01017.87
8.1.120.0050.00217.50
8.1.110.0040.00417.51
8.1.100.0040.00317.29
8.1.90.0000.00817.51
8.1.80.0040.00417.51
8.1.70.0000.00717.41
8.1.60.0000.00817.42
8.1.50.0040.00417.43
8.1.40.0000.01117.50
8.1.30.0040.00417.64
8.1.20.0000.00817.48
8.1.10.0000.00717.48
8.1.00.0000.00817.39
8.0.300.0000.00718.77
8.0.290.0020.00517.16
8.0.280.0000.00818.36
8.0.270.0070.00017.21
8.0.260.0060.00016.82
8.0.250.0040.00416.96
8.0.240.0030.00716.88
8.0.230.0040.00416.85
8.0.220.0030.00316.93
8.0.210.0050.00316.81
8.0.200.0040.00416.95
8.0.190.0080.00016.80
8.0.180.0040.00416.89
8.0.170.0030.00616.81
8.0.160.0000.00716.91
8.0.150.0070.00016.80
8.0.140.0030.00616.75
8.0.130.0000.00513.24
8.0.120.0040.00416.83
8.0.110.0000.00716.73
8.0.100.0030.00516.95
8.0.90.0040.00416.89
8.0.80.0040.01216.88
8.0.70.0070.00016.92
8.0.60.0040.00416.79
8.0.50.0040.00416.91
8.0.30.0110.00817.22
8.0.20.0110.00717.40
8.0.10.0090.00016.97
8.0.00.0100.00716.71
7.4.330.0020.00216.79
7.4.320.0070.00016.61
7.4.300.0000.00616.48
7.4.290.0030.00616.65
7.4.280.0000.00716.51
7.4.270.0040.00416.65
7.4.260.0030.00313.27
7.4.250.0040.00416.61
7.4.240.0030.00516.59
7.4.230.0030.00316.57
7.4.220.0060.01216.46
7.4.210.0080.00716.54
7.4.200.0030.00316.44
7.4.190.0000.00716.47
7.4.160.0130.00316.46
7.4.150.0040.01417.40
7.4.140.0110.00617.86
7.4.130.0110.00516.44
7.4.120.0130.00316.48
7.4.110.0100.01016.50
7.4.100.0070.01016.48
7.4.90.0080.00816.35
7.4.80.0110.00619.39
7.4.70.0100.00616.54
7.4.60.0080.00816.38
7.4.50.0000.00816.41
7.4.40.0100.00622.77
7.4.30.0110.00916.42
7.4.00.0070.01215.05
7.3.330.0030.00213.24
7.3.320.0030.00313.01
7.3.310.0020.00516.29
7.3.300.0000.00716.20
7.3.290.0120.00416.26
7.3.280.0080.00916.24
7.3.270.0130.00317.40
7.3.260.0100.00716.20
7.3.250.0110.00616.16
7.3.240.0120.01216.50
7.3.230.0070.01016.41
7.3.210.0110.01316.23
7.3.200.0040.01719.39
7.3.190.0120.00616.42
7.3.180.0140.00316.29
7.3.170.0030.01216.30
7.3.160.0080.00816.38
7.3.120.0060.01114.91
7.3.110.0030.00914.65
7.3.100.0090.00614.80
7.3.90.0070.00414.79
7.3.80.0040.01114.47
7.3.70.0110.00414.68
7.3.60.0070.00314.82
7.3.50.0060.01014.61
7.3.40.0070.00714.61
7.3.30.0100.00714.78
7.3.20.0030.01016.68
7.3.10.0070.00916.64
7.3.00.0060.00616.48
7.2.330.0120.00616.68
7.2.320.0090.00916.44
7.2.310.0110.00616.68
7.2.300.0100.01016.60
7.2.290.0090.00816.54
7.2.250.0070.01015.22
7.2.240.0100.01014.65
7.2.230.0090.00615.27
7.2.220.0070.00715.09
7.2.210.0030.01315.26
7.2.200.0110.00414.71
7.2.190.0060.00915.07
7.2.180.0030.01314.86
7.2.170.0030.01414.85
7.2.130.0090.00016.79
7.2.120.0090.00016.66
7.2.110.0000.01116.84
7.2.100.0090.00617.04
7.2.90.0060.00916.96
7.2.80.0000.01417.05
7.2.70.0030.01016.92
7.2.60.0040.01116.87
7.2.50.0100.00317.09
7.2.40.0100.00317.03
7.2.30.0030.01016.89
7.2.20.0030.01316.85
7.2.10.0060.01016.85
7.2.00.0000.01418.12
7.1.330.0110.00315.80
7.1.320.0110.00415.80
7.1.310.0040.00715.85
7.1.300.0030.01015.49
7.1.290.0060.00615.62
7.1.280.0050.00515.76
7.1.270.0030.01015.55
7.1.260.0000.01715.68
7.1.250.0060.00615.35
7.1.100.0060.00618.29
7.1.70.0030.00616.97
7.1.60.0060.01319.17
7.1.50.0070.01716.86
7.1.00.0000.03722.29
7.0.200.0000.00716.70
7.0.140.0070.07022.09
7.0.100.0170.07319.95
7.0.90.0200.03719.98
7.0.80.0030.08319.94
7.0.70.0500.06319.88
7.0.60.0070.05019.73
7.0.50.0130.06720.33
7.0.40.0170.08320.18
7.0.30.0070.04020.18
7.0.20.0100.07720.13
7.0.10.0030.04320.07
7.0.00.0100.07720.09
5.6.250.0130.07720.63
5.6.240.0100.08320.73
5.6.230.0100.07720.75
5.6.220.0070.04720.52
5.6.210.0130.07720.77
5.6.200.0070.04320.97
5.6.190.0100.06021.07
5.6.180.0100.04321.07
5.6.170.0130.08020.93
5.6.160.0130.06321.02
5.6.150.0030.08321.11
5.6.140.0070.08721.16
5.6.130.0170.05721.05
5.6.120.0070.07321.08
5.6.110.0170.07721.09
5.6.100.0100.04020.95
5.6.90.0070.04021.05
5.6.80.0030.04320.55
5.6.70.0000.03720.31
5.6.60.0000.04320.39
5.6.50.0030.03720.30
5.6.40.0070.03720.37
5.6.30.0030.04720.30
5.6.20.0100.04320.50
5.6.10.0000.04020.41
5.6.00.0030.04320.30
5.5.380.0070.06720.56
5.5.370.0070.04720.50
5.5.360.0030.06720.36
5.5.350.0100.04720.45
5.5.340.0070.08320.93
5.5.330.0100.07720.91
5.5.320.0030.06020.92
5.5.310.0070.07720.73
5.5.300.0070.05020.86
5.5.290.0070.06020.90
5.5.280.0070.08020.80
5.5.270.0170.04020.84
5.5.260.0100.04020.73
5.5.250.0200.03020.68
5.5.240.0070.03720.26
5.5.230.0000.03720.25
5.5.220.0030.04020.17
5.5.210.0070.03720.14
5.5.200.0000.03720.25
5.5.190.0000.03720.18
5.5.180.0070.04020.09
5.5.160.0100.03020.22
5.5.150.0070.05020.13
5.5.140.0100.03019.99
5.5.130.0130.03020.21
5.5.120.0030.03720.08
5.5.110.0030.03720.12
5.5.100.0100.03720.08
5.5.90.0100.03320.07
5.5.80.0030.04020.05
5.5.70.0000.04320.07
5.5.60.0100.03320.16
5.5.50.0070.03719.96
5.5.40.0100.03320.08
5.5.30.0030.04020.05
5.5.20.0070.03720.06
5.5.10.0030.04019.99
5.5.00.0100.03020.07
5.4.450.0070.04019.36
5.4.440.0070.05019.35
5.4.430.0030.07719.44
5.4.420.0170.04719.22
5.4.410.0030.04319.32
5.4.400.0030.04319.16
5.4.390.0030.04019.18
5.4.380.0070.03319.20
5.4.370.0100.03319.04
5.4.360.0000.04018.90
5.4.350.0130.02318.91
5.4.340.0030.03318.95
5.4.320.0030.03718.91
5.4.310.0070.06719.13
5.4.300.0070.03318.94
5.4.290.0100.07019.13
5.4.280.0000.03718.90
5.4.270.0000.04019.02
5.4.260.0130.03019.01
5.4.250.0070.04019.04
5.4.240.0100.03019.14
5.4.230.0030.03718.94
5.4.220.0030.04318.94
5.4.210.0070.03319.03
5.4.200.0100.03019.16
5.4.190.0000.04019.16
5.4.180.0030.04019.08
5.4.170.0000.04319.04
5.4.160.0070.03318.93
5.4.150.0000.04319.18
5.4.140.0030.03716.25
5.4.130.0100.03016.46
5.4.120.0070.04316.50
5.4.110.0070.03316.54
5.4.100.0070.03316.50
5.4.90.0030.03016.32
5.4.80.0030.03016.36
5.4.70.0070.02716.46
5.4.60.0000.03716.41
5.4.50.0070.02316.39
5.4.40.0030.03316.46
5.4.30.0200.02016.29
5.4.20.0070.05016.46
5.4.10.0070.06316.27
5.4.00.0070.04015.86
5.3.290.0030.06314.66
5.3.280.0100.04714.71
5.3.270.0100.03014.73
5.3.260.0070.04714.64
5.3.250.0000.04714.63
5.3.240.0070.03014.74
5.3.230.0070.07314.63
5.3.220.0000.04314.54
5.3.210.0000.04014.50
5.3.200.0000.03714.54
5.3.190.0000.04014.55
5.3.180.0070.03314.60
5.3.170.0030.03714.67
5.3.160.0070.02714.57
5.3.150.0000.03314.59
5.3.140.0030.03314.68
5.3.130.0000.04014.56
5.3.120.0070.04714.60
5.3.110.0030.05314.61
5.3.100.0030.07314.03
5.3.90.0130.04314.07
5.3.80.0000.03714.03
5.3.70.0070.07014.07
5.3.60.0030.07313.93
5.3.50.0070.07313.96
5.3.40.0130.02713.83
5.3.30.0030.06713.81
5.3.20.0070.06013.59
5.3.10.0000.04013.71
5.3.00.0070.04313.61
5.2.170.0070.04311.16
5.2.160.0000.03011.20
5.2.150.0100.05711.20
5.2.140.0000.06311.28
5.2.130.0070.04311.21
5.2.120.0030.03310.99
5.2.110.0070.05311.21
5.2.100.0030.04711.00
5.2.90.0030.06311.11
5.2.80.0070.05711.18
5.2.70.0100.05710.97
5.2.60.0070.06011.16
5.2.50.0100.04310.93
5.2.40.0070.02711.04
5.2.30.0030.03311.04
5.2.20.0030.05010.96
5.2.10.0070.05010.71
5.2.00.0030.05310.64
5.1.60.0100.05010.11
5.1.50.0030.0279.99
5.1.40.0000.03310.02
5.1.30.0070.02710.39
5.1.20.0100.05310.30
5.1.10.0100.04010.18
5.1.00.0000.06310.16
5.0.50.0030.0378.59
5.0.40.0030.0378.59
5.0.30.0000.0378.59
5.0.20.0100.0378.59
5.0.10.0030.0438.59
5.0.00.0030.0578.59
4.4.90.0000.0378.59
4.4.80.0000.0378.59
4.4.70.0000.0208.59
4.4.60.0030.0238.59
4.4.50.0030.0178.59
4.4.40.0000.0338.59
4.4.30.0030.0378.59
4.4.20.0000.0278.59
4.4.10.0030.0308.59
4.4.00.0030.0438.59
4.3.110.0000.0338.59
4.3.100.0070.0278.59
4.3.90.0030.0338.59
4.3.80.0030.0278.59
4.3.70.0070.0308.59
4.3.60.0070.0308.59
4.3.50.0000.0378.59
4.3.40.0030.0378.59
4.3.30.0000.0208.59
4.3.20.0000.0338.59
4.3.10.0070.0278.59
4.3.00.0000.0208.59

preferences:
47.81 ms | 400 KiB | 5 Q