3v4l.org

run code in 500+ PHP versions simultaneously
<?php trait Example { abstract public string $property { get; } } class ExampleImpl { use Example; public function __construct( public readonly string $property, ) {} }

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.110.0410.01017.68
8.4.100.0410.00917.59
8.4.90.0370.00617.50
8.4.80.0400.00917.51
8.4.70.0380.00817.75
8.4.60.0340.00617.69
8.4.50.0400.00817.67
8.4.40.0450.00717.54
8.4.30.0440.00817.36
8.4.20.0370.00617.61
8.4.10.0410.01117.49
8.3.240.0260.00616.58
8.3.230.0300.00516.42
8.3.220.0370.01016.55
8.3.210.0380.01016.20
8.3.200.0240.00716.57
8.3.190.0280.00516.48
8.3.180.0370.00716.42
8.3.170.0370.00716.41
8.3.160.0430.01116.27
8.3.150.0350.00816.38
8.3.140.0230.00616.43
8.3.130.0260.00516.41
8.3.120.0280.00616.46
8.3.110.0270.00716.26
8.3.100.0380.00916.32
8.3.90.0380.00516.53
8.3.80.0390.00716.32
8.3.70.0390.01216.51
8.3.60.0410.01016.45
8.3.50.0420.00916.48
8.3.40.0410.00817.39
8.3.30.0370.00717.35
8.3.20.0350.00817.34
8.3.10.0250.00817.30
8.3.00.0280.00617.31
8.2.290.0370.00816.43
8.2.280.0330.00616.64
8.2.270.0330.00616.55
8.2.260.0340.00816.42
8.2.250.0320.00716.32
8.2.240.0260.00716.67
8.2.230.0300.01216.57
8.2.220.0310.00716.41
8.2.210.0290.00616.54
8.2.200.0300.00516.33
8.2.190.0320.00816.30
8.2.180.0320.01016.51
8.2.170.0400.00717.43
8.2.160.0390.00817.37
8.2.150.0340.00917.23
8.2.140.0290.00517.12
8.2.130.0240.00517.43
8.2.120.0190.00117.39
8.2.110.0310.00517.35
8.2.100.0210.00717.44
8.2.90.0250.00617.46
8.2.80.0260.00617.44
8.2.70.0210.00717.37
8.2.60.0310.00617.19
8.2.50.0280.00717.38
8.2.40.0240.00417.52
8.2.30.0220.00717.37
8.2.20.0240.00817.28
8.2.10.0250.00817.28
8.2.00.0340.01017.33

preferences:
52.12 ms | 757 KiB | 4 Q