3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { /** * @annotation1 */ // Some comment public $x = "x", $y = 'y', /** @annotation2 */ $z = 'z' ; } $reflection = new ReflectionProperty('\X', 'x'); var_dump($reflection->getDocComment()); $reflection = new ReflectionProperty('\X', 'y'); var_dump($reflection->getDocComment());

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.0070.01118.31
8.3.50.0160.00321.08
8.3.40.0080.00818.46
8.3.30.0040.01118.35
8.3.20.0070.00020.39
8.3.10.0040.00421.76
8.3.00.0080.00017.80
8.2.180.0040.01118.41
8.2.170.0030.01718.97
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0060.00317.50
8.2.110.0090.00019.27
8.2.100.0120.00019.36
8.2.90.0040.00419.09
8.2.80.0040.00817.97
8.2.70.0080.00017.50
8.2.60.0000.00817.93
8.2.50.0050.00318.07
8.2.40.0000.00819.25
8.2.30.0030.00320.51
8.2.20.0040.00417.51
8.2.10.0050.00218.01
8.2.00.0040.00317.88
8.1.280.0140.00325.92
8.1.270.0030.00622.10
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.62
8.1.230.0070.00417.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00017.25
8.1.190.0050.00816.75
8.1.180.0000.00718.10
8.1.170.0000.00818.64
8.1.160.0030.00321.95
8.1.150.0050.00218.82
8.1.140.0060.00317.45
8.1.130.0000.00717.57
8.1.120.0030.00317.40
8.1.110.0040.00417.47
8.1.100.0040.00417.40
8.1.90.0040.00417.29
8.1.80.0030.00517.41
8.1.70.0040.00417.38
8.1.60.0040.00417.49
8.1.50.0050.00317.52
8.1.40.0080.00417.46
8.1.30.0080.00017.52
8.1.20.0050.00217.51
8.1.10.0080.00017.50
8.1.00.0070.00017.37
8.0.300.0030.00518.77
8.0.290.0060.00316.63
8.0.280.0000.00718.35
8.0.270.0030.00317.15
8.0.260.0030.00317.12
8.0.250.0080.00016.82
8.0.240.0000.00716.79
8.0.230.0060.00016.80
8.0.220.0000.00716.83
8.0.210.0070.00016.80
8.0.200.0040.00416.79
8.0.190.0030.00616.77
8.0.180.0050.00516.81
8.0.170.0000.00816.80
8.0.160.0040.00416.77
8.0.150.0050.00316.75
8.0.140.0030.00616.70
8.0.130.0060.00313.23
8.0.120.0000.00816.84
8.0.110.0000.00716.74
8.0.100.0000.00816.70
8.0.90.0000.00816.65
8.0.80.0000.01516.77
8.0.70.0000.00716.83
8.0.60.0060.00316.83
8.0.50.0060.00316.89
8.0.30.0100.00817.14
8.0.20.0140.00617.40
8.0.10.0070.00016.93
8.0.00.0110.00816.58
7.4.330.0000.00615.08
7.4.320.0030.00316.53
7.4.300.0060.00016.38
7.4.290.0040.00416.50
7.4.280.0060.00316.54
7.4.270.0030.00316.36
7.4.260.0050.00216.50
7.4.250.0040.00416.55
7.4.240.0050.00216.44
7.4.230.0030.00316.50
7.4.220.0070.01116.46
7.4.210.0030.01116.53
7.4.200.0030.00316.61
7.4.160.0090.00616.30
7.4.150.0110.00717.40
7.4.140.0110.00917.86
7.4.130.0150.00716.38
7.4.120.0130.00616.38
7.4.110.0090.00916.46
7.4.100.0090.00916.45
7.4.90.0060.01816.47
7.4.80.0040.01219.39
7.4.70.0110.00716.57
7.4.60.0070.01016.28
7.4.50.0000.00916.41
7.4.40.0100.00716.24
7.4.30.0090.00916.09
7.4.00.0070.01014.73
7.3.330.0050.00013.18
7.3.320.0020.00313.25
7.3.310.0030.00316.16
7.3.300.0000.00716.22
7.3.290.0100.00716.17
7.3.280.0070.00816.18
7.3.270.0160.00017.40
7.3.260.0050.01116.07
7.3.250.0090.01016.42
7.3.240.0090.01216.24
7.3.230.0110.00616.51
7.3.210.0040.01216.05
7.3.200.0120.00916.52
7.3.190.0120.00416.14
7.3.180.0130.00316.35
7.3.170.0130.00716.27
7.3.160.0030.01316.16
7.3.00.0140.00616.16
7.2.330.0090.01216.48
7.2.320.0060.01616.27
7.2.310.0080.00816.64
7.2.300.0040.01216.55
7.2.290.0030.01216.60
7.2.130.0170.00816.72
7.2.120.0100.01016.41
7.2.110.0130.01116.41
7.2.100.0100.01016.73
7.2.90.0110.01316.72
7.2.80.0080.01616.53
7.2.70.0100.01016.70
7.2.60.0070.01316.57
7.2.50.0080.01216.64
7.2.40.0090.00916.70
7.2.30.0070.01116.49
7.2.20.0150.00316.64
7.2.10.0070.00716.51
7.2.00.0080.01017.96
7.1.250.0090.00915.77
7.1.240.0140.00215.57
7.1.230.0150.00415.27
7.1.220.0170.00415.48
7.1.210.0130.00415.51
7.1.200.0090.00915.71
7.1.190.0120.00915.60
7.1.180.0160.00315.41
7.1.170.0090.00415.52
7.1.160.0060.00915.30
7.1.150.0090.00615.39
7.1.140.0140.00315.60
7.1.130.0090.00915.59
7.1.120.0080.00815.39
7.1.110.0040.01115.47
7.1.100.0070.01116.85
7.1.90.0190.00415.33
7.1.80.0110.01115.69
7.1.70.0090.00616.29
7.1.60.0080.01717.43
7.1.50.0090.01116.28
7.1.40.0030.01415.69
7.1.30.0080.00415.46
7.1.20.0050.01515.66
7.1.10.0130.00415.55
7.1.00.0060.04418.92
7.0.330.0090.00615.01
7.0.320.0070.01115.14
7.0.310.0060.00915.25
7.0.300.0040.01214.90
7.0.290.0060.00915.31
7.0.280.0120.00615.06
7.0.270.0070.00314.99
7.0.260.0080.00815.03
7.0.250.0140.00015.08
7.0.240.0070.01015.33
7.0.230.0090.00615.00
7.0.220.0030.01015.00
7.0.210.0110.00415.04
7.0.200.0050.00815.77
7.0.190.0090.00615.10
7.0.180.0070.00715.04
7.0.170.0130.00615.23
7.0.160.0120.00315.34
7.0.150.0070.00714.73
7.0.140.0120.00615.16
7.0.130.0040.01215.19
7.0.120.0100.00615.18
7.0.110.0040.01114.99
7.0.100.0130.00315.29
7.0.90.0090.00615.11
7.0.80.0080.00815.30
7.0.70.0070.01015.04
7.0.60.0080.03517.33
7.0.50.0070.04416.42
7.0.40.0140.04216.74
7.0.30.0300.03716.61
7.0.20.0130.03316.67
7.0.10.0100.02816.55
7.0.00.0050.04816.60
5.6.380.0050.01114.19
5.6.370.0100.01014.21
5.6.360.0070.01014.09
5.6.350.0120.00914.05
5.6.340.0100.00714.05
5.6.330.0120.00614.14
5.6.320.0030.01014.23
5.6.310.0090.00914.18
5.6.300.0060.00914.17
5.6.290.0090.00414.11
5.6.280.0050.02217.60
5.6.270.0140.00214.02
5.6.260.0080.00814.26
5.6.250.0080.00814.26
5.6.240.0050.01114.02
5.6.230.0060.01214.17
5.6.220.0070.00713.99
5.6.210.0040.05017.57
5.6.200.0120.04116.26
5.6.190.0100.04417.40
5.6.180.1780.02517.51
5.6.170.0220.03917.34
5.6.160.0070.04517.27
5.6.150.0050.02216.10
5.6.140.0040.04716.15
5.6.130.0090.02616.21
5.6.120.0050.04917.52
5.6.110.0120.03917.61
5.6.100.0030.04917.67
5.6.90.0100.04017.49
5.6.80.0090.04317.16
5.6.70.0030.01013.88
5.6.60.0030.01014.00
5.6.50.0090.00913.84
5.6.40.0050.00514.26
5.6.30.0100.00313.80
5.6.20.0050.00513.93
5.6.10.0040.00414.30
5.6.00.0090.00413.96
5.5.380.0140.00011.28
5.5.370.0130.00311.21
5.5.360.0070.00511.09
5.5.350.0030.04115.85
5.5.340.0080.02814.41
5.5.330.0060.02415.77
5.5.320.0240.01615.70
5.5.310.0200.02515.59
5.5.300.0040.02114.26
5.5.290.0030.02614.61
5.5.280.0110.03815.96
5.5.270.0070.04515.79
5.5.260.0030.03915.77
5.5.250.0080.04015.68
5.5.240.0100.03915.51
5.5.230.0000.01010.87
5.5.220.0030.00310.85
5.5.210.0090.00011.01
5.5.200.0000.01110.80
5.5.190.0040.00411.04
5.5.180.0040.00410.92
5.5.170.0030.00610.61
5.5.160.0060.00610.86
5.5.150.0030.00310.94
5.5.140.0030.00611.06
5.5.130.0000.00710.98
5.5.120.0030.01110.93
5.5.110.0060.00610.71
5.5.100.0030.00710.92
5.5.90.0030.00610.97
5.5.80.0050.00510.93
5.5.70.0090.00311.01
5.5.60.0050.00510.67
5.5.50.0040.00810.94
5.5.40.0040.00810.80
5.5.30.0000.00711.03
5.5.20.0060.01010.54
5.5.10.0000.00610.85
5.5.00.0120.00010.98
5.4.450.0370.03115.06
5.4.440.0390.03315.19
5.4.430.0380.03315.11
5.4.420.0310.03215.07
5.4.410.0460.02815.05
5.4.400.0300.03315.00
5.4.390.0300.03714.83
5.4.380.0320.03414.94
5.4.370.0390.02915.08
5.4.360.0330.03514.96
5.4.350.0420.04014.90
5.4.340.0350.03214.99
5.4.330.0040.00711.01
5.4.320.0380.03115.03
5.4.310.0360.02814.97
5.4.300.0300.03415.09
5.4.290.0300.03314.90
5.4.280.0410.02214.96
5.4.270.0350.02815.09
5.4.260.0380.02814.82
5.4.250.0470.02514.89
5.4.240.0470.02714.85
5.4.230.0310.03515.15
5.4.220.0380.03114.86
5.4.210.0370.03014.92
5.4.200.0370.03214.92
5.4.190.0380.03015.10
5.4.180.0450.03214.94
5.4.170.0360.03515.05
5.4.160.0460.03714.92
5.4.150.0330.03314.86
5.4.140.0120.03213.63
5.4.130.0030.03413.52
5.4.120.0060.02913.60
5.4.110.0180.03013.65
5.4.100.0330.03013.49
5.4.90.0370.03813.73
5.4.80.0300.02913.40
5.4.70.0210.02813.55
5.4.60.0090.02513.63
5.4.50.0030.03113.68
5.4.40.0170.03913.74
5.4.30.0220.02813.80
5.4.20.0130.03713.64
5.4.10.0000.00810.61
5.4.00.0000.00710.91

preferences:
53.61 ms | 401 KiB | 5 Q