3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(md5('asdasdsad')); var_dump(md5('QNKCDZO')); ?>
based on i4AYi

Here you find the average performance (time & memory) of each version. A greyed 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.0040.00818.85
7.1.100.0060.01217.89
7.1.70.0040.01516.74
7.1.60.0090.01219.50
7.1.50.0090.01516.52
7.1.00.0070.06722.33
7.0.200.0100.00314.78
7.0.140.0070.07022.21
7.0.60.0030.09019.82
7.0.50.0070.05017.83
7.0.40.0100.04320.39
7.0.30.0230.07020.20
7.0.20.0370.05020.00
7.0.10.0100.03720.20
7.0.00.0100.05720.19
5.6.280.0000.07721.08
5.6.210.0100.07320.76
5.6.200.0100.08318.22
5.6.190.0070.08320.35
5.6.180.0000.08320.43
5.6.170.0300.06020.52
5.6.160.0000.06020.50
5.6.150.0100.05318.19
5.6.140.0130.07718.11
5.6.130.0130.08018.08
5.6.120.0070.04720.98
5.6.110.0000.04320.99
5.6.100.0100.08020.96
5.6.90.0130.07320.97
5.6.80.0130.06720.35
5.5.350.4170.04020.37
5.5.340.0070.03318.02
5.5.330.0070.05320.46
5.5.320.0330.04720.30
5.5.310.0330.07320.17
5.5.300.0000.08017.98
5.5.290.0030.05317.96
5.5.280.0100.04720.97
5.5.270.0100.08020.95
5.5.260.0170.08720.79
5.5.250.0000.04720.54
5.5.240.0170.06320.15
5.4.450.0770.07019.43
5.4.440.0230.05019.32
5.4.430.0200.08319.48
5.4.420.0400.06319.27
5.4.410.0100.05718.91
5.4.400.1270.06318.80
5.4.390.1130.07718.78
5.4.380.1300.06718.48
5.4.370.0930.07018.39
5.4.360.1230.06718.72
5.4.350.1130.05718.72
5.4.340.1230.06318.72
5.4.320.1100.06018.64
5.4.310.1100.05718.75
5.4.300.0830.07318.72
5.4.290.1100.05718.68
5.4.280.0970.07318.64
5.4.270.1170.05318.47
5.4.260.0970.06318.73
5.4.250.0870.07018.73
5.4.240.1070.05718.49
5.4.230.1200.06018.50
5.4.220.0930.06718.59
5.4.210.1030.05318.46
5.4.200.0930.06016.40
5.4.190.1000.07018.54
5.4.180.1100.07718.54
5.4.170.1100.06318.66
5.4.160.1000.07718.43
5.4.150.0870.07718.52
5.4.140.1170.06716.13
5.4.130.1170.04316.25
5.4.120.1130.06716.29
5.4.110.1400.06016.25
5.4.100.1130.06016.33
5.4.90.0700.06016.25
5.4.80.1130.05716.29
5.4.70.0970.06016.16
5.4.60.1070.06016.01
5.4.50.1300.04316.09
5.4.40.1200.05716.03
5.4.30.1070.06016.15
5.4.20.1070.03316.04
5.4.10.1430.05316.27
5.4.00.1100.06315.57
5.3.290.0870.07714.73
5.3.280.1270.07314.52
5.3.270.1270.09014.59
5.3.260.1200.06314.63
5.3.250.1270.07014.67
5.3.240.1200.06014.53
5.3.230.1170.06714.64
5.3.220.1030.07714.47
5.3.210.1030.08314.48
5.3.200.1070.05714.55
5.3.190.0930.06014.65
5.3.180.1600.05714.65
5.3.170.1570.06014.61
5.3.160.1330.05714.65
5.3.150.0930.05314.46
5.3.140.1200.06014.53
5.3.130.1300.06314.64
5.3.120.1370.06714.49
5.3.110.1130.05714.45
5.3.100.1270.05714.02
5.3.90.1000.07014.11
5.3.80.1170.07314.09
5.3.70.0770.07714.00
5.3.60.1070.04713.96
5.3.50.0970.06713.83
5.3.40.1230.07313.83
5.3.30.1330.05013.84
5.3.20.1270.06313.78
5.3.10.1200.06713.62
5.3.00.1030.06713.54
5.2.170.1200.04711.18
5.2.160.1030.05311.08
5.2.150.0730.05011.05
5.2.140.0670.05011.14
5.2.130.0730.04311.10
5.2.120.1130.05011.04
5.2.110.1130.05711.15
5.2.100.1330.04011.05
5.2.90.1000.05011.09
5.2.80.0800.05711.13
5.2.70.0870.05711.23
5.2.60.1170.04311.10
5.2.50.1130.06710.98
5.2.40.1030.04711.05
5.2.30.0730.04310.97
5.2.20.0600.04711.00
5.2.10.0570.05310.95
5.2.00.0770.05010.75
5.1.60.0830.04010.11
5.1.50.0700.04310.16
5.1.40.0600.0379.93
5.1.30.0700.04010.39
5.1.20.0800.05310.36
5.1.10.0800.04310.08
5.1.00.0700.05310.08
5.0.50.0470.0308.64
5.0.40.0230.0408.42
5.0.30.0400.0508.39
5.0.20.0300.0378.38
5.0.10.0500.0238.20
5.0.00.0470.0478.28
4.4.90.0270.0335.89
4.4.80.0370.0335.89
4.4.70.0330.0375.88
4.4.60.0470.0235.82
4.4.50.0370.0275.91
4.4.40.0530.0475.89
4.4.30.0330.0305.86
4.4.20.0370.0335.96
4.4.10.0670.0305.91
4.4.00.0270.0375.95
4.3.110.0370.0175.82
4.3.100.0370.0235.84
4.3.90.0370.0275.78
4.3.80.0070.0375.83
4.3.70.0070.0305.90
4.3.60.0430.0175.80
4.3.50.0470.0175.86
4.3.40.0570.0375.76
4.3.30.0270.0234.60
4.3.20.0200.0334.52
4.3.10.0270.0334.48
4.3.00.0070.0236.68