3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { public function __toString(): string; } enum E implements I { // public function __toString(): 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.0130.00919.88
8.4.150.0020.00014.05
8.4.140.0120.01017.47
8.4.130.0090.00618.40
8.4.120.0070.00320.43
8.4.110.0110.00919.09
8.4.100.0140.00617.86
8.4.90.0110.00820.41
8.4.80.0120.00719.08
8.4.70.0120.00818.73
8.4.60.0080.00220.40
8.4.50.0120.00920.13
8.4.40.0100.01017.88
8.4.30.0180.00020.54
8.4.20.0150.00619.57
8.4.10.0060.00919.49
8.3.280.0080.01118.44
8.3.270.0150.00816.73
8.3.260.0100.00916.62
8.3.250.0080.01116.89
8.3.240.0110.00716.54
8.3.230.0110.00916.64
8.3.220.0130.00619.04
8.3.210.0050.00216.54
8.3.200.0060.00316.70
8.3.190.0090.00917.26
8.3.180.0100.01018.78
8.3.170.0030.01417.28
8.3.160.0190.00018.47
8.3.150.0060.01216.91
8.3.140.0030.01218.48
8.3.130.0060.00616.63
8.3.120.0150.01116.05
8.3.110.0260.00018.27
8.3.100.0160.01016.42
8.3.90.0250.00016.55
8.3.80.0220.00416.27
8.3.70.0240.00216.42
8.3.60.0220.00416.48
8.3.50.0220.00416.65
8.3.40.0180.00017.09
8.3.30.0210.00018.90
8.3.20.0110.00917.24
8.3.10.0190.00317.47
8.3.00.0150.00617.17
8.2.290.0100.01017.27
8.2.280.0120.01220.23
8.2.270.0130.00716.81
8.2.260.0040.00416.88
8.2.250.0140.00716.70
8.2.240.0180.00416.42
8.2.230.0160.00616.05
8.2.220.0180.00416.47
8.2.210.0180.00416.15
8.2.200.0180.00416.15
8.2.190.0190.00316.41
8.2.180.0140.01016.82
8.2.170.0260.00519.25
8.2.160.0220.00017.31
8.2.150.0180.00519.10
8.2.140.0120.01217.25
8.2.130.0130.00917.19
8.2.120.0180.00517.36
8.2.110.0210.00317.39
8.2.100.0240.00017.00
8.2.90.0250.00017.48
8.2.80.0140.00816.95
8.2.70.0100.01017.03
8.2.60.0170.00417.32
8.2.50.0220.00017.27
8.2.40.0170.00017.30
8.2.30.0160.00317.21
8.2.20.0130.00717.17
8.2.10.0120.00818.92
8.2.00.0150.00517.18
8.1.330.0110.00916.04
8.1.320.0060.00516.23
8.1.310.0080.00816.32
8.1.300.0100.01016.07
8.1.290.0110.00817.59
8.1.280.0210.00016.08
8.1.270.0130.00717.18
8.1.260.0120.00817.16
8.1.250.0200.00017.20
8.1.240.0040.01316.96
8.1.230.0090.00916.99
8.1.220.0090.00917.13
8.1.210.0100.00717.03
8.1.200.0180.00016.98
8.1.190.0150.00416.78
8.1.180.0130.00416.64
8.1.170.0140.00517.00
8.1.160.0120.00617.11
8.1.150.0180.00417.09
8.1.140.0110.00818.94
8.1.130.0180.00416.88
8.1.120.0160.00516.97
8.1.110.0160.00318.80
8.1.100.0110.00717.11
8.1.90.0150.00317.27
8.1.80.0160.00317.00
8.1.70.0110.00816.82
8.1.60.0170.00419.18
8.1.50.0200.00017.19
8.1.40.0160.00617.26
8.1.30.0220.00017.15
8.1.20.0180.00317.21
8.1.10.0160.00416.94
8.1.00.0120.00816.92

preferences:
32.87 ms | 403 KiB | 5 Q