3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { public function myToString(): string; } enum E implements I { // public function myToString(): string {} }

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.5.00.0100.01219.98
8.4.150.0070.00516.83
8.4.140.0140.00617.45
8.4.130.0100.00918.05
8.4.120.0130.00620.57
8.4.110.0120.00919.07
8.4.100.0090.01117.62
8.4.90.0100.01017.54
8.4.80.0120.00817.89
8.4.70.0130.00817.90
8.4.60.0090.01219.42
8.4.50.0110.00920.23
8.4.40.0060.00317.93
8.4.30.0150.00320.20
8.4.20.0030.01419.43
8.4.10.0090.00919.37
8.3.280.0060.00516.13
8.3.270.0140.00616.55
8.3.260.0120.00716.77
8.3.250.0100.00818.64
8.3.240.0110.00916.68
8.3.230.0110.00816.63
8.3.220.0110.00617.41
8.3.210.0100.00916.72
8.3.200.0110.00318.85
8.3.190.0080.00917.22
8.3.180.0120.00619.05
8.3.170.0040.01417.13
8.3.160.0150.00318.43
8.3.150.0140.00717.13
8.3.140.0060.01216.73
8.3.130.0110.00018.57
8.3.120.0160.00416.45
8.3.110.0170.00316.45
8.3.100.0200.00418.33
8.3.90.0210.00316.55
8.3.80.0210.00318.29
8.3.70.0190.00416.90
8.3.60.0140.01116.57
8.3.50.0250.00016.17
8.3.40.0200.00318.66
8.3.30.0120.00617.21
8.3.20.0180.00017.07
8.3.10.0090.00917.21
8.3.00.0080.00318.80
8.2.290.0100.00920.55
8.2.280.0130.00616.64
8.2.270.0100.00016.70
8.2.260.0110.00716.87
8.2.250.0170.00316.41
8.2.240.0120.00816.22
8.2.230.0150.00716.12
8.2.220.0080.01116.23
8.2.210.0160.00316.05
8.2.200.0180.00316.28
8.2.190.0080.01116.43
8.2.180.0120.00816.30
8.2.170.0160.00417.52
8.2.160.0170.00417.11
8.2.150.0100.01017.15
8.2.140.0180.00416.96
8.2.130.0180.00418.96
8.2.120.0150.00717.29
8.2.110.0180.00417.25
8.2.100.0210.00017.18
8.2.90.0180.00317.20
8.2.80.0200.00017.13
8.2.70.0130.00717.45
8.2.60.0120.00917.16
8.2.50.0170.00417.22
8.2.40.0190.00017.36
8.2.30.0210.00017.49
8.2.20.0130.00817.21
8.2.10.0210.00017.18
8.2.00.0160.00417.39
8.1.330.0110.00716.38
8.1.320.0130.00918.02
8.1.310.0090.00016.78
8.1.300.0140.00616.05
8.1.290.0180.00416.05
8.1.280.0130.00817.69
8.1.270.0130.00917.09
8.1.260.0210.00017.21
8.1.250.0100.01017.33
8.1.240.0180.00017.30
8.1.230.0150.00417.12
8.1.220.0140.00516.88
8.1.210.0190.00017.14
8.1.200.0190.00017.27
8.1.190.0120.00617.02
8.1.180.0140.00516.96
8.1.170.0100.00717.12
8.1.160.0130.00417.00
8.1.150.0110.00717.02
8.1.140.0180.00017.31
8.1.130.0180.00017.18
8.1.120.0100.00817.04
8.1.110.0120.00617.22
8.1.100.0110.00717.36
8.1.90.0180.00017.29
8.1.80.0180.00017.19
8.1.70.0230.00017.18
8.1.60.0180.00417.32
8.1.50.0120.00817.36
8.1.40.0210.00017.23
8.1.30.0220.00417.38
8.1.20.0220.00017.46
8.1.10.0140.00617.35
8.1.00.0130.00717.02

preferences:
30.58 ms | 403 KiB | 5 Q