3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { private $value; } $ref = new ReflectionProperty(Test::class, 'value'); echo ($ref); var_dump($ref->hasDefaultValue(), $ref->getDefaultValue());

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.0040.01118.53
8.3.50.0100.00716.28
8.3.40.0130.00618.84
8.3.30.0110.00318.43
8.3.20.0050.00224.18
8.3.10.0050.00324.66
8.3.00.0000.00826.16
8.2.180.0120.00625.92
8.2.170.0080.00618.95
8.2.160.0130.00322.96
8.2.150.0050.00325.66
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00426.35
8.2.110.0000.01020.97
8.2.100.0120.00017.84
8.2.90.0050.00318.18
8.2.80.0050.00320.54
8.2.70.0040.00417.63
8.2.60.0040.00417.93
8.2.50.0050.00318.05
8.2.40.0030.00518.16
8.2.30.0050.00218.11
8.2.20.0080.00018.15
8.2.10.0000.00819.23
8.2.00.0020.00519.21
8.1.280.0100.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0060.00322.20
8.1.230.0070.00420.89
8.1.220.0000.00817.74
8.1.210.0050.00318.96
8.1.200.0030.00617.11
8.1.190.0040.00717.10
8.1.180.0000.00818.10
8.1.170.0050.00218.97
8.1.160.0000.00818.86
8.1.150.0040.00418.72
8.1.140.0000.00818.82
8.1.130.0030.00620.11
8.1.120.0050.00217.44
8.1.110.0040.00417.35
8.1.100.0030.00317.27
8.1.90.0040.00417.28
8.1.80.0020.00517.37
8.1.70.0030.00317.46
8.1.60.0070.00017.40
8.1.50.0040.00417.46
8.1.40.0030.00617.48
8.1.30.0040.00417.58
8.1.20.0040.00417.54
8.1.10.0030.00517.45
8.1.00.0040.00417.47
8.0.300.0000.00720.16
8.0.290.0050.00316.88
8.0.280.0000.00718.43
8.0.270.0000.00717.91
8.0.260.0030.00318.48
8.0.250.0040.00416.84
8.0.240.0060.00016.88
8.0.230.0030.00316.79
8.0.220.0000.00716.85
8.0.210.0070.00016.70
8.0.200.0000.00716.76
8.0.190.0000.00816.85
8.0.180.0040.00316.83
8.0.170.0050.00316.83
8.0.160.0000.00816.85
8.0.150.0040.00416.76
8.0.140.0000.00716.66
8.0.130.0000.00613.28
8.0.120.0040.00416.77
8.0.110.0080.00016.64
8.0.100.0000.00716.60
8.0.90.0030.00416.62
8.0.80.0070.01016.82
8.0.70.0000.00716.75
8.0.60.0030.00516.78
8.0.50.0000.00716.69
8.0.30.0060.00916.87
8.0.20.0090.01016.93
8.0.10.0040.00417.05
8.0.00.0100.01017.86
7.4.330.0050.00015.55
7.4.320.0070.00016.47
7.4.300.0030.00316.43
7.4.290.0080.00016.53
7.4.280.0040.00416.59
7.4.270.0080.00016.60
7.4.260.0000.00513.28
7.4.250.0070.00016.55
7.4.240.0030.00516.46
7.4.230.0030.00516.66
7.4.220.0050.00216.43
7.4.210.0080.00716.51
7.4.200.0070.00016.55
7.4.140.0060.01217.86
7.4.130.0100.01017.86
7.4.120.0080.01217.86
7.4.110.0060.01117.86
7.4.100.0090.00917.86
7.4.90.0040.01517.86
7.4.80.0150.00417.86
7.4.70.0150.00617.86
7.4.60.0170.00617.86
7.4.50.0110.00717.86
7.4.40.0090.00917.86
7.4.30.0070.01017.86
7.4.20.0110.00617.86
7.4.10.0100.00717.86
7.4.00.0170.00017.86
7.3.330.0000.00716.30
7.3.320.0030.00313.39
7.3.310.0030.00316.23
7.3.300.0040.00416.33
7.3.290.0070.01116.39
7.3.260.0090.00917.86
7.3.250.0130.00517.86
7.3.240.0100.01017.86
7.3.230.0110.00717.86
7.3.220.0040.01617.86
7.3.210.0090.00617.86
7.3.200.0070.01117.86
7.3.190.0090.01417.86
7.3.180.0130.00317.86
7.3.170.0030.01617.86
7.3.160.0060.01417.86
7.3.150.0070.01117.86
7.3.140.0170.00017.86
7.3.130.0090.00917.86
7.3.120.0150.00417.86
7.3.110.0140.00717.86
7.3.100.0110.00717.86
7.3.90.0120.00917.86
7.3.80.0140.00617.86
7.3.70.0170.00817.86
7.3.60.0050.01717.86
7.3.50.0090.01217.86
7.3.40.0160.00317.86
7.3.30.0150.00317.86
7.3.20.0110.00617.86
7.3.10.0030.01617.86
7.3.00.0150.00317.86

preferences:
71.9 ms | 400 KiB | 5 Q