3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface Trackable { public function getTrackInfo($parcelId); } class test implements Trackable { public function getTrackInfo($parcelId) { $parcelId = 42; return $parcelId; } }
based on FDo5O

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0090.00616.30
7.3.00.0040.00416.35
7.2.130.0030.00516.51
7.2.120.0000.01016.12
7.2.110.0030.01316.45
7.2.100.0040.00816.23
7.2.90.0090.00316.38
7.2.80.0000.00916.58
7.2.70.0000.01116.77
7.2.60.0090.00316.55
7.2.50.0030.00616.77
7.2.40.0070.01016.60
7.2.30.0030.01216.46
7.2.20.0100.00716.70
7.2.10.0040.01216.46
7.2.00.0090.00818.11
7.1.250.0110.00015.63
7.1.100.0160.01017.91
7.1.70.0060.00617.07
7.1.60.0000.01819.46
7.1.50.0150.00916.80
7.1.00.0070.07322.32
7.0.200.0060.00616.68
7.0.140.0030.06021.99
7.0.60.0000.04319.80
7.0.50.0070.05017.87
7.0.40.0100.08320.37
7.0.30.0300.07020.16
7.0.20.0270.07020.11
7.0.10.0030.04320.06
7.0.00.0100.08020.07
5.6.280.0000.07721.13
5.6.210.0070.08020.53
5.6.200.0030.05018.19
5.6.190.0070.04720.57
5.6.180.0330.08020.54
5.6.170.0400.04720.47
5.6.160.0000.04320.55
5.6.150.0030.05018.18
5.6.140.0100.06318.29
5.6.130.0070.08018.13
5.6.120.0070.08021.01
5.6.110.0030.08321.14
5.6.100.0100.03720.98
5.6.90.0030.04321.11
5.6.80.0100.08020.39
5.5.350.0000.07720.50
5.5.340.0070.08318.02
5.5.330.0000.05720.21
5.5.320.0370.07320.25
5.5.310.0400.06320.29
5.5.300.0030.04717.93
5.5.290.0170.08017.95
5.5.280.0070.05720.77
5.5.270.0100.08320.67
5.5.260.0030.04020.76
5.5.250.0200.07720.58
5.5.240.4200.04320.07
5.4.450.0570.06019.16
5.4.440.0670.08019.19
5.4.430.0170.04719.38
5.4.420.0030.06019.48
5.4.410.0200.05019.41
5.4.400.0100.05319.15
5.4.390.0230.05018.56
5.4.380.0200.05318.70
5.4.370.0270.04718.57
5.4.360.0200.05318.57
5.4.350.0270.06018.55
5.4.340.0130.06318.80
5.4.320.0300.06318.83
5.4.310.0130.06018.70
5.4.300.0230.05018.46
5.4.290.0200.05318.69
5.4.280.0300.06018.61
5.4.270.0200.05318.71
5.4.260.0170.05718.54
5.4.250.0200.05718.46
5.4.240.0100.06318.77
5.4.230.0230.04318.41
5.4.220.0200.05318.54
5.4.210.0170.06018.68
5.4.200.0230.04716.55
5.4.190.0030.06718.70
5.4.180.0170.05318.70
5.4.170.0070.06318.68
5.4.160.0170.05018.82
5.4.150.0230.05018.67
5.4.140.0200.05016.31
5.4.130.0200.05016.30
5.4.120.0130.05716.23
5.4.110.0230.04316.30
5.4.100.0200.05016.21
5.4.90.0200.04716.18
5.4.80.0130.05016.41
5.4.70.0130.05716.30
5.4.60.0070.06716.15
5.4.50.0230.04316.25
5.4.40.0230.05316.38
5.4.30.0130.05316.25
5.4.20.0070.06316.39
5.4.10.0200.05016.28
5.4.00.0100.05315.66
5.3.290.0130.06014.80
5.3.280.0100.05714.76
5.3.270.0170.05314.66
5.3.260.0130.06314.65
5.3.250.0200.05014.64
5.3.240.0270.04314.61
5.3.230.0170.06014.66
5.3.220.0170.05014.70
5.3.210.0300.05314.51
5.3.200.0170.05014.75
5.3.190.0230.05014.63
5.3.180.0200.05014.62
5.3.170.0170.05014.62
5.3.160.0200.04714.60
5.3.150.0130.05314.62
5.3.140.0130.05314.59
5.3.130.0200.05014.57
5.3.120.0170.06014.73
5.3.110.0130.05714.58
5.3.100.0200.04714.05
5.3.90.0230.04714.02
5.3.80.0170.05014.24
5.3.70.0200.05314.12
5.3.60.0230.06314.06
5.3.50.0270.06314.07
5.3.40.0170.05014.17
5.3.30.0230.04714.07
5.3.20.0200.04313.90
5.3.10.0130.05313.77
5.3.00.0130.05013.66
5.2.170.0100.04311.27
5.2.160.0170.03711.18
5.2.150.0200.04311.36
5.2.140.0170.04311.20
5.2.130.0170.03711.16
5.2.120.0170.03311.16
5.2.110.0200.04011.12
5.2.100.0200.03311.12
5.2.90.0100.04311.23
5.2.80.0130.04011.08
5.2.70.0230.03311.17
5.2.60.0170.04011.16
5.2.50.0130.04011.23
5.2.40.0100.04711.21
5.2.30.0100.04311.07
5.2.20.0100.04011.14
5.2.10.0100.04310.96
5.2.00.0100.04010.82
5.1.60.0070.04010.07
5.1.50.0100.03710.07
5.1.40.0000.04310.05
5.1.30.0070.04010.44
5.1.20.0100.04710.56
5.1.10.0170.03010.16
5.1.00.0070.04010.16
5.0.50.0100.0278.55
5.0.40.0070.0278.54
5.0.30.0130.0378.42
5.0.20.0030.0308.24
5.0.10.0100.0238.36
5.0.00.0030.0438.18
4.4.90.0030.0235.93
4.4.80.0030.0235.89
4.4.70.0070.0205.90
4.4.60.0070.0175.88
4.4.50.0030.0235.89
4.4.40.0100.0335.91
4.4.30.0030.0235.89
4.4.20.0030.0235.88
4.4.10.0070.0205.94
4.4.00.0030.0375.92
4.3.110.0070.0205.84
4.3.100.0070.0275.80
4.3.90.0070.0275.79
4.3.80.0070.0335.78
4.3.70.0070.0205.80
4.3.60.0030.0235.78
4.3.50.0070.0205.77
4.3.40.0030.0375.86
4.3.30.0030.0234.61
4.3.20.0000.0234.61
4.3.10.0000.0234.47
4.3.00.0070.02312.53