3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private $p = 'secret'; } $reflection = new ReflectionClass('Foo'); var_dump($reflection->getProperties(1));

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.0100.00716.63
8.3.50.0070.00717.85
8.3.40.0070.01118.54
8.3.30.0090.00618.68
8.3.20.0040.00418.91
8.3.10.0050.00321.77
8.3.00.0030.00520.64
8.2.180.0140.00718.41
8.2.170.0110.00322.96
8.2.160.0150.00419.19
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00018.09
8.2.120.0000.00826.35
8.2.110.0070.00319.16
8.2.100.0080.00317.78
8.2.90.0000.00917.50
8.2.80.0080.00017.97
8.2.70.0000.00818.04
8.2.60.0040.00418.09
8.2.50.0000.00818.10
8.2.40.0040.00419.30
8.2.30.0000.00719.05
8.2.20.0080.00018.01
8.2.10.0040.00417.96
8.2.00.0040.00417.64
8.1.280.0140.00325.92
8.1.270.0080.00018.59
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0110.00022.47
8.1.230.0070.00422.30
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0000.00818.86
8.1.150.0080.00018.81
8.1.140.0030.00322.14
8.1.130.0030.00619.97
8.1.120.0070.00017.32
8.1.110.0000.00717.31
8.1.100.0050.00217.35
8.1.90.0030.00617.40
8.1.80.0000.00917.40
8.1.70.0030.00517.27
8.1.60.0000.00817.39
8.1.50.0000.00817.34
8.1.40.0000.00917.36
8.1.30.0080.00017.59
8.1.20.0070.00017.54
8.1.10.0030.00617.44
8.1.00.0000.00717.33
8.0.300.0000.00718.77
8.0.290.0050.00316.63
8.0.280.0000.00718.37
8.0.270.0070.00017.26
8.0.260.0030.00318.41
8.0.250.0000.00716.75
8.0.240.0000.00716.88
8.0.230.0060.00316.86
8.0.220.0040.00416.79
8.0.210.0000.00816.72
8.0.200.0000.00716.88
8.0.190.0000.00816.87
8.0.180.0050.00216.83
8.0.170.0090.00016.70
8.0.160.0000.00816.69
8.0.150.0070.00016.72
8.0.140.0000.00816.67
8.0.130.0050.00013.20
8.0.120.0070.00016.69
8.0.110.0040.00416.82
8.0.100.0080.00016.75
8.0.90.0000.00816.64
8.0.80.0140.00516.84
8.0.70.0000.00716.78
8.0.60.0080.00016.68
8.0.50.0000.00716.82
8.0.30.0100.00716.99
8.0.20.0100.01317.40
8.0.10.0040.00416.77
8.0.00.0090.01016.53
7.4.330.0030.00315.55
7.4.320.0030.00316.38
7.4.300.0030.00316.41
7.4.290.0000.00716.52
7.4.280.0060.00316.31
7.4.270.0030.00316.42
7.4.260.0000.00716.55
7.4.250.0030.00316.50
7.4.240.0040.00416.36
7.4.230.0000.00716.51
7.4.220.0080.00016.43
7.4.210.0100.00516.50
7.4.200.0000.00716.63
7.4.160.0100.00716.41
7.4.140.0060.01617.86
7.4.130.0070.01716.37
7.4.120.0080.01216.43
7.4.110.0060.01616.36
7.4.100.0150.00916.28
7.4.90.0150.00316.45
7.4.80.0080.00819.39
7.4.70.0110.00616.36
7.4.60.0120.00416.44
7.4.50.0030.01016.47
7.4.40.0120.00816.06
7.3.330.0000.00513.09
7.3.320.0060.00013.00
7.3.310.0060.00316.21
7.3.300.0030.00316.16
7.3.290.0020.00516.03
7.3.280.0090.00716.19
7.3.260.0090.00916.30
7.3.240.0080.01116.28
7.3.230.0120.00916.34
7.3.210.0040.01516.57
7.3.200.0100.00716.24
7.3.190.0070.01016.36
7.3.180.0130.00316.39
7.3.170.0030.01316.35
7.3.160.0180.00016.10
7.2.330.0120.00916.59
7.2.320.0160.00616.59
7.2.310.0060.00916.56
7.2.300.0060.00916.48
7.2.290.0000.01716.32

preferences:
51.77 ms | 401 KiB | 5 Q