3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo '220';

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.2.00.0060.00919.25
7.1.100.0070.00417.84
7.1.70.0070.01416.60
7.1.60.0210.00419.40
7.1.50.0130.00916.95
7.1.00.0070.07322.28
7.0.200.0410.00614.37
7.0.140.0000.07722.11
7.0.60.0270.07321.73
7.0.50.0070.06717.84
7.0.40.0000.04320.04
7.0.30.0070.04020.13
7.0.20.0030.04019.98
7.0.10.0030.04020.20
7.0.00.0000.04020.08
5.6.280.0030.07020.85
5.6.210.0100.07720.46
5.6.200.0070.08318.22
5.6.190.0000.04720.77
5.6.180.0000.04020.53
5.6.170.0070.03720.43
5.6.160.0030.04020.32
5.6.150.0030.04020.44
5.6.140.0030.04020.34
5.6.130.0000.04320.32
5.6.120.0000.04020.40
5.6.110.0000.04720.27
5.6.100.0000.06020.36
5.6.90.0030.08720.09
5.6.80.0030.08319.71
5.6.70.0100.07319.77
5.6.60.0130.07319.65
5.6.50.0000.09019.85
5.6.40.0030.08019.54
5.6.30.0070.03719.77
5.6.20.0030.04719.73
5.6.10.0130.07019.79
5.6.00.0070.07719.69
5.5.350.0230.07720.46
5.5.340.0030.05017.98
5.5.330.0000.04020.43
5.5.320.0130.03020.40
5.5.310.0000.04020.23
5.5.300.0030.04319.99
5.5.290.0030.04019.91
5.5.280.0000.04019.91
5.5.270.0000.04019.94
5.5.260.0030.05020.19
5.5.250.0070.07319.98
5.5.240.0100.07019.36
5.5.230.0070.08019.62
5.5.220.0030.06019.50
5.5.210.0070.04019.57
5.5.200.0030.04319.47
5.5.190.0070.08019.52
5.5.180.0100.03719.32
5.5.160.0300.03019.61
5.5.150.0070.04319.44
5.5.140.0070.04319.32
5.5.130.0100.07719.27
5.5.120.0000.08319.58
5.5.110.0000.08719.59
5.5.100.0100.07019.43
5.5.90.0100.03319.33
5.5.80.0070.04019.41
5.5.70.0030.04019.37
5.5.60.0070.04719.41
5.5.50.0070.07319.47
5.5.40.0030.07719.14
5.5.30.0070.05019.44
5.5.20.0130.04319.25
5.5.10.0000.08719.35
5.5.00.0100.07319.43
5.4.450.0030.03719.47
5.4.440.0030.03719.12
5.4.430.0000.03719.41
5.4.420.0070.04019.13
5.4.410.0000.05719.11
5.4.400.0030.04719.18
5.4.390.0100.07019.19
5.4.380.0070.06019.00
5.4.370.0070.06319.13
5.4.360.0030.04018.81
5.4.350.0030.04319.12
5.4.340.0030.07318.79
5.4.320.0100.06719.09
5.4.310.0000.04718.81
5.4.300.0070.04019.11
5.4.290.0030.04019.15
5.4.280.0130.06718.79
5.4.270.0030.06718.79
5.4.260.0030.06719.14
5.4.250.0100.04319.00
5.4.240.0000.08319.00
5.4.230.0030.07719.08
5.4.220.0030.07318.99
5.4.210.0030.08019.14
5.4.200.0070.06718.89
5.4.190.0100.06019.06
5.4.180.0030.08019.06
5.4.170.0000.05719.14
5.4.160.0130.06019.16
5.4.150.0070.07318.77
5.4.140.0070.07016.35
5.4.130.0030.07316.26
5.4.120.0070.04716.15
5.4.110.0030.07016.27
5.4.100.0030.07316.37
5.4.90.0030.06316.61
5.4.80.0070.05316.23
5.4.70.0030.03316.36
5.4.60.0000.05316.21
5.4.50.0030.03716.24
5.4.40.0070.05016.64
5.4.30.0100.04316.24
5.4.20.0030.07316.28
5.4.10.0030.07316.38
5.4.00.0030.07015.66
5.3.290.0100.03714.54
5.3.280.0030.04314.48
5.3.270.0000.07714.55
5.3.260.0070.06314.42
5.3.250.0030.06714.54
5.3.240.0070.04714.57
5.3.230.0130.05014.54
5.3.220.0030.08014.54
5.3.210.0230.05014.48
5.3.200.0030.07714.49
5.3.190.0070.07014.49
5.3.180.0030.04314.48
5.3.170.0000.06314.35
5.3.160.0070.05714.48
5.3.150.0030.04714.50
5.3.140.0000.07714.47
5.3.130.0070.07314.55
5.3.120.0100.07014.48
5.3.110.0070.06314.47
5.3.100.0000.06013.96
5.3.90.0030.07713.97
5.3.80.0030.07013.82
5.3.70.0030.07013.94
5.3.60.0000.06313.98
5.3.50.0030.04713.75
5.3.40.0000.07313.95
5.3.30.0000.06013.83
5.3.20.0030.07313.70
5.3.10.0000.07313.61
5.3.00.0030.05313.57