3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Constr { public function __construct(string $a); public function method(string $b): void; } interface Constr2 { public function __construct(int $a); } class Foo implements Constr,Constr2 { public function __construct(string $a) { } public function method(string $b): void { } }

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.130.0140.00617.88
8.4.120.0110.00920.40
8.4.110.0080.01222.68
8.4.100.0100.01017.54
8.4.90.0040.00520.56
8.4.80.0100.01018.97
8.4.70.0050.00319.10
8.4.60.0140.00518.98
8.4.50.0120.00817.54
8.4.40.0350.01417.43
8.4.30.0240.00917.44
8.4.20.0350.01317.61
8.4.10.0310.01217.42
8.3.260.0110.00716.58
8.3.250.0120.00619.03
8.3.240.0120.00616.75
8.3.230.0050.00416.93
8.3.220.0060.00219.13
8.3.210.0120.00718.83
8.3.200.0040.00516.67
8.3.190.0090.01016.76
8.3.180.0090.00916.55
8.3.170.0310.01416.74
8.3.160.0510.00316.54
8.3.150.0440.00616.35
8.3.140.0390.01016.74
8.3.130.0210.00516.50
8.3.120.0150.00316.66
8.3.110.0190.01116.75
8.3.100.0370.01016.68
8.3.90.0360.00916.29
8.3.80.0410.00316.51
8.3.70.0250.02016.25
8.3.60.0340.01216.35
8.3.50.0410.00716.29
8.3.40.0340.01017.32
8.3.30.0330.00417.27
8.3.20.0320.00417.45
8.3.10.0280.00717.45
8.3.00.0080.01317.27
8.2.290.0130.00616.58
8.2.280.0080.00916.35
8.2.270.0330.01016.42
8.2.260.0270.01016.50
8.2.250.0270.00816.63
8.2.240.0230.01216.72
8.2.230.0230.01516.38
8.2.220.0320.00716.36
8.2.210.0310.00615.99
8.2.200.0350.00316.48
8.2.190.0290.00916.26
8.2.180.0310.00616.60
8.2.170.0190.01517.77
8.2.160.0260.00917.61
8.2.150.0310.01017.64
8.2.140.0290.01817.30
8.2.130.0370.00417.47
8.2.120.0340.00617.54
8.2.110.0250.00717.46
8.2.100.0230.00017.43
8.2.90.0140.00317.64
8.2.80.0170.00017.31
8.2.70.0170.00017.22
8.2.60.0170.00017.29
8.2.50.0250.00417.34
8.2.40.0280.01017.39
8.2.30.0400.00017.12
8.2.20.0290.00717.32
8.2.10.0290.01317.28
8.2.00.0290.00717.45
8.1.320.0110.00916.05

preferences:
43.05 ms | 403 KiB | 5 Q