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'; protected 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.40.0070.00718.71
8.3.30.0000.01519.09
8.3.20.0000.00720.39
8.3.10.0030.00623.55
8.3.00.0040.00420.94
8.2.170.0150.00722.96
8.2.160.0080.00520.52
8.2.150.0000.00724.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0070.00020.43
8.2.110.0000.01022.17
8.2.100.0090.00317.78
8.2.90.0070.00019.13
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0080.00318.05
8.2.50.0000.00818.07
8.2.40.0030.00519.84
8.2.30.0060.00318.18
8.2.20.0070.00017.65
8.2.10.0080.00018.00
8.2.00.0070.00017.75
8.1.270.0000.00724.01
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0090.00022.24
8.1.230.0060.00619.14
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0030.00617.36
8.1.190.0040.00417.35
8.1.180.0030.00518.88
8.1.170.0040.00418.42
8.1.160.0000.00722.02
8.1.150.0030.00518.56
8.1.140.0040.00417.34
8.1.130.0040.00417.77
8.1.120.0000.00717.38
8.1.110.0040.00417.35
8.1.100.0030.00517.36
8.1.90.0070.00017.50
8.1.80.0060.00317.50
8.1.70.0060.00017.39
8.1.60.0040.00417.58
8.1.50.0060.00317.44
8.1.40.0080.00017.48
8.1.30.0030.00617.59
8.1.20.0000.00817.56
8.1.10.0030.00517.52
8.1.00.0000.00817.56
8.0.300.0070.00018.77
8.0.290.0000.00817.18
8.0.280.0040.00418.50
8.0.270.0030.00317.19
8.0.260.0030.00317.25
8.0.250.0050.00216.99
8.0.240.0050.00317.04
8.0.230.0000.00816.86
8.0.220.0000.00616.79
8.0.210.0070.00016.81
8.0.200.0000.00816.95
8.0.190.0040.00416.99
8.0.180.0040.00416.83
8.0.170.0050.00316.76
8.0.160.0040.00416.97
8.0.150.0030.00316.87
8.0.140.0030.00516.86
8.0.130.0000.00513.34
8.0.120.0040.00416.85
8.0.110.0070.00016.82
8.0.100.0050.00216.94
8.0.90.0000.00716.85
8.0.80.0090.00916.82
8.0.70.0040.00416.74
8.0.60.0050.00316.77
8.0.50.0000.00816.86
8.0.30.0110.00817.09
8.0.20.0100.00817.40
8.0.10.0070.00016.89
8.0.00.0100.00816.69
7.4.330.0030.00315.00
7.4.320.0030.00316.51
7.4.300.0030.00316.56
7.4.290.0000.00716.51
7.4.280.0000.00716.65
7.4.270.0000.00616.62
7.4.260.0030.00316.57
7.4.250.0070.00016.57
7.4.240.0050.00216.56
7.4.230.0000.00716.59
7.4.220.0140.01016.63
7.4.210.0040.01216.49
7.4.200.0000.00716.26
7.4.190.0030.00316.77
7.4.160.0060.01616.50
7.4.150.0070.01017.40
7.4.140.0100.00917.86
7.4.130.0070.01016.46
7.4.120.0110.00616.40
7.4.110.0180.00016.45
7.4.100.0090.00916.69
7.4.90.0120.00916.35
7.4.80.0120.00919.39
7.4.70.0080.00816.41
7.4.60.0130.00316.58
7.4.50.0090.00016.37
7.4.40.0070.01116.47
7.4.30.0100.00616.59
7.4.10.0070.01115.18
7.4.00.0060.00815.02
7.3.330.0060.00013.29
7.3.320.0000.00513.12
7.3.310.0000.00716.16
7.3.300.0030.00316.19
7.3.290.0130.00616.29
7.3.280.0090.00916.30
7.3.270.0040.01917.40
7.3.260.0090.00916.37
7.3.250.0060.01016.38
7.3.240.0070.01016.47
7.3.230.0090.00916.43
7.3.210.0100.00616.21
7.3.200.0150.00419.39
7.3.190.0130.00316.47
7.3.180.0090.00916.61
7.3.170.0000.01616.41
7.3.160.0070.01416.25
7.3.130.0140.00314.83
7.3.120.0030.01114.90
7.3.110.0080.01014.71
7.3.100.0000.01514.92
7.3.90.0120.00014.81
7.3.80.0030.00714.93
7.3.70.0030.01014.75
7.3.60.0000.01114.83
7.3.50.0100.00314.66
7.3.40.0060.00314.65
7.3.30.0070.00714.63
7.3.20.0060.00916.68
7.3.10.0060.00916.56
7.3.00.0050.00916.47
7.2.330.0100.00716.69
7.2.320.0030.01316.71
7.2.310.0110.01116.63
7.2.300.0160.00716.56
7.2.290.0100.01016.67
7.2.260.0140.00414.94
7.2.250.0110.00614.72
7.2.240.0090.00615.19
7.2.230.0060.00315.16
7.2.220.0110.00315.09
7.2.210.0030.00915.13
7.2.200.0070.00314.91
7.2.190.0070.00715.20
7.2.180.0030.01215.11
7.2.170.0040.00714.90
7.2.160.0000.01415.06
7.2.150.0100.00616.87
7.2.140.0060.00616.82
7.2.130.0080.00316.93
7.2.120.0070.00416.88
7.2.110.0040.00716.80
7.2.100.0090.00316.85
7.2.90.0030.00716.81
7.2.80.0070.00417.00
7.2.70.0060.00716.92
7.2.60.0090.00916.67
7.2.50.0060.00816.77
7.2.40.0070.00716.83
7.2.30.0090.00416.94
7.2.20.0070.00716.76
7.2.10.0030.01316.84
7.2.00.0050.01017.73
7.1.330.0090.00615.68
7.1.320.0030.00915.55
7.1.310.0080.00415.75
7.1.300.0070.00715.72
7.1.290.0000.00815.48
7.1.280.0000.01415.86
7.1.270.0000.00815.91
7.1.260.0090.00615.70
7.1.250.0030.01015.65
7.1.240.0060.00315.91
7.1.230.0040.00815.42
7.1.220.0090.00615.69
7.1.210.0040.00815.41
7.1.200.0020.01315.59
7.1.190.0100.00015.63
7.1.180.0070.00715.55
7.1.170.0040.01115.67
7.1.160.0070.00315.77
7.1.150.0080.00615.84
7.1.140.0070.00315.34
7.1.130.0030.00915.74
7.1.120.0060.00615.71
7.1.110.0030.00915.74
7.1.100.0120.00716.88
7.1.90.0030.01015.48
7.1.80.0000.01115.66
7.1.70.0000.01416.35
7.1.60.0050.01417.57
7.1.50.0030.01516.28
7.1.40.0090.00315.85
7.1.30.0000.00915.71
7.1.20.0070.00415.68
7.1.10.0040.00815.57
7.1.00.0060.04019.04
7.0.330.0040.00815.41
7.0.320.0060.00815.01
7.0.310.0090.00615.31
7.0.300.0030.00915.49
7.0.290.0060.00915.33
7.0.280.0070.00715.41
7.0.270.0060.00615.38
7.0.260.0040.00415.37
7.0.250.0070.00415.32
7.0.240.0060.00915.53
7.0.230.0000.00815.35
7.0.220.0070.00715.07
7.0.210.0080.00815.33
7.0.200.0010.00816.12
7.0.190.0090.00615.33
7.0.180.0000.00915.38
7.0.170.0000.01115.47
7.0.160.0030.01015.32
7.0.150.0030.00715.45
7.0.140.0030.03818.71
7.0.130.0070.00315.52
7.0.120.0040.00815.47
7.0.110.0110.00715.18
7.0.100.0070.01115.20
7.0.90.0110.00315.14
7.0.80.0000.01015.39
7.0.70.0080.03118.51
7.0.60.0080.03718.44
7.0.50.0050.04218.68
7.0.40.0030.04516.90
7.0.30.0060.04816.85
7.0.20.0070.04416.93
7.0.10.0050.04016.94
7.0.00.0090.03716.91
5.6.400.0080.00814.51
5.6.390.0040.00814.42
5.6.380.0040.01214.04
5.6.370.0030.00914.53
5.6.360.0000.01414.23
5.6.350.0040.00714.11
5.6.340.0100.00314.31
5.6.330.0030.01014.11
5.6.320.0000.01214.34
5.6.310.0050.00514.38
5.6.300.0030.00714.32
5.6.290.0070.00714.07
5.6.280.0060.03717.68
5.6.270.0080.00414.05
5.6.260.0060.00914.33
5.6.250.0000.01614.12
5.6.240.0070.00714.23
5.6.230.0000.01314.13
5.6.220.0050.04517.35
5.6.210.0040.04517.23
5.6.200.0090.03517.62
5.6.190.0030.04517.81
5.6.180.0070.04017.68
5.6.170.0080.03817.69
5.6.160.0020.04117.47
5.6.150.0050.03717.66
5.6.140.0020.03717.49
5.6.130.0080.04817.82
5.6.120.0070.03417.69
5.6.110.0070.04217.67
5.6.100.0040.04917.59
5.6.90.0030.04317.75
5.6.80.0050.03217.46
5.6.70.0080.04217.34
5.6.60.0080.04317.27
5.6.50.0040.04217.17
5.6.40.0110.03717.27
5.6.30.0130.02517.47
5.6.20.0090.03717.31
5.6.10.0020.04017.38
5.6.00.0100.04017.21
5.5.380.0000.00814.54
5.5.370.0040.00814.52
5.5.360.0050.04017.37
5.5.350.0050.04317.28
5.5.340.0070.04517.49
5.5.330.0060.04017.64
5.5.320.0080.04117.61
5.5.310.0030.04617.61
5.5.300.0050.04317.64
5.5.290.0040.04817.52
5.5.280.0030.04717.55
5.5.270.0020.05017.53
5.5.260.0080.04017.51
5.5.250.0090.03617.40
5.5.240.0070.04017.15
5.5.230.0080.04317.25
5.5.220.0080.03817.22
5.5.210.0040.02917.27
5.5.200.0070.04017.08
5.5.190.0030.04417.13
5.5.180.0000.04817.16
5.5.170.0060.00613.87
5.5.160.0090.03517.25
5.5.150.0070.04017.17
5.5.140.0030.03717.13
5.5.130.0050.04317.26
5.5.120.0010.03617.07
5.5.110.0030.04017.16
5.5.100.0050.03717.21
5.5.90.0050.04217.00
5.5.80.0050.03717.13
5.5.70.0050.04517.16
5.5.60.0040.03917.07
5.5.50.0020.03117.20
5.5.40.0050.02517.13
5.5.30.0050.02217.11
5.5.20.0050.02517.18
5.5.10.0050.02317.04
5.5.00.0030.02317.09
5.4.450.0070.03716.46
5.4.440.0050.03316.51
5.4.430.0080.03116.46
5.4.420.0050.04016.64
5.4.410.0060.04016.47
5.4.400.0030.03316.46
5.4.390.0030.03916.43
5.4.380.0020.04316.48
5.4.370.0070.04016.39
5.4.360.0030.04016.47
5.4.350.0090.03216.43
5.4.340.0090.03216.48
5.4.330.0030.00713.76
5.4.320.0040.03916.43
5.4.310.0080.03216.48
5.4.300.0050.04016.43
5.4.290.0010.03616.44
5.4.280.0050.03916.39
5.4.270.0030.03516.39
5.4.260.0080.03716.38
5.4.250.0090.02716.45
5.4.240.0050.04016.40
5.4.230.0020.03916.30
5.4.220.0000.04616.39
5.4.210.0060.01816.46
5.4.200.0060.02016.39
5.4.190.0050.01816.38
5.4.180.0030.02016.38
5.4.170.0030.02116.38
5.4.160.0040.02116.41
5.4.150.0040.01816.47
5.4.140.0020.02915.09
5.4.130.0030.01714.97
5.4.120.0000.02015.06
5.4.110.0020.01815.07
5.4.100.0000.02215.11
5.4.90.0030.01915.07
5.4.80.0030.02615.16
5.4.70.0000.01815.11
5.4.60.0030.01615.10
5.4.50.0030.02015.00
5.4.40.0060.01815.06
5.4.30.0040.01815.07
5.4.20.0040.01515.04
5.4.10.0000.01915.11
5.4.00.0030.01514.79
5.3.290.0050.04014.23
5.3.280.0020.03914.23
5.3.270.0040.02014.19
5.3.260.0030.02214.16
5.3.250.0020.02214.16
5.3.240.0030.02014.20
5.3.230.0050.01714.14
5.3.220.0070.01314.14
5.3.210.0020.02214.14
5.3.200.0040.01814.22
5.3.190.0030.02114.14
5.3.180.0040.01814.19
5.3.170.0030.01814.23
5.3.160.0060.01314.19
5.3.150.0000.02614.13
5.3.140.0080.01814.13
5.3.130.0000.02214.18
5.3.120.0020.02014.17
5.3.110.0020.01714.21
5.3.100.0020.01813.97
5.3.90.0020.01813.86
5.3.80.0060.01613.94
5.3.70.0020.01913.88
5.3.60.0030.01613.89
5.3.50.0040.01613.80
5.3.40.0050.01613.79
5.3.30.0040.01513.89
5.3.20.0020.01913.72
5.3.10.0040.01613.71
5.3.00.0040.01513.66
5.2.170.0000.02710.95
5.2.160.0030.02011.06
5.2.150.0000.02710.93
5.2.140.0000.02710.97
5.2.130.0000.02710.93
5.2.120.0000.02310.88
5.2.110.0000.03011.12
5.2.100.0030.02311.14
5.2.90.0000.02311.09
5.2.80.0030.02310.93
5.2.70.0000.02310.93
5.2.60.0000.02710.91
5.2.50.0000.02311.05
5.2.40.0000.02311.03
5.2.30.0000.02310.93
5.2.20.0000.02710.75
5.2.10.0030.03010.77
5.2.00.0000.02310.77
5.1.60.0030.02010.65
5.1.50.0000.02310.65
5.1.40.0030.02310.65
5.1.30.0000.02010.65
5.1.20.0000.02010.65
5.1.10.0000.02010.65
5.1.00.0000.02010.65
5.0.50.0030.02310.65
5.0.40.0000.02010.65
5.0.30.0000.02710.65
5.0.20.0000.01710.65
5.0.10.0000.04710.65
5.0.00.0000.02310.65
4.4.90.0000.01310.65
4.4.80.0000.01310.65
4.4.70.0000.01310.65
4.4.60.0000.01310.65
4.4.50.0000.01310.65
4.4.40.0000.02710.65
4.4.30.0000.01310.65
4.4.20.0000.01710.65
4.4.10.0030.01010.65
4.4.00.0000.02010.65
4.3.110.0000.01310.65
4.3.100.0000.01010.65
4.3.90.0030.01010.65
4.3.80.0000.05010.65
4.3.70.0000.01010.65
4.3.60.0000.01010.65
4.3.50.0000.01310.65
4.3.40.0030.01710.65
4.3.30.0000.02310.65
4.3.20.0000.03310.65
4.3.10.0000.02010.65
4.3.00.0070.02710.65

preferences:
44.81 ms | 400 KiB | 5 Q