3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Ref; interface I { const I = 'I'; } class A implements I { const A = 'A'; public function __construct() {} } class B extends A { const B = 'B'; public static $publicStatic; } $r = new \ReflectionClass('Ref\B'); var_dump($r->getStaticPropertyValue('publicStatic'));

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.0030.01416.63
8.3.50.0250.00521.90
8.3.40.0060.00918.57
8.3.30.0030.01019.04
8.3.20.0000.00720.34
8.3.10.0070.00023.56
8.3.00.0040.00420.59
8.2.180.0130.00616.75
8.2.170.0210.01022.96
8.2.160.0070.00721.87
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0050.00220.35
8.2.110.0060.00320.52
8.2.100.0100.00317.72
8.2.90.0040.00419.11
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0000.00818.04
8.2.50.0040.00418.07
8.2.40.0040.00419.41
8.2.30.0020.00518.06
8.2.20.0050.00217.66
8.2.10.0030.00617.59
8.2.00.0040.00417.56
8.1.280.0140.00725.92
8.1.270.0060.00322.06
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0110.00023.74
8.1.230.0070.00423.98
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00617.52
8.1.180.0030.00618.10
8.1.170.0030.00518.48
8.1.160.0040.00421.89
8.1.150.0000.00718.55
8.1.140.0040.00417.46
8.1.130.0030.00317.77
8.1.120.0030.00317.41
8.1.110.0050.00217.46
8.1.100.0050.00217.47
8.1.90.0080.00017.33
8.1.80.0000.00717.51
8.1.70.0040.00417.39
8.1.60.0000.00817.59
8.1.50.0030.00617.56
8.1.40.0040.00417.49
8.1.30.0050.00317.61
8.1.20.0040.00417.59
8.1.10.0070.00017.48
8.1.00.0000.00817.43
8.0.300.0050.00218.77
8.0.290.0040.00417.14
8.0.280.0040.00418.46
8.0.270.0000.00717.18
8.0.260.0000.00716.84
8.0.250.0030.00316.96
8.0.240.0030.00616.86
8.0.230.0030.00316.95
8.0.220.0000.00716.91
8.0.210.0000.00716.88
8.0.200.0000.00616.85
8.0.190.0000.00716.89
8.0.180.0040.00416.82
8.0.170.0040.00416.94
8.0.160.0000.00716.84
8.0.150.0080.00016.82
8.0.140.0040.00416.84
8.0.130.0030.00313.33
8.0.120.0000.00816.94
8.0.110.0040.00416.96
8.0.100.0030.00516.76
8.0.90.0040.00416.77
8.0.80.0040.01116.89
8.0.70.0080.00016.86
8.0.60.0050.00216.94
8.0.50.0000.00816.96
8.0.30.0100.00917.02
8.0.20.0080.01017.40
8.0.10.0040.00417.05
8.0.00.0100.01116.67
7.4.330.0050.00015.21
7.4.320.0000.00716.63
7.4.300.0000.00616.56
7.4.290.0000.00616.52
7.4.280.0040.00416.49
7.4.270.0030.00316.44
7.4.260.0030.00316.57
7.4.250.0040.00416.37
7.4.240.0040.00416.54
7.4.230.0030.00316.54
7.4.220.0080.01116.53
7.4.210.0070.00716.45
7.4.200.0000.00716.59
7.4.190.0040.00416.57
7.4.160.0070.01016.27
7.4.150.0090.00917.40
7.4.140.0030.01417.86
7.4.130.0090.00816.61
7.4.120.0140.00816.65
7.4.110.0070.01016.53
7.4.100.0130.00416.35
7.4.90.0130.00616.39
7.4.80.0140.00716.52
7.4.70.0100.00616.52
7.4.60.0090.00616.34
7.4.50.0080.00016.51
7.4.40.0030.01322.77
7.4.30.0030.01316.41
7.4.00.0070.01014.82
7.3.330.0000.00513.25
7.3.320.0060.00013.27
7.3.310.0030.00316.19
7.3.300.0030.00316.28
7.3.290.0030.01716.18
7.3.280.0080.00916.23
7.3.270.0060.01217.40
7.3.260.0130.01016.66
7.3.250.0100.00916.36
7.3.240.0090.01216.19
7.3.230.0000.01616.55
7.3.210.0100.00716.32
7.3.200.0030.01519.39
7.3.190.0090.01316.17
7.3.180.0000.01516.23
7.3.170.0090.00616.27
7.3.160.0120.00416.57
7.3.120.0060.00914.54
7.2.330.0140.00316.59
7.2.320.0070.01016.70
7.2.310.0070.01016.51
7.2.300.0040.01416.51
7.2.290.0090.01116.61
7.2.00.0040.00819.23
7.1.100.0040.01118.25
7.1.70.0130.00717.11
7.1.60.0000.01719.27
7.1.50.0070.01116.93
7.1.00.0070.07022.51
7.0.200.0030.00616.74
7.0.140.0070.06721.99
7.0.60.0100.07019.92
7.0.50.0000.04317.81
7.0.40.0030.05320.11
7.0.30.0670.06320.18
7.0.20.0170.04720.23
7.0.10.0130.06020.07
7.0.00.0200.07720.18
5.6.280.0000.07721.03
5.6.210.0130.07720.51
5.6.200.0000.07318.20
5.6.190.0100.07020.58
5.6.180.0330.07020.48
5.6.170.0270.06720.51
5.6.160.0100.06020.57
5.6.150.0170.05718.28
5.6.140.0070.08018.28
5.6.130.0100.03318.14
5.6.120.0100.07321.04
5.6.110.0030.06720.96
5.6.100.0100.04020.89
5.6.90.0030.05720.97
5.6.80.0130.03320.52
5.6.70.4630.03020.48
5.5.350.0070.08020.41
5.5.340.0070.04718.01
5.5.330.0030.04020.13
5.5.320.0270.06020.30
5.5.310.0300.06320.51
5.5.300.0070.07317.98
5.5.290.0000.04318.07
5.5.280.0030.05020.88
5.5.270.0100.04720.89
5.5.260.0130.06320.77
5.5.250.0100.07720.55
5.5.240.0030.06720.36
5.4.450.0230.05719.20
5.4.440.0330.07019.47
5.4.430.0170.07319.41
5.4.420.0230.07319.31
5.4.410.0200.07319.25
5.4.400.0170.04719.05
5.4.390.0300.06719.15
5.4.380.0370.07019.34
5.4.370.0270.04719.11
5.4.360.0270.04319.25
5.4.350.0270.06319.00
5.4.340.0270.07319.15
5.4.320.0170.08018.95
5.4.310.0170.03319.20
5.4.300.0230.07019.21
5.4.290.0130.08019.24
5.4.280.0230.08019.07
5.4.270.0300.03319.08
5.4.260.0230.06019.13
5.4.250.0230.07019.30
5.4.240.0230.07719.22
5.4.230.0170.05018.98
5.4.220.0430.05319.13
5.4.210.0200.05018.86
5.4.200.0170.06319.08
5.4.190.0270.04018.93
5.4.180.0230.04319.09
5.4.170.0300.07019.21
5.4.160.0200.06018.96
5.4.150.0400.05718.85
5.4.140.0230.05716.42
5.4.130.0230.06716.43
5.4.120.0300.06316.71
5.4.110.0170.07316.50
5.4.100.0230.05716.50
5.4.90.0200.06016.59
5.4.80.0200.06316.48
5.4.70.0200.04716.59
5.4.60.0200.04716.32
5.4.50.0330.05716.32
5.4.40.0200.06716.53
5.4.30.0200.06316.27
5.4.20.0230.05316.24
5.4.10.0200.04316.38
5.4.00.0130.03715.73
5.3.290.0170.05314.66
5.3.280.0300.06714.67
5.3.270.0130.05314.51
5.3.260.0200.03714.82
5.3.250.0300.05014.72
5.3.240.0300.07014.57
5.3.230.0300.06314.49
5.3.220.0230.06714.49
5.3.210.0230.06014.55
5.3.200.0230.04314.54
5.3.190.0270.06714.58
5.3.180.0200.06714.78
5.3.170.0370.04014.47
5.3.160.0200.05314.63
5.3.150.0330.06714.48
5.3.140.0400.04014.53
5.3.130.0170.05014.46
5.3.120.0200.07314.63
5.3.110.0200.07314.63
5.3.100.0170.03714.04
5.3.90.0270.05714.18
5.3.80.0230.04013.94
5.3.70.0200.07314.03
5.3.60.0230.04014.01
5.3.50.0170.04314.02
5.3.40.0170.07714.03
5.3.30.0270.06713.83
5.3.20.0170.05313.75
5.3.10.0270.04713.66
5.3.00.0230.05713.76
5.2.170.0170.06311.71
5.2.160.0130.06311.71
5.2.150.0230.05711.71
5.2.140.0170.05711.71
5.2.130.0200.04011.71
5.2.120.0230.04011.71
5.2.110.0230.05011.71
5.2.100.0170.04311.71
5.2.90.0170.03011.71
5.2.80.0200.05711.71
5.2.70.0130.03311.71
5.2.60.0130.05011.71
5.2.50.0230.03711.71
5.2.40.0130.04711.71
5.2.30.0130.04311.71
5.2.20.0130.05311.71
5.2.10.0100.06011.71
5.2.00.0100.05311.71
5.1.60.0030.03311.71
5.1.50.0200.02711.71
5.1.40.0100.02711.71
5.1.30.0200.05311.71
5.1.20.0100.04311.71
5.1.10.0170.05011.71
5.1.00.0100.03011.71
5.0.50.0070.04311.71
5.0.40.0030.02711.71
5.0.30.0070.07011.71
5.0.20.0030.04311.71
5.0.10.0030.03011.71
5.0.00.0170.04711.71
4.4.90.0000.02011.71
4.4.80.0030.03011.71
4.4.70.0030.02011.71
4.4.60.0000.04011.71
4.4.50.0030.03711.71
4.4.40.0070.05011.71
4.4.30.0000.02011.71
4.4.20.0030.01711.71
4.4.10.0000.03311.71
4.4.00.0030.05011.71
4.3.110.0030.03311.71
4.3.100.0100.03011.71
4.3.90.0100.02711.71
4.3.80.0030.03011.71
4.3.70.0030.02711.71
4.3.60.0100.03011.71
4.3.50.0130.03011.71
4.3.40.0130.04311.71
4.3.30.0030.03711.71
4.3.20.0030.03011.71
4.3.10.0030.03311.71
4.3.00.0000.04011.71

preferences:
45.03 ms | 401 KiB | 5 Q