3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 6 + 2; echo 7 - 1; echo 2 * 4; echo 9 / 3; ?>
based on ogK0N

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.0100.00316.56
7.3.00.0030.01016.49
7.2.130.0030.01016.62
7.2.120.0060.00916.46
7.2.110.0000.01516.88
7.2.100.0070.00316.82
7.2.90.0100.00316.93
7.2.80.0100.00316.89
7.2.70.0060.00616.67
7.2.60.0050.00816.61
7.2.50.0060.00916.85
7.2.40.0030.01216.50
7.2.30.0040.00416.82
7.2.20.0090.00616.53
7.2.10.0060.00916.83
7.2.00.0000.01217.81
7.1.250.0040.00815.28
7.1.200.0180.00315.63
7.1.100.0060.00917.73
7.1.70.0000.00916.95
7.1.60.0090.01519.46
7.1.50.0100.01316.65
7.1.00.0070.07322.45
7.0.200.0000.00716.72
7.0.140.0000.06022.00
7.0.60.0100.08019.84
7.0.50.0100.07017.80
7.0.40.0030.05319.84
7.0.30.0200.05720.06
7.0.20.0370.07720.19
7.0.10.0030.06720.13
7.0.00.0100.07720.19
5.6.280.0030.07321.06
5.6.210.0070.03720.62
5.6.200.0070.04718.21
5.6.190.0100.06320.57
5.6.180.0070.05020.41
5.6.170.0270.04720.61
5.6.160.0100.08320.47
5.6.150.0070.04318.21
5.6.140.0100.07018.21
5.6.130.0130.06718.18
5.6.120.0070.08021.11
5.6.110.0030.09021.00
5.6.100.0100.08021.00
5.6.90.0100.05021.11
5.6.80.0030.04020.38
5.5.350.0230.04020.29
5.5.340.0100.07317.92
5.5.330.0100.08020.37
5.5.320.0100.07020.34
5.5.310.0200.04020.23
5.5.300.0030.07718.01
5.5.290.0070.07717.91
5.5.280.0030.04720.64
5.5.270.0000.07320.77
5.5.260.0130.05720.77
5.5.250.0100.07720.56
5.5.240.0170.07720.36
5.4.450.0330.06019.50
5.4.440.0970.05719.54
5.4.430.0930.06719.28
5.4.420.1170.04319.10
5.4.410.0770.05019.11
5.4.400.0730.05318.78
5.4.390.0270.04718.74
5.4.380.0270.04718.58
5.4.370.0270.05318.62
5.4.360.0200.05318.58
5.4.350.0200.06018.52
5.4.340.0230.05018.77
5.4.320.0270.07018.75
5.4.310.0170.05718.50
5.4.300.0230.07318.67
5.4.290.0170.07018.65
5.4.280.0300.04318.77
5.4.270.0200.05318.75
5.4.260.0200.05318.55
5.4.250.0200.05318.77
5.4.240.0230.05018.57
5.4.230.0200.05318.48
5.4.220.0300.04718.59
5.4.210.0130.06018.47
5.4.200.0200.05316.47
5.4.190.0200.06018.55
5.4.180.0200.05018.54
5.4.170.0200.05718.57
5.4.160.0170.06018.43
5.4.150.0200.05318.50
5.4.140.0230.05716.23
5.4.130.0230.06716.06
5.4.120.0100.05716.07
5.4.110.0270.04716.12
5.4.100.0170.05316.07
5.4.90.0270.04316.05
5.4.80.0170.05016.01
5.4.70.0200.05316.12
5.4.60.0200.05016.04
5.4.50.0200.05316.27
5.4.40.0200.05316.20
5.4.30.0230.04716.21
5.4.20.0270.05016.18
5.4.10.0170.05016.27
5.4.00.0200.04715.68
5.3.290.0230.05314.66
5.3.280.0200.05314.58
5.3.270.0200.05714.51
5.3.260.0270.05314.69
5.3.250.0200.05714.57
5.3.240.0470.04714.60
5.3.230.0270.06314.64
5.3.220.0230.05714.54
5.3.210.0200.05714.55
5.3.200.0170.05314.54
5.3.190.0130.05714.66
5.3.180.0200.05714.64
5.3.170.0200.05014.59
5.3.160.0100.06014.46
5.3.150.0270.04714.50
5.3.140.0130.06014.55
5.3.130.0300.05014.45
5.3.120.0330.05714.54
5.3.110.0230.06014.63
5.3.100.0200.04714.08
5.3.90.0130.05714.01
5.3.80.0200.04713.93
5.3.70.0130.05713.96
5.3.60.0170.05013.91
5.3.50.0000.06314.03
5.3.40.0170.05313.91
5.3.30.0300.04713.80
5.3.20.0200.05013.67
5.3.10.0300.04013.58
5.3.00.0200.05013.60
5.2.170.0200.04311.19
5.2.160.0230.03311.20
5.2.150.0200.04011.11
5.2.140.0230.05311.29
5.2.130.0170.05711.05
5.2.120.0170.04011.07
5.2.110.0270.03011.16
5.2.100.0230.03711.25
5.2.90.0170.03711.09
5.2.80.0170.04311.05
5.2.70.0130.04711.00
5.2.60.0230.05311.20
5.2.50.0230.05310.97
5.2.40.0130.05311.03
5.2.30.0130.05710.95
5.2.20.0130.05310.91
5.2.10.0230.04710.92
5.2.00.0130.05710.72
5.1.60.0170.03310.01
5.1.50.0130.0339.96
5.1.40.0170.03010.15
5.1.30.0100.03710.35
5.1.20.0200.03010.44
5.1.10.0230.02710.14
5.1.00.0200.03010.20
5.0.50.0070.0338.57
5.0.40.0070.0408.39
5.0.30.0170.0478.25
5.0.20.0030.0408.27
5.0.10.0170.0378.36
5.0.00.0100.0538.15
4.4.90.0070.0205.94
4.4.80.0070.0235.86
4.4.70.0170.0175.80
4.4.60.0070.0235.88
4.4.50.0030.0235.98
4.4.40.0100.0335.91
4.4.30.0100.0275.81
4.4.20.0070.0235.95
4.4.10.0170.0135.91
4.4.00.0130.0305.92
4.3.110.0100.0235.80
4.3.100.0030.0235.82
4.3.90.0100.0175.87
4.3.80.0070.0335.85
4.3.70.0030.0235.86
4.3.60.0130.0135.81
4.3.50.0100.0205.81
4.3.40.0100.0335.79
4.3.30.0030.0234.58
4.3.20.0100.0274.53
4.3.10.0070.0234.49
4.3.00.0030.03714.68