3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php call_user_func_array('sha1', array('3141592654pi!','$1$sesom$'));

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.0rc40.0160.00498.97
7.3.0rc30.0550.00916.50
7.3.0beta10.0100.00012.63
7.3.0alpha10.0050.00512.46
7.2.80.0040.00416.41
7.2.60.0040.01116.77
7.2.50.0090.00316.76
7.2.00.0070.00719.13
7.1.200.0060.00615.73
7.1.100.0030.00917.73
7.1.70.0030.00716.74
7.1.60.0120.01219.46
7.1.50.0170.00716.82
7.1.00.0070.06722.33
7.0.200.0060.00616.59
7.0.140.0030.07322.21
7.0.60.0300.05719.90
7.0.50.0070.06717.80
7.0.40.0030.05020.06
7.0.30.0430.06320.30
7.0.20.0200.03720.09
7.0.10.0030.07720.20
7.0.00.0100.04320.04
5.6.280.0100.06721.06
5.6.210.0030.08020.54
5.6.200.0000.04718.08
5.6.190.0270.03320.41
5.6.180.0370.06720.50
5.6.170.0270.07720.39
5.6.160.0100.07720.52
5.6.150.0070.07718.22
5.6.140.0070.08718.08
5.6.130.0130.06718.19
5.6.120.0030.05720.98
5.6.110.0200.07321.00
5.6.100.0000.08721.00
5.6.90.0000.07721.05
5.6.80.0030.08320.32
5.5.350.0200.08020.29
5.5.340.0000.06318.01
5.5.330.0100.04720.47
5.5.320.0230.07720.18
5.5.310.0430.05720.34
5.5.300.0100.07717.96
5.5.290.0070.08018.02
5.5.280.0000.04320.73
5.5.270.0230.07720.75
5.5.260.0130.08020.83
5.5.250.0070.06020.58
5.5.240.0270.04020.34
5.4.450.3170.04719.13
5.4.440.2900.04319.45
5.4.430.3170.04319.40
5.4.420.2930.03719.54
5.4.410.3030.03719.42
5.4.400.3130.04318.91
5.4.390.2970.03319.06
5.4.380.3300.03719.13
5.4.370.3130.03719.13
5.4.360.3030.03719.25
5.4.350.3200.04318.93
5.4.340.3330.04019.07
5.4.320.3030.03718.77
5.4.310.2930.03719.13
5.4.300.3070.03319.14
5.4.290.3070.03718.91
5.4.280.3600.04719.12
5.4.270.2300.03719.15
5.4.260.3130.03319.23
5.4.250.2830.03718.94
5.4.240.2600.04019.07
5.4.230.3070.03319.12
5.4.220.3000.04319.05
5.4.210.3270.04019.05
5.4.200.3130.04018.87
5.4.190.3000.03718.92
5.4.180.2800.03019.04
5.4.170.2970.04018.79
5.4.160.3130.03018.75
5.4.150.3200.03319.11
5.4.140.3270.03316.22
5.4.130.3130.03316.29
5.4.120.3130.03316.44
5.4.110.3170.03716.34
5.4.100.3200.04016.49
5.4.90.3200.03716.43
5.4.80.3430.04016.39
5.4.70.3300.03016.17
5.4.60.3300.03716.19
5.4.50.3270.03016.39
5.4.40.2900.03716.43
5.4.30.3430.03316.18
5.4.20.3200.03016.40
5.4.10.2900.03316.34
5.4.00.3170.03715.63
5.3.290.3070.03714.70
5.3.280.0030.07314.46
5.3.270.0030.07714.46
5.3.260.0000.04314.54
5.3.250.1630.05314.69
5.3.240.3230.03314.45
5.3.230.3230.03714.46
5.3.220.2970.04014.57
5.3.210.2770.04014.40
5.3.200.2970.03314.40
5.3.190.3100.03314.46
5.3.180.3470.04014.40
5.3.170.3300.03314.40
5.3.160.3830.04014.41
5.3.150.3030.03314.43
5.3.140.3130.03014.45
5.3.130.3400.03314.59
5.3.120.3630.04714.38
5.3.110.2900.03714.38
5.3.100.3000.03713.96
5.3.90.3100.03713.95
5.3.80.3130.02713.96
5.3.70.3030.03714.03
5.3.60.2700.03314.09
5.3.50.3000.03713.73
5.3.40.3370.03313.71
5.3.30.3000.03713.75
5.3.20.3130.03013.56
5.3.10.3570.04013.58
5.3.00.2900.03313.41
5.2.170.0030.03310.98
5.2.160.0000.03011.08
5.2.150.0000.04311.07
5.2.140.0000.03010.98
5.2.130.2030.03011.11
5.2.120.2600.02711.14
5.2.110.2800.02711.11
5.2.100.2730.03011.17
5.2.90.2800.02311.16
5.2.80.2770.03311.02
5.2.70.2630.03010.93
5.2.60.2330.03310.88
5.2.50.2770.02710.86
5.2.40.2270.02710.84
5.2.30.2370.03011.01
5.2.20.2200.03310.79
5.2.10.2070.02710.96
5.2.00.2100.02310.61
5.1.60.2070.0239.92
5.1.50.1300.02010.07
5.1.40.2000.0279.91
5.1.30.1770.02710.19
5.1.20.2430.02710.26
5.1.10.2070.02010.18
5.1.00.2170.02710.04
5.0.50.0970.0238.63
5.0.40.1030.0178.32
5.0.30.1170.0278.10
5.0.20.1030.0208.41
5.0.10.1170.0278.14
5.0.00.1170.0408.13
4.4.90.0970.0176.17
4.4.80.1070.0136.17
4.4.70.1070.0136.17
4.4.60.1200.0136.17
4.4.50.0930.0176.17
4.4.40.0770.0236.17
4.4.30.1100.0176.17
4.4.20.0030.0136.17
4.4.10.0000.0176.17
4.4.00.0000.0276.17
4.3.110.0000.0176.17
4.3.100.0000.0136.17
4.3.90.0000.0136.17
4.3.80.0030.0236.18
4.3.70.0000.0176.18
4.3.60.0830.0176.18
4.3.50.0630.0206.18
4.3.40.1000.0206.18
4.3.30.0500.0176.18
4.3.20.0470.0176.18
4.3.10.0270.0136.18
4.3.00.0400.0206.18