3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IString extends IAny{} interface IAny extends IString{} class String implements IString{} class Any implements IAny{}

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)
5.4.280.0630.05319.13
5.4.270.0330.04719.31
5.4.260.0300.04018.86
5.4.250.0270.04019.15
5.4.240.0370.04019.04
5.4.230.0470.05719.30
5.4.220.0330.05018.94
5.4.210.0230.06019.30
5.4.200.0200.05019.09
5.4.190.0270.04319.30
5.4.180.0330.05319.21
5.4.170.0330.07318.86
5.4.160.0370.04718.96
5.4.150.0330.07019.07
5.4.140.0200.04016.43
5.4.130.0230.05316.55
5.4.120.0330.05016.68
5.4.110.0330.06316.31
5.4.100.0400.06316.59
5.4.90.0330.06716.45
5.4.80.0330.06016.31
5.4.70.0230.03316.57
5.4.60.0300.03016.39
5.4.50.0330.03316.54
5.4.40.0300.06316.43
5.4.30.0370.07316.24
5.4.20.0230.06316.61
5.4.10.0200.04716.55
5.4.00.0270.06315.90
5.3.280.0270.05314.56
5.3.270.0270.06014.62
5.3.260.0330.06014.51
5.3.250.0230.04714.82
5.3.240.0300.05714.71
5.3.230.0270.04014.77
5.3.220.0300.03714.64
5.3.210.0400.06314.46
5.3.200.0270.04014.57
5.3.190.0230.04314.67
5.3.180.0400.03714.56
5.3.170.0300.04314.46
5.3.160.0230.07714.55
5.3.150.0330.03714.55
5.3.140.0270.07714.55
5.3.130.0330.07014.44
5.3.120.0400.05314.44
5.3.110.0270.04014.51
5.3.100.0170.04014.27
5.3.90.0370.05014.09
5.3.80.0270.04313.91
5.3.70.0300.06014.13
5.3.60.0200.05314.09
5.3.50.0400.05013.85
5.3.40.0330.05714.16
5.3.30.0270.04013.83
5.3.20.0330.05313.84
5.3.10.0270.07313.56
5.3.00.0270.07013.64
5.2.170.0230.03311.07
5.2.160.0330.03011.22
5.2.150.0200.03311.26
5.2.140.0370.04311.14
5.2.130.0300.05311.03
5.2.120.0170.06311.15
5.2.110.0300.03711.01
5.2.100.0230.06011.07
5.2.90.0230.04711.04
5.2.80.0270.06011.00
5.2.70.0270.05711.05
5.2.60.0200.03710.97
5.2.50.0230.03710.96
5.2.40.0170.04311.07
5.2.30.0200.06010.88
5.2.20.0230.06011.07
5.2.10.0200.05310.91
5.2.00.0200.05710.63
5.1.60.0300.03710.14
5.1.50.0330.0509.91
5.1.40.0230.05010.09
5.1.30.0270.04010.31
5.1.20.0200.05710.43
5.1.10.0130.03010.21
5.1.00.0170.0279.95
5.0.50.0070.0379.57
5.0.40.0070.0309.57
5.0.30.0100.0679.57
5.0.20.0100.0279.57
5.0.10.0130.0239.57
5.0.00.0100.0409.57
4.4.90.0100.0179.57
4.4.80.0130.0139.57
4.4.70.0100.0379.57
4.4.60.0100.0239.57
4.4.50.0130.0339.57
4.4.40.0100.0309.57
4.4.30.0100.0339.57
4.4.20.0070.0309.57
4.4.10.0200.0239.57
4.4.00.0070.0439.57
4.3.110.0100.0339.57
4.3.100.0100.0209.57
4.3.90.0070.0279.57
4.3.80.0070.0309.57
4.3.70.0130.0179.57
4.3.60.0130.0239.57
4.3.50.0100.0209.57
4.3.40.0070.0539.57
4.3.30.0030.0379.57
4.3.20.0030.0309.57
4.3.10.0030.0409.57
4.3.00.0100.0239.57

preferences:
156.03 ms | 1398 KiB | 7 Q