3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait A { private string $prop; } class B { use A; private $prop; }

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.4.120.0120.00820.75
8.4.110.0050.00318.74
8.4.100.0140.00617.79
8.4.90.0150.00422.46
8.4.80.0050.00717.93
8.4.70.0110.00918.18
8.4.60.0120.00918.70
8.4.50.0100.00920.09
8.4.40.0100.01018.68
8.4.30.0130.00620.21
8.4.20.0160.00621.44
8.4.10.0090.00019.37
8.3.250.0100.00919.01
8.3.240.0120.00816.67
8.3.230.0140.00516.78
8.3.220.0120.00718.84
8.3.210.0100.00816.54
8.3.200.0050.00416.93
8.3.190.0080.01016.95
8.3.180.0120.00618.57
8.3.170.0140.00316.97
8.3.160.0090.00916.69
8.3.150.0090.00917.16
8.3.140.0110.00416.53
8.3.130.0050.00518.48
8.3.120.0070.00316.72
8.3.110.0030.00616.84
8.3.100.0070.00416.64
8.3.90.0030.00716.81
8.3.80.0080.00016.57
8.3.70.0120.00016.55
8.3.60.0170.00016.18
8.3.50.0090.00916.77
8.3.40.0090.00516.77
8.3.30.0130.00016.82
8.3.20.0050.00916.98
8.3.10.0110.00416.54
8.3.00.0070.00318.83
8.2.290.0050.00318.77
8.2.280.0050.00418.12
8.2.270.0140.00418.79
8.2.260.0100.00717.22
8.2.250.0110.00316.18
8.2.240.0130.00316.31
8.2.230.0130.00016.18
8.2.220.0070.00716.18
8.2.210.0100.00716.19
8.2.200.0100.00516.18
8.2.190.0050.00916.18
8.2.180.0100.00316.19
8.2.170.0150.00017.41
8.2.160.0120.00617.25
8.2.150.0130.00317.19
8.2.140.0170.00016.93
8.2.130.0110.00617.34
8.2.120.0100.00517.30
8.2.110.0090.00517.38
8.2.100.0110.00517.04
8.2.90.0140.00317.42
8.2.80.0140.00016.94
8.2.70.0150.00017.10
8.2.60.0120.00317.15
8.2.50.0130.00316.61
8.2.40.0090.00517.14
8.2.30.0100.00516.93
8.2.20.0150.00416.57
8.2.10.0100.00317.04
8.2.00.0140.00017.22
8.1.330.0110.00916.21
8.1.320.0110.00816.24
8.1.310.0090.00916.51
8.1.300.0090.00616.18
8.1.290.0100.00516.18
8.1.280.0100.00516.18
8.1.270.0110.00416.85
8.1.260.0060.00616.89
8.1.250.0160.00016.48
8.1.240.0100.00516.25
8.1.230.0110.00416.90
8.1.220.0000.01516.84
8.1.210.0110.00216.73
8.1.200.0140.00216.83
8.1.190.0100.00516.97
8.1.180.0150.00016.83
8.1.170.0170.00016.91
8.1.160.0150.00316.52
8.1.150.0100.00716.60
8.1.140.0070.00716.71
8.1.130.0120.00416.78
8.1.120.0150.00016.82
8.1.110.0040.01116.96
8.1.100.0090.00616.76
8.1.90.0100.00516.96
8.1.80.0090.00516.91
8.1.70.0120.00416.68
8.1.60.0130.00317.05
8.1.50.0110.00516.58
8.1.40.0100.00517.18
8.1.30.0120.00217.48
8.1.20.0000.01517.05
8.1.10.0120.00316.68
8.1.00.0140.00016.34

preferences:
26.59 ms | 403 KiB | 5 Q