3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php (function(){echo "HELL YEAH!";})();

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.60.0090.00616.94
7.2.00.0030.01019.01
7.1.200.0000.01215.79
7.1.100.0660.00815.90
7.1.70.0050.00516.99
7.1.60.0070.01719.32
7.1.50.0060.01316.66
7.1.00.0100.07022.33
7.0.200.0030.00716.66
7.0.140.0030.07722.08
7.0.60.0100.08019.90
7.0.50.0130.07717.89
7.0.40.0030.04720.02
7.0.30.0300.03720.13
7.0.20.0200.08320.19
7.0.10.0200.08020.13
7.0.00.0030.08720.14
5.6.280.0070.08720.89
5.6.210.0000.04720.56
5.6.200.0070.05718.12
5.6.190.0100.08020.46
5.6.180.0270.07720.43
5.6.170.0300.03720.47
5.6.160.0100.05720.54
5.6.150.0000.06318.23
5.6.140.0130.07018.18
5.6.130.0100.08318.20
5.6.120.0200.05021.00
5.6.110.0130.07020.89
5.6.100.0030.05321.00
5.6.90.0100.07320.96
5.6.80.0070.04020.41
5.5.350.0030.07720.43
5.5.340.0000.05017.94
5.5.330.0130.08320.19
5.5.320.2970.03320.28
5.5.310.0230.05320.28
5.5.300.0000.05717.98
5.5.290.0100.08718.04
5.5.280.0070.05020.86
5.5.270.0130.08020.86
5.5.260.0070.07720.84
5.5.250.0130.07320.69
5.5.240.0030.07320.36
5.4.450.1400.04319.52
5.4.440.1570.05719.19
5.4.430.1630.03719.41
5.4.420.1830.04719.52
5.4.410.1670.03719.35
5.4.400.1570.03018.86
5.4.390.1570.04019.21
5.4.380.1970.04319.09
5.4.370.1830.04319.17
5.4.360.1600.03319.10
5.4.350.0930.04019.09
5.4.340.0070.05719.23
5.4.320.0170.07019.22
5.4.310.1070.03719.22
5.4.300.1600.04719.21
5.4.290.1670.03019.11
5.4.280.1600.03319.02
5.4.270.1530.04019.21
5.4.260.1730.04318.87
5.4.250.1800.04318.95
5.4.240.1530.04018.83
5.4.230.1630.03319.04
5.4.220.1670.03018.85
5.4.210.1570.03718.84
5.4.200.1570.04719.21
5.4.190.0030.04719.21
5.4.180.0030.03719.30
5.4.170.0570.05019.30
5.4.160.1500.04319.28
5.4.150.1600.04019.11
5.4.140.1700.03316.66
5.4.130.1730.04316.39
5.4.120.1630.04316.29
5.4.110.0400.05316.45
5.4.100.1400.04016.55
5.4.90.1770.03016.41
5.4.80.1600.03716.27
5.4.70.1530.04016.34
5.4.60.1600.04016.45
5.4.50.1470.03716.53
5.4.40.0030.04016.32
5.4.30.0100.05016.37
5.4.20.0800.04016.18
5.4.10.1770.04716.52
5.4.00.1500.04015.76
5.3.290.1770.05014.53
5.3.280.1500.04014.58
5.3.270.1500.04014.72
5.3.260.1470.04314.72
5.3.250.1730.04314.68
5.3.240.1530.03714.57
5.3.230.1670.04314.57
5.3.220.1700.04314.55
5.3.210.1500.04314.54
5.3.200.0070.04014.56
5.3.190.0070.07714.79
5.3.180.0930.05014.49
5.3.170.1830.04314.57
5.3.160.1870.04314.64
5.3.150.1500.04314.48
5.3.140.1800.04014.47
5.3.130.1600.03714.70
5.3.120.1730.04314.47
5.3.110.1670.02714.66
5.3.100.1830.04014.26
5.3.90.1830.03714.16
5.3.80.2030.03714.09
5.3.70.0030.03714.16
5.3.60.0130.06713.91
5.3.50.0770.06014.03
5.3.40.1430.03714.00
5.3.30.1730.03313.81
5.3.20.1530.03313.60
5.3.10.1530.03313.77
5.3.00.1800.03713.64
5.2.170.1470.04311.08
5.2.160.1570.03311.19
5.2.150.1500.04310.98
5.2.140.1530.03311.00
5.2.130.1370.03310.93
5.2.120.1500.03010.94
5.2.110.1330.03010.94
5.2.100.0030.02711.15
5.2.90.0000.03011.18
5.2.80.0130.03311.14
5.2.70.1430.02310.93
5.2.60.1400.02310.88
5.2.50.1400.03010.87
5.2.40.1230.03310.84
5.2.30.1070.02710.93
5.2.20.1270.02710.98
5.2.10.1000.03310.87
5.2.00.1000.03310.67
5.1.60.0770.01710.00
5.1.50.1200.03010.08
5.1.40.1270.0309.85
5.1.30.1270.03310.38
5.1.20.1100.03010.32
5.1.10.1030.03010.11
5.1.00.1270.0309.99
5.0.50.0070.0208.63
5.0.40.0000.0208.50
5.0.30.0030.0308.39
5.0.20.0030.0178.09
5.0.10.0000.0238.14
5.0.00.0000.0308.13
4.4.90.0170.0137.77
4.4.80.0470.0177.77
4.4.70.0430.0137.77
4.4.60.0570.0137.77
4.4.50.0630.0207.77
4.4.40.0600.0207.77
4.4.30.0570.0107.77
4.4.20.0500.0177.77
4.4.10.0530.0177.77
4.4.00.0670.0277.77
4.3.110.0530.0177.77
4.3.100.0500.0107.77
4.3.90.0630.0077.77
4.3.80.0530.0237.77
4.3.70.0600.0107.77
4.3.60.0430.0137.77
4.3.50.0530.0177.77
4.3.40.0570.0237.77
4.3.30.0300.0137.77
4.3.20.0270.0177.77
4.3.10.0270.0177.77
4.3.00.0370.0177.77