3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomethingMagicAndTerriblyUgly { public $foo = null; private $bar = null; } var_dump((new ReflectionClass(SomethingMagicAndTerriblyUgly::class))->hasProperty('foo')); var_dump((new ReflectionClass(SomethingMagicAndTerriblyUgly::class))->hasProperty('bar')); var_dump((new ReflectionClass(SomethingMagicAndTerriblyUgly::class))->hasProperty('baz'));

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.0090.00516.50
8.3.50.0070.00716.21
8.3.40.0150.00020.73
8.3.30.0100.00718.58
8.3.20.0070.01124.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.180.0070.00725.92
8.2.170.0110.00318.82
8.2.160.0200.00022.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0020.00526.35
8.2.110.0070.01022.08
8.2.100.0090.00317.59
8.2.90.0040.00418.97
8.2.80.0000.00917.97
8.2.70.0090.00317.37
8.2.60.0000.00817.91
8.2.50.0030.00618.07
8.2.40.0040.00418.09
8.2.30.0050.00217.89
8.2.20.0080.00017.99
8.2.10.0000.00819.12
8.2.00.0000.00719.02
8.1.280.0030.01025.92
8.1.270.0050.00323.99
8.1.260.0000.00728.09
8.1.250.0080.00028.09
8.1.240.0060.00322.42
8.1.230.0000.01117.64
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0030.00517.10
8.1.180.0050.00318.10
8.1.170.0000.00818.54
8.1.160.0000.00718.80
8.1.150.0040.00418.72
8.1.140.0080.00018.69
8.1.130.0030.00617.24
8.1.120.0050.00217.35
8.1.110.0030.00617.23
8.1.100.0080.00017.34
8.1.90.0000.00717.20
8.1.80.0000.00917.34
8.1.70.0000.00817.21
8.1.60.0050.00517.47
8.1.50.0000.00817.43
8.1.40.0000.00817.41
8.1.30.0000.00817.44
8.1.20.0000.00717.38
8.1.10.0000.00817.42
8.1.00.0040.00417.38
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00718.29
8.0.270.0030.00317.94
8.0.260.0000.00616.66
8.0.250.0070.00016.90
8.0.240.0060.00016.78
8.0.230.0040.00416.81
8.0.220.0000.00716.75
8.0.210.0070.00016.80
8.0.200.0000.00816.84
8.0.190.0050.00316.84
8.0.180.0040.00416.80
8.0.170.0000.00816.67
8.0.160.0040.00416.65
8.0.150.0030.00316.61
8.0.140.0040.00416.60
8.0.130.0030.00313.18
8.0.120.0040.00416.79
8.0.110.0040.00416.78
8.0.100.0040.00416.72
8.0.90.0070.00016.82
8.0.80.0070.00716.71
8.0.70.0050.00316.63
8.0.60.0000.00816.61
8.0.50.0040.00416.57
8.0.30.0120.00617.04
8.0.20.0090.00916.80
8.0.10.0000.00716.80
8.0.00.0140.00516.64
7.4.330.0000.00515.55
7.4.320.0000.00716.42
7.4.300.0030.00316.23
7.4.290.0040.00416.29
7.4.280.0070.00016.45
7.4.270.0080.00016.46
7.4.260.0000.00513.19
7.4.250.0000.00716.40
7.4.240.0000.00816.41
7.4.230.0000.00716.37
7.4.220.0020.00516.16
7.4.210.0090.00716.42
7.4.200.0000.00716.56
7.4.130.0100.00816.32
7.4.120.0110.00716.37
7.4.110.0110.00716.30
7.4.100.0070.01116.12
7.4.90.0150.00616.51
7.4.80.0130.01016.15
7.4.70.0100.01016.28
7.4.60.0140.00716.39
7.4.50.0100.01516.24
7.4.40.0030.01716.29
7.4.30.0100.01316.01
7.4.20.0110.00716.19
7.4.10.0090.01516.41
7.4.00.0070.01016.14
7.3.330.0000.00716.21
7.3.320.0030.00312.95
7.3.310.0030.00315.99
7.3.300.0030.00516.19
7.3.290.0110.00816.20
7.3.280.0110.00416.03
7.3.260.0160.00616.32
7.3.230.0070.01115.97
7.3.220.0160.00316.25
7.3.210.0160.00316.32
7.3.200.0100.01316.16
7.3.190.0100.00716.18
7.3.180.0110.00716.20
7.3.170.0170.00316.23
7.3.160.0110.00716.18
7.3.150.0090.01116.07
7.3.140.0100.00716.14
7.3.130.0100.00716.11
7.3.120.0040.01416.14
7.3.110.0190.00616.40
7.3.100.0130.00716.23
7.3.90.0100.00716.19
7.3.80.0080.00816.23
7.3.70.0170.00316.16
7.3.60.0060.01316.08
7.3.50.0060.01116.14
7.3.40.0070.01316.25
7.3.30.0030.01316.21
7.3.20.0250.01016.27
7.3.10.0090.00916.35
7.3.00.0100.00716.17
7.2.330.0160.00616.17
7.2.320.0100.01316.48
7.2.310.0100.01016.34
7.2.300.0060.01316.27
7.2.290.0170.00716.46
7.2.280.0070.01116.24
7.2.270.0030.01516.48
7.2.260.0030.01716.30
7.2.250.0110.00716.17
7.2.240.0080.01216.59
7.2.230.0060.01316.32
7.2.220.0140.00716.63
7.2.210.0120.00916.60
7.2.200.0190.03016.35
7.2.190.0030.01716.59
7.2.180.0150.00616.42
7.2.170.0060.01516.46
7.2.160.0070.01116.44
7.2.150.0040.01416.43
7.2.140.0070.01016.48
7.2.130.0090.00916.59
7.2.120.0110.00816.29
7.2.110.0090.00916.25
7.2.100.0060.01216.54
7.2.90.0030.01616.45
7.2.80.0130.00716.45
7.2.70.0130.00616.38
7.2.60.0150.00416.39
7.2.50.0060.01216.33
7.2.40.0120.00616.46
7.2.30.0060.01316.36
7.2.20.0080.01116.29
7.2.10.0120.00616.46
7.2.00.0130.00716.32

preferences:
62.22 ms | 400 KiB | 5 Q