3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface iTemplate { public function setVariable($name, $var); public function getHtml($template); }

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.130.0200.01015.65
7.2.120.0200.00515.59
7.2.110.0180.00915.77
7.2.100.0100.00415.76
7.2.90.0220.01115.82
7.2.80.0140.01015.55
7.2.70.0200.00616.05
7.2.60.0100.00916.06
7.2.50.0080.01116.25
7.2.40.0130.00616.14
7.2.30.0120.01015.85
7.2.20.0140.00515.77
7.2.10.0160.00615.88
7.2.00.0230.00616.03
7.1.250.0180.00714.78
7.1.240.0200.00914.51
7.1.230.0220.00814.61
7.1.220.0210.00614.59
7.1.210.0140.00514.65
7.1.200.0190.00714.96
7.1.190.0240.00414.57
7.1.180.0680.00714.60
7.1.170.0160.00914.51
7.1.160.0180.00714.62
7.1.150.0140.00514.71
7.1.140.0070.01214.60
7.1.130.0150.00714.77
7.1.120.0190.00614.82
7.1.110.0220.00814.72
7.1.100.0110.00914.68
7.1.90.0270.00714.72
7.1.80.0150.00814.66
7.1.70.0130.00815.25
7.1.60.0180.00515.77
7.1.50.0180.00815.32
7.1.40.0680.00714.82
7.1.30.0130.00914.52
7.1.20.0130.00914.56
7.1.10.0180.01214.37
7.1.00.0150.02316.49
7.0.330.0200.00614.48
7.0.320.0200.00514.40
7.0.310.0200.00414.39
7.0.300.0180.00814.12
7.0.290.0230.00814.38
7.0.280.0180.00514.26
7.0.270.0200.00714.31
7.0.260.0210.00814.44
7.0.250.0220.00914.23
7.0.240.0120.01014.32
7.0.230.0260.00614.32
7.0.220.0180.00814.32
7.0.210.0190.00514.31
7.0.200.0120.00814.89
7.0.190.0220.00414.23
7.0.180.0220.00814.50
7.0.170.0180.00614.50
7.0.160.0210.00914.42
7.0.150.0170.00714.31
7.0.140.0160.02116.12
7.0.130.0220.00514.43
7.0.120.0210.00414.41
7.0.110.0140.01114.29
7.0.100.0210.00714.33
7.0.90.0180.00714.31
7.0.80.0180.00514.14
7.0.70.0320.00914.34
7.0.60.0160.02715.73
7.0.50.0140.01615.35
7.0.40.0100.01815.84
7.0.30.0210.02715.81
7.0.20.0190.02415.91
7.0.10.0160.01715.93
7.0.00.0220.01615.65
hhvm-3.22.00.1210.18590.07
hhvm-3.21.30.0920.16988.67
hhvm-3.21.00.0930.17088.87
hhvm-3.20.20.1010.17889.15
hhvm-3.19.20.0970.17588.47
hhvm-3.18.50.1000.19186.76
hhvm-3.18.40.0960.18086.94
hhvm-3.17.30.1030.15585.98
hhvm-3.15.40.0800.15783.67
hhvm-3.13.20.1220.17395.18
hhvm-3.12.140.1190.15594.15
hhvm-3.11.10.1080.18185.77
hhvm-3.10.10.1150.15483.49
5.6.380.0070.00614.09
5.6.370.0090.00914.05
5.6.360.0140.00514.05
5.6.350.0100.00914.00
5.6.340.0070.01114.09
5.6.330.0070.01014.24
5.6.320.0100.01014.25
5.6.310.0100.01014.12
5.6.300.0130.00814.19
5.6.290.0100.01014.10
5.6.280.0100.02315.78
5.6.270.0110.00914.13
5.6.260.0130.00714.00
5.6.250.0140.00514.01
5.6.240.0150.00714.10
5.6.230.0130.00714.02
5.6.220.0130.00713.95
5.6.210.0100.01715.72
5.6.200.0140.01815.15
5.6.190.0100.02715.52
5.6.180.0120.01615.71
5.6.170.0130.02415.59
5.6.160.0090.02315.75
5.6.150.0100.02815.20
5.6.140.0120.02015.11
5.6.130.0100.01815.10
5.6.120.0110.01615.82
5.6.110.0090.01615.71
5.6.100.0090.02415.87
5.6.90.0130.01515.75
5.6.80.0050.03215.51
5.6.70.0110.00813.90
5.6.60.0120.00714.03
5.6.50.0080.01113.95
5.6.40.0150.00214.00
5.6.30.0130.00613.87
5.6.20.0090.01114.00
5.6.10.0110.00913.79
5.6.00.0170.00413.94
5.5.380.0130.00310.90
5.5.370.0140.00210.97
5.5.360.0120.00310.91
5.5.350.1150.01513.19
5.5.340.0050.02612.63
5.5.330.0110.02313.30
5.5.320.0130.01513.23
5.5.310.0180.01713.27
5.5.300.0080.02512.66
5.5.290.0070.02012.57
5.5.280.0090.02213.49
5.5.270.0100.02413.39
5.5.260.0070.02313.36
5.5.250.0120.02113.21
5.5.240.0060.02413.15
5.5.230.0070.00710.75
5.5.220.0060.00810.79
5.5.210.0050.00910.79
5.5.200.0080.00610.78
5.5.190.0090.00510.75
5.5.180.0040.01010.74
5.5.170.0120.00913.81
5.5.160.0060.00910.87
5.5.150.0080.00710.87
5.5.140.0080.00610.70
5.5.130.0130.00310.87
5.5.120.0070.00610.98
5.5.110.0120.00210.77
5.5.100.0080.00711.08
5.5.90.0110.00610.86
5.5.80.0070.00810.88
5.5.70.0110.00610.80
5.5.60.0080.00510.85
5.5.50.0120.00410.83
5.5.40.0080.00710.83
5.5.30.0130.00410.83
5.5.20.0070.00510.83
5.5.10.0020.01210.72
5.5.00.0100.00410.75
5.4.450.0200.02312.99
5.4.440.0430.01612.97
5.4.430.0450.01412.96
5.4.420.0360.01712.89
5.4.410.0500.01312.87
5.4.400.0250.01712.85
5.4.390.0080.02312.76
5.4.380.0080.01312.89
5.4.370.0470.01712.82
5.4.360.0470.01612.87
5.4.350.0510.01312.97
5.4.340.0360.01512.84
5.4.330.0100.00610.74
5.4.320.0460.01112.71
5.4.310.0180.01912.79
5.4.300.0100.01212.81
5.4.290.0180.01212.81
5.4.280.0430.01512.72
5.4.270.0450.01012.79
5.4.260.0430.01612.73
5.4.250.0520.01312.85
5.4.240.0440.01212.87
5.4.230.0450.01612.98
5.4.220.0470.01012.88
5.4.210.0550.01112.72
5.4.200.0450.01412.81
5.4.190.0480.01312.79
5.4.180.0090.01512.88
5.4.170.0060.01612.86
5.4.160.0060.01512.73
5.4.150.0260.01712.87
5.4.140.0070.01412.08
5.4.130.0100.01412.22
5.4.120.0220.01212.13
5.4.110.0460.01712.21
5.4.100.0500.01412.22
5.4.90.0110.01112.23
5.4.80.0060.02312.13
5.4.70.0400.01412.28
5.4.60.0090.02012.17
5.4.50.0080.02412.12
5.4.40.0090.02312.17
5.4.30.0500.01512.19
5.4.20.0070.01812.20
5.4.10.0100.01412.22
5.4.00.0060.01312.07
5.3.290.0110.02112.63
5.3.280.0850.02812.61
5.3.270.0830.02112.60
5.3.260.0060.02512.62
5.3.250.0060.04212.66
5.3.240.0490.02112.61
5.3.230.0780.02612.69
5.3.220.0790.02312.59
5.3.210.0940.02212.64
5.3.200.0870.02612.56
5.3.190.0810.02212.55
5.3.180.0890.02312.60
5.3.170.0860.02612.58
5.3.160.0920.02712.58
5.3.150.0940.02112.60
5.3.140.0730.02512.62
5.3.130.0080.02312.63
5.3.120.0050.02312.54
5.3.110.0410.01812.66
5.3.100.0060.02512.41
5.3.90.0080.03512.35
5.3.80.0550.02012.37
5.3.70.0900.02312.28
5.3.60.0820.02112.39
5.3.50.0990.01812.40
5.3.40.0870.02012.33
5.3.30.0040.04012.26
5.3.20.0050.02012.17
5.3.10.0060.02312.15
5.3.00.0590.02312.25
5.2.170.0760.01810.85
5.2.160.0630.01810.86
5.2.150.0800.01910.93
5.2.140.0820.01710.93
5.2.130.0770.01810.91
5.2.120.0050.01710.88
5.2.110.0030.02910.87
5.2.100.0090.02310.91
5.2.90.0050.01510.82
5.2.80.0050.01910.82
5.2.70.0090.02310.94
5.2.60.0770.01710.80
5.2.50.0790.02110.83
5.2.40.0650.02110.78
5.2.30.0610.02310.87
5.2.20.0580.01610.80
5.2.10.0600.01610.69
5.2.00.0640.01310.68
5.1.60.0070.02510.38
5.1.50.0040.01710.39
5.1.40.0050.01510.39
5.1.30.0060.03010.45
5.1.20.0450.02610.45
5.1.10.0660.01610.36
5.1.00.0530.02010.29
5.0.50.0080.0209.53
5.0.40.0040.0149.60
5.0.30.0010.0219.49
5.0.20.0050.0179.41
5.0.10.0040.0249.36
5.0.00.0050.0249.44
4.4.90.0030.0119.28
4.4.80.0040.0119.28
4.4.70.0040.0139.28
4.4.60.0050.0159.28
4.4.50.0040.0189.28
4.4.40.0040.0199.28
4.4.30.0030.0109.28
4.4.20.0050.0159.28
4.4.10.0020.0139.28
4.4.00.0260.0229.28
4.3.110.0290.0109.28
4.3.100.0360.0139.28
4.3.90.0270.0109.28
4.3.80.0170.0249.28
4.3.70.0230.0129.28
4.3.60.0310.0129.28
4.3.50.0300.0089.28
4.3.40.0370.0179.28
4.3.30.0210.0119.28
4.3.20.0120.0119.28
4.3.10.0160.0149.28
4.3.00.0160.0079.28