3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IFoo { public function foo(); } interface IBar extends IFoo { public function bar(); } function () implements IBar {};

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)
7.0.50.0130.05720.29
7.0.40.0130.05320.30
7.0.30.0130.06020.19
7.0.20.0330.07020.29
7.0.10.0270.06020.25
7.0.00.0130.06320.25
5.6.200.0330.05021.05
5.6.190.0230.04721.00
5.6.180.0270.04321.03
5.6.170.0230.05321.03
5.6.160.0570.03721.12
5.6.150.0530.04321.18
5.6.140.0230.05721.02
5.6.130.0230.05021.20
5.6.120.0330.04321.05
5.6.110.0370.06321.11
5.6.100.0230.05021.11
5.6.90.0130.06321.04
5.6.80.0130.06720.50
5.6.70.0130.05320.43
5.6.60.0170.05020.36
5.6.50.0170.05020.48
5.6.40.0170.05020.53
5.6.30.0130.06020.32
5.6.20.0100.06020.36
5.6.10.0030.06320.38
5.6.00.0230.05320.46
5.5.340.0130.05720.79
5.5.330.0130.05320.96
5.5.320.0200.05020.83
5.5.310.0100.06720.80
5.5.300.0130.05320.86
5.5.290.0170.05320.76
5.5.280.0400.05320.76
5.5.270.0470.04720.91
5.5.260.0170.06720.79
5.5.250.0130.05720.55
5.5.240.0200.04720.21
5.5.230.0130.05320.37
5.5.220.0170.05020.20
5.5.210.0170.05020.23
5.5.200.0230.05020.31
5.5.190.0170.05320.31
5.5.180.0270.04720.16
5.5.160.0400.04720.17
5.5.150.0300.05320.22
5.5.140.0270.04320.37
5.5.130.0200.06020.17
5.5.120.0300.04720.34
5.5.110.0430.05020.13
5.5.100.0330.04720.27
5.5.90.0230.04320.10
5.5.80.0270.05320.19
5.5.70.0300.05320.06
5.5.60.0300.04720.06
5.5.50.0370.06320.13
5.5.40.0200.04720.07
5.5.30.0230.05320.11
5.5.20.0200.05020.09
5.5.10.0230.05720.06
5.5.00.0270.04720.03

preferences:
140.37 ms | 1394 KiB | 7 Q