3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(md5('240610708')); var_dump(md5('QNKCDZO')); var_dump("0e4bla" == "0e3foo"); var_dump("0e4bla" === "0e3foo");
based on 0FtrM

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.110.0150.00416.27
7.2.60.0110.00416.80
7.2.00.0000.01519.03
7.1.200.0090.00315.59
7.1.100.0230.00717.84
7.1.70.0080.00016.93
7.1.60.0060.01619.50
7.1.50.0180.01116.83
7.1.00.0030.07722.46
7.0.200.0480.01014.70
7.0.140.0000.07721.95
7.0.60.0070.08019.93
7.0.50.0030.06017.80
7.0.40.0000.08320.04
7.0.30.0270.04020.16
7.0.20.0170.04320.16
7.0.10.0230.08320.02
7.0.00.0070.08320.17
5.6.280.0100.06321.13
5.6.210.0130.05720.65
5.6.200.0030.08318.13
5.6.190.0030.05020.45
5.6.180.0330.04320.75
5.6.170.0300.08020.51
5.6.160.0100.08020.40
5.6.150.0070.08318.22
5.6.140.0070.07718.20
5.6.130.0100.08318.16
5.6.120.0100.07020.88
5.6.110.0100.04721.00
5.6.100.0000.04721.10
5.6.90.0130.08020.97
5.6.80.0070.06020.53
5.6.70.0270.07720.36
5.5.350.0130.03720.40
5.5.340.0070.05317.99
5.5.330.0200.07320.43
5.5.320.0300.05020.21
5.5.310.0200.03720.21
5.5.300.0000.04717.95
5.5.290.0000.06317.98
5.5.280.0030.04320.79
5.5.270.0070.06720.97
5.5.260.0070.07020.76
5.5.250.0000.04320.49
5.5.240.0100.05020.23
5.4.450.0330.06319.47
5.4.440.0830.05719.41
5.4.430.1200.08019.39
5.4.420.0200.05019.22
5.4.410.0170.05318.97
5.4.400.0130.08018.60
5.4.390.0370.05318.50
5.4.380.0500.05318.63
5.4.370.0500.05718.50
5.4.360.0400.06018.50
5.4.350.0500.05018.71
5.4.340.0300.05718.68
5.4.320.0330.06018.52
5.4.310.0430.05018.64
5.4.300.0300.06318.46
5.4.290.0370.05318.46
5.4.280.0400.05318.71
5.4.270.0400.05018.55
5.4.260.0300.06318.48
5.4.250.0400.05718.61
5.4.240.0300.06018.77
5.4.230.0470.05018.70
5.4.220.0400.05718.68
5.4.210.0630.05718.66
5.4.200.0530.05316.52
5.4.190.0430.04318.68
5.4.180.0370.05718.66
5.4.170.0370.06018.63
5.4.160.0470.06018.70
5.4.150.0230.06718.75
5.4.140.0430.05016.27
5.4.130.0200.06316.20
5.4.120.0300.04316.19
5.4.110.0600.05316.04
5.4.100.0370.07716.25
5.4.90.0530.08016.24
5.4.80.0270.06016.14
5.4.70.0600.04016.05
5.4.60.0500.07016.09
5.4.50.0530.06016.34
5.4.40.0600.06716.09
5.4.30.0400.04716.21
5.4.20.0500.04016.22
5.4.10.0570.05016.00
5.4.00.0400.05015.64
5.3.290.0400.05714.75
5.3.280.0330.06314.58
5.3.270.0370.06014.58
5.3.260.0300.06014.61
5.3.250.0370.04714.52
5.3.240.0200.06714.61
5.3.230.0330.06714.59
5.3.220.0600.05714.54
5.3.210.0370.07714.66
5.3.200.0500.07014.45
5.3.190.0570.06014.54
5.3.180.0570.06014.47
5.3.170.0500.06714.52
5.3.160.0570.05714.47
5.3.150.0400.05014.51
5.3.140.0430.04714.46
5.3.130.0470.07014.52
5.3.120.0470.05314.52
5.3.110.0370.06014.44
5.3.100.0370.06014.03
5.3.90.0330.08014.02
5.3.80.0470.05014.11
5.3.70.0530.07014.11
5.3.60.0370.05314.01
5.3.50.0700.05313.89
5.3.40.0400.07313.93
5.3.30.0870.05713.94
5.3.20.0400.07013.62
5.3.10.0400.06013.60
5.3.00.0400.04313.73
5.2.170.0330.04311.09
5.2.160.0330.05711.18
5.2.150.0300.05711.28
5.2.140.0330.04711.19
5.2.130.0370.03311.09
5.2.120.0170.05011.14
5.2.110.0270.04011.15
5.2.100.0300.04711.25
5.2.90.0330.04711.11
5.2.80.0200.05011.07
5.2.70.0170.05011.13
5.2.60.0300.05011.00
5.2.50.0500.05011.06
5.2.40.0500.03711.02
5.2.30.0400.04011.00
5.2.20.0330.05011.11
5.2.10.0300.05010.96
5.2.00.0330.04710.70
5.1.60.0270.0339.98
5.1.50.0200.04710.09
5.1.40.0230.03310.09
5.1.30.0270.03310.30
5.1.20.0230.03710.44
5.1.10.0270.04710.04
5.1.00.0230.03710.11
5.0.50.0230.0378.54
5.0.40.0130.0278.50
5.0.30.0130.0438.23
5.0.20.0170.0238.39
5.0.10.0070.0338.36
5.0.00.0100.0438.27
4.4.90.0100.0235.89
4.4.80.0100.0235.89
4.4.70.0130.0205.93
4.4.60.0230.0105.86
4.4.50.0100.0235.95
4.4.40.0100.0375.89
4.4.30.0170.0205.87
4.4.20.0070.0305.87
4.4.10.0170.0175.94
4.4.00.0070.0405.93
4.3.110.0070.0335.77
4.3.100.0170.0275.87
4.3.90.0100.0235.79
4.3.80.0030.0435.88
4.3.70.0100.0205.89
4.3.60.0070.0235.78
4.3.50.0100.0235.87
4.3.40.0100.0405.84
4.3.30.0030.0274.64
4.3.20.0100.0204.51
4.3.10.0070.0204.53
4.3.00.0000.0236.87