3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Testing { public string $ok_public; protected string $ok_protected; private string $ok_private; public protected(set) string $wrong_public_protected_set; public private(set) string $wrong_public_private_set; protected private(set) string $wrong_protected_private_set; } $r = new ReflectionClass('Testing'); foreach($r->getProperties() as $rp) { echo $rp->getName() . ": "; echo $rp->getModifiers() . ": "; echo implode(", ", Reflection::getModifierNames($rp->getModifiers())) . "\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.4.120.0440.00717.51
8.4.110.0390.00817.47
8.4.100.0430.00817.58
8.4.90.0300.00817.54
8.4.80.0390.01117.58
8.4.70.0370.01017.64
8.4.60.0390.01017.56
8.4.50.0410.00817.69
8.4.40.0440.01017.47
8.4.30.0410.00917.28
8.4.20.0440.00817.44
8.4.10.0370.00917.37
8.3.250.0200.00616.76
8.3.240.0310.00716.31
8.3.230.0360.00816.63
8.3.220.0290.00616.48
8.3.210.0370.00916.44
8.3.200.0420.00916.42
8.3.190.0320.00716.41
8.3.180.0260.00616.52
8.3.170.0190.00616.49
8.3.160.0200.00416.30
8.3.150.0280.00816.20
8.3.140.0300.00716.52
8.3.130.0300.00716.56
8.3.120.0350.00516.44
8.3.110.0280.00716.38
8.3.100.0340.00416.21
8.3.90.0440.00616.34
8.3.80.0370.00816.42
8.3.70.0410.00916.38
8.3.60.0450.00716.29
8.3.50.0340.00716.40
8.3.40.0460.00517.34
8.3.30.0340.00717.28
8.3.20.0390.00917.43
8.3.10.0310.01017.28
8.3.00.0220.00817.41
8.2.290.0270.00916.72
8.2.280.0250.00616.72
8.2.270.0230.00816.56
8.2.260.0270.00616.34
8.2.250.0130.00616.71
8.2.240.0260.00616.45
8.2.230.0290.00716.22
8.2.220.0250.00916.64
8.2.210.0320.00716.32
8.2.200.0270.00516.48
8.2.190.0260.00716.55
8.2.180.0270.00616.42
8.2.170.0370.00617.35
8.2.160.0320.00817.53
8.2.150.0380.00917.31
8.2.140.0340.00717.20
8.2.130.0340.00917.18
8.2.120.0350.00817.32
8.2.110.0380.00617.36
8.2.100.0380.00817.48
8.2.90.0350.00617.39
8.2.80.0270.00517.48
8.2.70.0250.00817.37
8.2.60.0210.00417.45
8.2.50.0200.00317.26
8.2.40.0290.00417.52
8.2.30.0340.00717.40
8.2.20.0280.01017.39
8.2.10.0290.00817.25
8.2.00.0330.00817.26
8.1.330.0310.00816.03
8.1.320.0290.01316.23
8.1.310.0290.00915.82
8.1.300.0310.00816.11
8.1.290.0380.00816.17
8.1.280.0310.01015.88
8.1.270.0470.00617.14
8.1.260.0320.01117.15
8.1.250.0330.00716.96
8.1.240.0300.00816.93
8.1.230.0330.00417.22
8.1.220.0310.00817.21
8.1.210.0300.00417.27
8.1.200.0110.00617.23
8.1.190.0130.00617.09
8.1.180.0150.00217.07
8.1.170.0280.01017.20
8.1.160.0300.00817.31
8.1.150.0300.00817.33
8.1.140.0280.00517.13
8.1.130.0150.00217.17
8.1.120.0160.00817.33
8.1.110.0330.00616.94
8.1.100.0300.00817.03
8.1.90.0300.00617.05
8.1.80.0290.00617.13
8.1.70.0340.00817.22
8.1.60.0270.00817.27
8.1.50.0250.01117.05
8.1.40.0290.00917.32
8.1.30.0280.00517.21
8.1.20.0330.00517.22
8.1.10.0270.01117.31
8.1.00.0280.01017.24
8.0.300.0270.01016.64
8.0.290.0510.00516.56
8.0.280.0330.00716.08
8.0.270.0420.00816.25
8.0.260.0340.00516.61
8.0.250.0220.00816.62
8.0.240.0310.00716.63
8.0.230.0300.00816.29
8.0.220.0290.00816.64
8.0.210.0300.00516.64
8.0.200.0160.00316.78
8.0.190.0240.00216.61
8.0.180.0310.00716.55
8.0.170.0300.00616.59
8.0.160.0290.00916.64
8.0.150.0300.00916.47
8.0.140.0300.00816.33
8.0.130.0310.00816.37
8.0.120.0270.00616.58
8.0.110.0150.00216.64
8.0.100.0170.00816.51
8.0.90.0260.01116.31
8.0.80.0300.00716.63
8.0.70.0320.00716.25
8.0.60.0270.00616.41
8.0.50.0320.00816.45
8.0.30.0300.00716.57
8.0.20.0250.00316.70
8.0.10.0290.00916.52
8.0.00.0130.00416.77
7.4.330.0130.00416.35
7.4.320.0200.00516.15
7.4.300.0360.00715.63
7.4.290.0330.00616.13
7.4.280.0300.01016.01
7.4.270.0360.00716.05
7.4.260.0180.00416.08
7.4.250.0270.00616.28
7.4.240.0270.00916.23
7.4.230.0250.01116.26
7.4.220.0270.00816.09
7.4.210.0290.00716.19
7.4.200.0270.00916.20
7.4.190.0330.00716.22
7.4.180.0300.00516.28
7.4.160.0300.00616.22
7.4.150.0280.00716.11
7.4.140.0300.00615.94
7.4.130.0280.00716.02
7.4.120.0280.00516.00
7.4.110.0260.00915.91
7.4.100.0300.00816.01
7.4.90.0290.00816.13
7.4.80.0280.01216.05
7.4.70.0270.00715.96
7.4.60.0290.00716.06
7.4.50.0290.00815.89
7.4.40.0300.00816.05
7.4.30.0290.00716.09
7.4.20.0280.00815.91
7.4.10.0310.00615.93
7.4.00.0420.00715.99
7.3.330.0200.00716.04
7.3.320.0270.00615.85
7.3.310.0290.00815.76
7.3.300.0350.00815.95
7.3.290.0300.00815.73
7.3.280.0370.00715.96
7.3.270.0290.00616.09
7.3.260.0270.00916.16
7.3.250.0280.00715.84
7.3.240.0300.00516.09
7.3.230.0270.00815.99
7.3.220.0270.01115.91
7.3.210.0320.00415.81
7.3.200.0370.00515.95
7.3.190.0270.00415.94
7.3.180.0280.00915.79
7.3.170.0320.00616.02
7.3.160.0280.00615.88
7.3.150.0230.00815.88
7.3.140.0280.00815.75
7.3.130.0310.00615.75
7.3.120.0240.00916.02
7.3.110.0300.00615.80
7.3.100.0280.00715.93
7.3.90.0240.00615.87
7.3.80.0270.00815.58
7.3.70.0280.00815.85
7.3.60.0270.00415.93
7.3.50.0300.00515.89
7.3.40.0290.00515.91
7.3.30.0350.00515.59
7.3.20.0310.00716.16
7.3.10.0270.00915.96
7.3.00.0280.00815.79
7.2.340.0270.01115.72
7.2.330.0130.00415.78
7.2.320.0140.00215.86
7.2.310.0300.00415.50
7.2.300.0290.00516.20
7.2.290.0300.00516.05
7.2.280.0280.00415.86
7.2.270.0250.00816.05
7.2.260.0260.01015.96
7.2.250.0280.00516.08
7.2.240.0280.00815.69
7.2.230.0350.00715.81
7.2.220.0210.00815.86
7.2.210.0250.01015.98
7.2.200.0310.00515.93
7.2.190.0280.00815.97
7.2.180.0250.01015.91
7.2.170.0260.00616.33
7.2.160.0270.00915.87
7.2.150.0330.00515.86
7.2.140.0300.00816.16
7.2.130.0300.00716.22
7.2.120.0300.00616.14
7.2.110.0330.00516.00
7.2.100.0320.00516.01
7.2.90.0250.00416.00
7.2.80.0270.00916.21
7.2.70.1020.00515.96
7.2.60.0260.00516.09
7.2.50.0210.00216.17
7.2.40.0310.00616.08
7.2.30.0320.00516.27
7.2.20.0300.00916.06
7.2.10.0300.00716.03
7.2.00.0310.00816.08
7.1.330.0240.00614.82
7.1.320.0300.00515.04
7.1.310.0290.00615.00
7.1.300.0220.00315.25
7.1.290.0110.00415.04
7.1.280.0230.01014.91
7.1.270.0220.01114.90
7.1.260.0290.00714.94
7.1.250.0300.01014.97
7.1.240.0330.00914.82
7.1.230.0250.00815.10
7.1.220.0240.00415.09
7.1.210.0270.00715.20
7.1.200.0240.00615.10
7.1.190.0450.00514.90
7.1.180.0120.00415.20
7.1.170.0230.00815.09
7.1.160.0200.00714.96
7.1.150.0120.00315.15
7.1.140.0100.00514.97
7.1.130.0230.01015.13
7.1.120.0270.00415.13
7.1.110.0240.01015.03
7.1.100.0240.01014.75
7.1.90.0280.00615.00
7.1.80.0260.00414.95
7.1.70.0260.01014.92
7.1.60.0300.00714.77
7.1.50.0300.00315.07
7.1.40.0290.00614.96
7.1.30.0450.00615.00
7.1.20.0310.00714.72
7.1.10.0230.01114.98
7.1.00.0260.00814.95
7.0.330.0250.00714.82
7.0.320.0220.00614.69
7.0.310.0860.00314.70
7.0.300.0210.00414.19
7.0.290.0220.00714.61
7.0.280.0240.00914.48
7.0.270.0280.00514.78
7.0.260.0280.00714.50
7.0.250.0290.00414.79
7.0.240.0270.01014.53
7.0.230.0240.00314.96
7.0.220.0200.00214.82
7.0.210.0260.00714.90
7.0.200.0250.00814.70
7.0.190.0330.00614.60
7.0.180.0240.00214.83
7.0.170.0260.00614.59
7.0.160.0230.00614.57
7.0.150.0260.00614.97
7.0.140.0300.00314.73
7.0.130.0270.00614.62
7.0.120.0260.00614.77
7.0.110.0240.01114.84
7.0.100.0240.00714.74
7.0.90.0770.00514.96
7.0.80.0120.00314.90
7.0.70.0210.00714.63
7.0.60.0150.00214.50
7.0.50.0280.00514.52
7.0.40.0290.00514.93
7.0.30.0260.00614.60
7.0.20.0170.01314.70
7.0.10.0210.00714.70
7.0.00.0220.00714.82
5.6.400.0290.00415.43
5.6.390.0290.00915.34
5.6.380.0350.00615.30
5.6.370.0290.00715.23
5.6.360.0260.00715.20
5.6.350.0290.00415.25
5.6.340.0220.00815.32
5.6.330.0270.00315.38
5.6.320.0290.00715.43
5.6.310.0240.00815.13
5.6.300.0270.00515.16
5.6.290.0240.00715.51
5.6.280.0280.00415.36
5.6.270.0260.00815.49
5.6.260.0280.00515.49
5.6.250.0230.00815.43
5.6.240.0220.00815.50
5.6.230.0280.00615.40
5.6.220.0260.00515.59
5.6.210.0240.00415.28
5.6.200.0340.00415.78
5.6.190.0250.00815.62
5.6.180.0270.00415.64
5.6.170.0290.00415.56
5.6.160.0290.00715.50
5.6.150.0160.00115.50
5.6.140.0090.00515.50
5.6.130.0160.00515.61
5.6.120.0160.00215.44
5.6.110.0180.00515.33
5.6.100.0230.00915.28
5.6.90.0240.00715.41
5.6.80.0250.00515.36
5.6.70.0170.00415.54
5.6.60.0120.00315.37
5.6.50.0220.00815.45
5.6.40.0230.00815.54
5.6.30.0240.00715.33
5.6.20.0310.00915.01
5.6.10.0260.00515.45
5.6.00.0240.00715.50
5.5.380.0180.00815.59
5.5.370.0150.00215.41
5.5.360.0210.00415.29
5.5.350.0270.00615.27
5.5.340.0250.00415.48
5.5.330.0210.00815.38
5.5.320.0210.00915.29
5.5.310.0200.01115.21
5.5.300.0260.00615.30
5.5.290.0270.00515.18
5.5.280.0240.00915.24
5.5.270.0260.00715.29
5.5.260.0280.00315.28
5.5.250.0210.00715.48
5.5.240.0220.01015.50
5.5.230.0240.00715.37
5.5.220.0250.00615.43
5.5.210.0230.00715.67
5.5.200.0200.01015.36
5.5.190.0230.00615.12
5.5.180.0260.00815.25
5.5.170.0280.00315.30
5.5.160.0290.00615.31
5.5.150.0240.00415.30
5.5.140.0220.00814.99
5.5.130.0250.00515.30
5.5.120.0180.00915.19
5.5.110.0220.00915.12
5.5.100.0250.00915.41
5.5.90.0270.00615.21
5.5.80.0230.00615.36
5.5.70.0260.00515.32
5.5.60.0250.00315.39
5.5.50.0230.00715.56
5.5.40.0210.01015.43
5.5.30.0260.00515.45
5.5.20.0220.00415.50
5.5.10.0240.00615.39
5.5.00.0220.00815.15
5.4.450.0260.00614.19
5.4.440.0210.00414.19
5.4.430.0190.00614.19
5.4.420.0190.00714.19
5.4.410.0190.00514.19
5.4.400.0230.00314.19
5.4.390.0230.00414.19
5.4.380.0200.00514.19
5.4.370.0180.00614.19
5.4.360.0170.00714.19
5.4.350.0210.00414.19
5.4.340.0210.00214.19
5.4.330.0190.00414.19
5.4.320.0190.00614.19
5.4.310.0200.00414.19
5.4.300.0210.00414.19
5.4.290.0220.00214.19
5.4.280.0210.00314.19
5.4.270.0210.00414.19
5.4.260.0180.00514.19
5.4.250.0200.00614.19
5.4.240.0190.00614.19
5.4.230.0180.00614.19
5.4.220.0200.00314.19
5.4.210.0160.00714.19
5.4.200.0170.00614.19
5.4.190.0220.00314.19
5.4.180.0220.00514.19
5.4.170.0240.00314.19
5.4.160.0220.00614.19
5.4.150.0170.00414.19
5.4.140.0190.00514.19
5.4.130.0200.00514.19
5.4.120.0170.00714.19
5.4.110.0140.00414.19
5.4.100.0090.00214.19
5.4.90.0090.00214.19
5.4.80.0090.00214.19
5.4.70.0070.00414.19
5.4.60.0090.00214.19
5.4.50.0120.00314.19
5.4.40.0120.00414.19
5.4.30.0080.00414.19
5.4.20.0100.00414.19
5.4.10.0200.00414.19
5.4.00.0220.00414.19
5.3.290.0170.00714.19
5.3.280.0220.00314.19
5.3.270.0220.00714.19
5.3.260.0200.00414.19
5.3.250.0250.00514.19
5.3.240.0190.00514.19
5.3.230.0200.00514.19
5.3.220.0150.00714.19
5.3.210.0210.00514.19
5.3.200.0210.00514.19
5.3.190.0220.00514.19
5.3.180.0190.00714.19
5.3.170.0220.00414.19
5.3.160.0170.00814.19
5.3.150.0180.00714.19
5.3.140.0190.00614.19
5.3.130.0200.00514.19
5.3.120.0240.00214.19
5.3.110.0210.00314.19
5.3.100.0200.00414.19
5.3.90.0190.00614.19
5.3.80.0210.00514.19
5.3.70.0200.00514.19
5.3.60.0200.00614.19
5.3.50.0190.00614.19
5.3.40.0180.00514.19
5.3.30.0200.00514.19
5.3.20.0190.00514.19
5.3.10.0170.00714.19
5.3.00.0170.00614.19
5.2.170.0150.00514.19
5.2.160.0150.00414.19
5.2.150.0110.00514.19
5.2.140.0120.00514.19
5.2.130.0180.00614.19
5.2.120.0110.00714.19
5.2.110.0130.00414.19
5.2.100.0140.00614.19
5.2.90.0170.00314.19
5.2.80.0160.00414.19
5.2.70.0150.00514.19
5.2.60.0140.00614.19
5.2.50.0170.00314.19
5.2.40.0130.00714.19
5.2.30.0180.00214.19
5.2.20.0170.00414.19
5.2.10.0120.00714.19
5.2.00.0170.00214.19
5.1.60.0120.00614.19
5.1.50.0160.00614.19
5.1.40.0110.00614.19
5.1.30.0130.00214.19
5.1.20.0060.00214.19
5.1.10.0070.00214.19
5.1.00.0120.00214.19
5.0.50.0120.00314.19
5.0.40.0130.00314.19
5.0.30.0120.00314.19
5.0.20.0100.00314.19
5.0.10.0110.00114.19
5.0.00.0070.00414.19
4.4.90.0030.00114.19
4.4.80.0100.00014.19
4.4.70.0030.00314.19
4.4.60.0080.00214.19
4.4.50.0070.00114.19
4.4.40.0090.00114.19
4.4.30.0090.00214.19
4.4.20.0030.00114.19
4.4.10.0040.00014.19
4.4.00.0020.00214.19
4.3.110.0050.00014.19
4.3.100.0030.00114.19
4.3.90.0080.00114.19
4.3.80.0070.00114.19
4.3.70.0080.00114.19
4.3.60.0090.00014.19
4.3.50.0070.00214.19
4.3.40.0060.00214.19
4.3.30.0060.00114.19
4.3.20.0070.00014.19
4.3.10.0060.00114.19
4.3.00.0050.00214.19

preferences:
177.86 ms | 997 KiB | 7 Q