3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private $bar = 'a'; } (new ReflectionProperty(Foo::class, 'bar'))->getValue();

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.53
8.3.50.0130.00717.92
8.3.40.0090.00618.82
8.3.30.0100.00618.88
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.180.0100.01025.92
8.2.170.0040.01418.73
8.2.160.0150.00022.96
8.2.150.0070.00025.66
8.2.140.0130.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00326.16
8.2.110.0090.00022.08
8.2.100.0060.00617.72
8.2.90.0030.00517.75
8.2.80.0000.00818.61
8.2.70.0070.00317.55
8.2.60.0070.00417.85
8.2.50.0060.00318.10
8.2.40.0040.00421.06
8.2.30.0050.00219.10
8.2.20.0040.00418.00
8.2.10.0040.00419.29
8.2.00.0000.00719.23
8.1.280.0030.01025.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0090.00022.24
8.1.230.0110.00017.76
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0070.00417.22
8.1.190.0080.00017.10
8.1.180.0000.00918.10
8.1.170.0040.00418.58
8.1.160.0000.00820.63
8.1.150.0030.00718.73
8.1.140.0040.00318.73
8.1.130.0030.00319.99
8.1.120.0040.00417.33
8.1.110.0050.00317.22
8.1.100.0050.00617.36
8.1.90.0030.00517.33
8.1.80.0000.00917.38
8.1.70.0040.00417.32
8.1.60.0040.00417.38
8.1.50.0080.00017.34
8.1.40.0040.00417.48
8.1.30.0040.00717.46
8.1.20.0030.00517.42
8.1.10.0000.00717.56
8.1.00.0040.00417.45
8.0.300.0000.01018.77
8.0.290.0080.00016.63
8.0.280.0000.00818.45
8.0.270.0040.00416.82
8.0.260.0060.00018.55
8.0.250.0040.00416.95
8.0.240.0030.00616.85
8.0.230.0030.00516.91
8.0.220.0070.00016.88
8.0.210.0000.00716.91
8.0.200.0060.00016.97
8.0.190.0040.00416.92
8.0.180.0050.00316.91
8.0.170.0040.00416.84
8.0.160.0000.00916.79
8.0.150.0040.00416.76
8.0.140.0030.00816.91
8.0.130.0030.00313.32
8.0.120.0000.00916.86
8.0.110.0040.00416.94
8.0.100.0040.00416.84
8.0.90.0000.00716.86
8.0.80.0090.00616.85
8.0.70.0070.00016.95
8.0.60.0000.00716.84
8.0.50.0070.00016.95
8.0.30.0320.01316.75
8.0.20.0210.01516.78
8.0.10.0240.01216.83
8.0.00.0120.00816.82
7.4.330.0000.00515.55
7.4.320.0000.00616.28
7.4.300.0060.00016.57
7.4.290.0000.00816.38
7.4.280.0030.00616.52
7.4.270.0000.00716.53
7.4.260.0030.00313.11
7.4.250.0030.00316.42
7.4.240.0000.00716.50
7.4.230.0040.00416.57
7.4.220.0040.00416.27
7.4.210.0110.01116.46
7.4.200.0050.00316.63
7.4.160.0250.00316.53
7.4.150.0170.00916.38
7.4.140.0210.00916.40
7.4.130.0150.01116.34
7.4.120.0180.00916.41
7.4.110.0230.00416.41
7.4.100.0230.00216.39
7.4.90.0210.00516.31
7.4.80.0190.00916.17
7.4.70.0130.01316.24
7.4.60.0230.00316.23
7.4.50.0210.00516.21
7.4.40.0130.01316.26
7.4.30.0230.00916.33
7.4.20.0210.01016.23
7.4.10.0250.00616.30
7.4.00.0270.00316.48
7.3.330.0030.00316.34
7.3.320.0020.00213.30
7.3.310.0030.00316.29
7.3.300.0060.00016.17
7.3.290.0070.01016.28
7.3.280.0310.00016.19
7.3.270.0150.01216.19
7.3.260.0140.01116.29
7.3.250.0220.00416.18
7.3.240.0190.01016.16
7.3.230.0180.00716.26
7.3.220.0240.00316.12
7.3.210.0200.00816.21
7.3.200.0250.00316.10
7.3.190.0230.00416.16
7.3.180.0290.00016.12
7.3.170.0110.01716.20
7.3.160.0290.00416.16
7.3.150.0120.01816.20
7.3.140.0240.00816.20
7.3.130.0160.01216.13
7.3.120.0220.00416.14
7.3.110.0160.01216.05
7.3.100.0160.01015.99
7.3.90.0220.00716.45
7.3.80.0270.01216.18
7.3.70.0290.01016.21
7.3.60.0420.00316.30
7.3.50.0220.01116.20
7.3.40.0220.01816.25
7.3.30.0200.01316.23
7.3.20.0280.00816.27
7.3.10.0250.00516.19
7.3.00.0190.00716.21

preferences:
70.7 ms | 400 KiB | 5 Q