3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Boo { protected self $coo; } class Foo { use Boo; } $rc = new ReflectionClass(Foo::class); $rpp = $rc->getProperty('coo'); var_dump($rpp->getType()->getName());

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.70.0110.01116.58
8.3.60.0140.00716.50
8.3.50.0110.00419.92
8.3.40.0000.01420.06
8.3.30.0040.01118.59
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.190.0090.01218.18
8.2.180.0080.00825.92
8.2.170.0110.00418.96
8.2.160.0040.00922.96
8.2.150.0030.00525.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.64
8.2.110.0070.00319.32
8.2.100.0120.00317.70
8.2.90.0030.00517.75
8.2.80.0000.00818.80
8.2.70.0000.00817.63
8.2.60.0040.00417.63
8.2.50.0040.00417.98
8.2.40.0040.00418.16
8.2.30.0070.00017.97
8.2.20.0000.00719.25
8.2.10.0040.00418.05
8.2.00.0050.00219.35
8.1.280.0130.00625.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00320.95
8.1.230.0090.00320.74
8.1.220.0040.00418.64
8.1.210.0050.00318.77
8.1.200.0050.00317.35
8.1.190.0000.00817.23
8.1.180.0000.00918.10
8.1.170.0030.00517.62
8.1.160.0030.00619.00
8.1.150.0000.00718.70
8.1.140.0000.00717.39
8.1.130.0040.00419.15
8.1.120.0070.00017.51
8.1.110.0040.00417.50
8.1.100.0080.00417.34
8.1.90.0020.00617.38
8.1.80.0050.00717.34
8.1.70.0100.00317.38
8.1.60.0080.00317.59
8.1.50.0130.00017.42
8.1.40.0100.01117.45
8.1.30.0040.00717.56
8.1.20.0040.00717.57
8.1.10.0110.00517.48
8.1.00.0150.00317.43
8.0.300.0030.00518.77
8.0.290.0070.00016.63
8.0.280.0070.00018.40
8.0.270.0080.00016.84
8.0.260.0030.00316.75
8.0.250.0030.00316.88
8.0.240.0080.00016.91
8.0.230.0080.00616.87
8.0.220.0120.00416.81
8.0.210.0100.00616.85
8.0.200.0080.00916.83
8.0.190.0060.00916.82
8.0.180.0140.00316.83
8.0.170.0120.00416.87
8.0.160.0130.00316.82
8.0.150.0110.00516.86
8.0.140.0110.00416.84
8.0.130.0070.00916.84
8.0.120.0130.00416.81
8.0.110.0090.00616.80
8.0.100.0100.00616.75
8.0.90.0100.00516.80
8.0.80.0140.00216.86
8.0.70.0140.00116.71
8.0.60.0030.01216.83
8.0.50.0130.00216.85
8.0.30.0130.00216.81
8.0.20.0110.00516.95
8.0.10.0120.00416.91
7.4.330.0020.00215.55
7.4.320.0000.00716.52
7.4.300.0080.00516.51
7.4.290.0140.00316.58
7.4.280.0140.00416.49
7.4.270.0090.00416.59
7.4.260.0140.00416.36
7.4.250.0120.00616.42
7.4.240.0130.00416.53
7.4.230.0130.00516.46
7.4.220.0110.00516.59
7.4.210.0110.00416.50
7.4.200.0120.00416.53
7.4.190.0120.00316.53
7.4.180.0110.00516.48
7.4.160.0130.00316.54
7.4.150.0110.00516.47
7.4.140.0090.00716.39
7.4.130.0130.00216.37
7.4.120.0120.00316.34
7.4.110.0130.00216.31
7.4.100.0110.00416.53
7.4.90.0140.00116.37
7.4.80.0130.00216.37
7.4.70.0080.00616.36
7.4.60.0080.00616.40
7.4.50.0120.00316.36
7.4.40.0070.00516.39
7.4.30.0030.00616.39
7.4.20.0060.00116.39
7.4.10.0040.00416.33
7.4.00.0070.00316.43

preferences:
59.32 ms | 401 KiB | 5 Q