3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface i { function foo(self $i); } class x implements i { //Declaration of x::foo(x $i) must be compatible with i::foo(i $i) function foo(self $i) {} // OK function foo(i $i) {} }

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.80.0370.00718.79
8.4.70.0330.00917.79
8.4.60.0430.01117.81
8.4.50.0440.00717.61
8.4.40.0450.00917.64
8.4.30.0450.01017.49
8.4.20.0420.01117.55
8.4.10.0440.01117.66
8.3.220.0250.01118.54
8.3.210.0330.00916.44
8.3.200.0300.00416.34
8.3.190.0340.00616.80
8.3.180.0230.00316.70
8.3.170.0390.01016.13
8.3.160.0450.00716.33
8.3.150.0400.00816.29
8.3.140.0430.00916.50
8.3.130.0270.00316.75
8.3.120.0140.00616.47
8.3.110.0330.01316.30
8.3.100.0470.00916.32
8.3.90.0420.00916.23
8.3.80.0270.00916.66
8.3.70.0410.00816.58
8.3.60.0490.00316.35
8.3.50.0390.01116.38
8.3.40.0410.00817.42
8.3.30.0310.00917.32
8.3.20.0310.00917.13
8.3.10.0320.00817.31
8.3.00.0160.00617.29
8.2.280.0280.00916.56
8.2.270.0230.00716.48
8.2.260.0290.00916.11
8.2.250.0310.00616.25
8.2.240.0290.00716.29
8.2.230.0280.00816.31
8.2.220.0360.00616.07
8.2.210.0170.00316.31
8.2.200.0220.00516.43
8.2.190.0200.00616.45
8.2.180.0230.00516.53
8.2.170.0210.00617.54
8.2.160.0230.00617.49
8.2.150.0350.01017.30
8.2.140.0370.00817.51
8.2.130.0330.00717.52
8.2.120.0170.00417.23
8.2.110.0250.00817.25
8.2.100.0340.01017.23
8.2.90.0340.00617.69
8.2.80.0370.01217.14
8.2.70.0330.01017.46
8.2.60.0250.00117.50
8.2.50.0280.01217.08
8.2.40.0340.00717.40
8.2.30.0440.00717.24
8.2.20.0390.00917.18
8.2.10.0180.00317.14
8.2.00.0240.00617.36

preferences:
187.66 ms | 1340 KiB | 7 Q