3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo sha1('aaroZmOk').sha1('aaK1STfY'); echo "\n"; echo sha1('aaO8zKZF'); echo "\n"; echo sha1('aa3OFF9m');
based on 8jpJY

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.0030.00919.28
7.1.200.0030.00315.85
7.1.100.0040.00718.21
7.1.70.0070.00316.74
7.1.60.0100.01619.50
7.1.50.0200.01334.56
7.1.00.0100.07022.32
7.0.200.0030.00914.66
7.0.140.0000.08022.09
7.0.60.0070.03720.00
7.0.50.0130.07317.88
7.0.40.0070.04720.24
7.0.30.0270.08320.04
7.0.20.0230.05020.16
7.0.10.0200.05320.09
7.0.00.0100.04320.12
5.6.280.0070.06720.77
5.6.210.0130.05320.59
5.6.200.0030.05718.12
5.6.190.0000.05020.66
5.6.180.0200.03720.43
5.6.170.0300.07720.44
5.6.160.0070.08320.71
5.6.150.0070.04318.21
5.6.140.0100.08018.18
5.6.130.0070.04318.14
5.6.120.0100.08321.01
5.6.110.0100.08020.88
5.6.100.0130.07320.98
5.6.90.0170.08021.05
5.6.80.0100.05320.37
5.6.70.0230.07020.49
5.5.350.0200.06720.31
5.5.340.0000.04318.02
5.5.330.0030.04720.13
5.5.320.0000.06720.25
5.5.310.0400.06720.29
5.5.300.0070.07017.95
5.5.290.0030.08318.02
5.5.280.0070.08320.73
5.5.270.0070.07320.68
5.5.260.0100.05720.79
5.5.250.0070.06320.57
5.5.240.0070.04720.06
5.4.450.0370.07319.48
5.4.440.0770.05019.58
5.4.430.0130.06319.13
5.4.420.0870.05319.58
5.4.410.0170.06718.68
5.4.400.1170.05718.70
5.4.390.1300.05018.66
5.4.380.1200.06318.71
5.4.370.1200.05318.51
5.4.360.1230.05718.62
5.4.350.1270.05018.49
5.4.340.1270.05018.64
5.4.320.1300.05018.62
5.4.310.1270.05718.47
5.4.300.1170.05018.75
5.4.290.1130.06718.63
5.4.280.1230.08018.47
5.4.270.1400.07018.58
5.4.260.1630.06018.55
5.4.250.1400.05718.63
5.4.240.1300.08018.43
5.4.230.1270.06318.71
5.4.220.1600.06718.61
5.4.210.0970.06718.64
5.4.200.1330.04716.56
5.4.190.1300.06318.43
5.4.180.1170.06018.64
5.4.170.1170.05318.61
5.4.160.1270.05018.53
5.4.150.1200.05718.71
5.4.140.1100.05016.05
5.4.130.1100.05016.26
5.4.120.1200.05316.31
5.4.110.1300.05016.29
5.4.100.1400.05716.06
5.4.90.1070.05716.15
5.4.80.1100.05316.13
5.4.70.1230.05016.19
5.4.60.1200.05016.25
5.4.50.1170.04716.23
5.4.40.1170.05316.11
5.4.30.1170.05716.04
5.4.20.1130.05716.09
5.4.10.1100.05316.18
5.4.00.1030.05015.50
5.3.290.1130.06014.57
5.3.280.1270.05014.52
5.3.270.2230.05014.65
5.3.260.1100.06014.52
5.3.250.1030.05714.55
5.3.240.1170.06014.55
5.3.230.1330.06714.59
5.3.220.1100.05714.66
5.3.210.1170.05314.55
5.3.200.2600.04714.65
5.3.190.1270.05314.66
5.3.180.3030.05314.54
5.3.170.1300.05314.61
5.3.160.1330.05714.65
5.3.150.1130.08314.59
5.3.140.1200.07314.57
5.3.130.1200.05714.59
5.3.120.2630.06714.43
5.3.110.1170.06014.55
5.3.100.1170.06313.93
5.3.90.1230.05714.09
5.3.80.3300.05713.96
5.3.70.1300.04713.99
5.3.60.1100.04313.96
5.3.50.0930.07313.87
5.3.40.0170.04713.86
5.3.30.0100.05013.88
5.3.20.0070.05313.68
5.3.10.0900.04713.62
5.3.00.1230.05713.61
5.2.170.1000.05311.14
5.2.160.0870.04011.06
5.2.150.0930.06011.11
5.2.140.0830.05011.27
5.2.130.0970.04011.11
5.2.120.1030.05311.23
5.2.110.1000.04311.25
5.2.100.2130.04711.09
5.2.90.1030.04311.08
5.2.80.0970.04711.08
5.2.70.1030.04711.25
5.2.60.2170.04311.10
5.2.50.1130.04011.16
5.2.40.0770.04711.14
5.2.30.0830.03711.00
5.2.20.0800.04011.00
5.2.10.0770.04011.00
5.2.00.0830.04310.89
5.1.60.0830.0309.97
5.1.50.0700.03010.03
5.1.40.0630.0339.95
5.1.30.0670.03710.33
5.1.20.0600.04310.39
5.1.10.0630.03710.16
5.1.00.2100.03310.05
5.0.50.0430.0278.52
5.0.40.0370.0408.44
5.0.30.0430.0378.23
5.0.20.0330.0278.22
5.0.10.0400.0338.14
5.0.00.0430.0408.14
4.4.90.0430.0175.89
4.4.80.0330.0235.81
4.4.70.0370.0175.97
4.4.60.0330.0235.89
4.4.50.0300.0235.93
4.4.40.0230.0405.86
4.4.30.0400.0135.95
4.4.20.0430.0235.94
4.4.10.0330.0275.87
4.4.00.0370.0335.94
4.3.110.0370.0235.79
4.3.100.0470.0235.83
4.3.90.0270.0235.82
4.3.80.0300.0335.77
4.3.70.0300.0205.84
4.3.60.0300.0235.81
4.3.50.0430.0305.90
4.3.40.0500.0375.74
4.3.30.0230.0234.54
4.3.20.0200.0304.55
4.3.10.0170.0234.57
4.3.00.0130.0206.90