3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function Test($x,$x) { $p1 = func_get_arg(0); $p2 = func_get_arg(1); echo ($p1 * $p2); } echo Test(50,2);
based on SS5Re

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)
5.6.280.0070.07021.10
5.6.210.0100.07720.61
5.6.200.0170.07018.18
5.6.190.0070.08720.50
5.6.180.0270.08020.48
5.6.170.0270.04020.47
5.6.160.0070.08320.71
5.6.150.0100.06718.23
5.6.140.0100.04718.18
5.6.130.0000.05318.18
5.6.120.0030.05320.99
5.6.110.0030.08720.98
5.6.100.0070.08020.96
5.6.90.0070.08321.02
5.6.80.0070.08720.29
5.5.350.0370.07020.41
5.5.340.0100.08018.09
5.5.330.0130.06320.57
5.5.320.0430.04720.35
5.5.310.0270.08020.31
5.5.300.0000.08718.08
5.5.290.0070.07017.95
5.5.280.0130.07720.88
5.5.270.0030.08020.64
5.5.260.0070.07320.86
5.5.250.0130.07720.71
5.5.240.0070.08020.15
5.4.450.3670.04719.46
5.4.440.3430.04019.55
5.4.430.3530.03719.19
5.4.420.3370.04019.16
5.4.410.3130.04019.18
5.4.400.3600.03718.84
5.4.390.3470.03318.95
5.4.380.3470.03319.16
5.4.370.3330.04318.88
5.4.360.3470.04319.13
5.4.350.3400.03719.20
5.4.340.3500.04018.98
5.4.320.3530.03019.22
5.4.310.3400.04318.95
5.4.300.3500.03319.31
5.4.290.3330.04319.24
5.4.280.3600.05018.83
5.4.270.3470.03719.01
5.4.260.3500.03719.11
5.4.250.3570.03019.19
5.4.240.3170.04319.19
5.4.230.3470.03318.95
5.4.220.3430.04019.15
5.4.210.3230.03718.86
5.4.200.3500.03319.05
5.4.190.3470.04019.30
5.4.180.3530.03018.86
5.4.170.3570.04318.82
5.4.160.4030.03319.30
5.4.150.4170.03719.14
5.4.140.3830.04016.68
5.4.130.4170.03316.46
5.4.120.4000.03716.50
5.4.110.4070.03016.55
5.4.100.4070.03316.59
5.4.90.4130.03316.45
5.4.80.4130.03016.44
5.4.70.4130.03316.36
5.4.60.3570.03316.25
5.4.50.3500.04316.42
5.4.40.3770.03016.38
5.4.30.3570.03016.50
5.4.20.3500.03316.43
5.4.10.3400.04016.53
5.4.00.3270.03715.78
5.3.290.3570.03314.77
5.3.280.3130.04314.51
5.3.270.3200.04014.57
5.3.260.3170.04014.60
5.3.250.3330.04314.57
5.3.240.3370.03714.82
5.3.230.3370.04314.82
5.3.220.3400.03314.79
5.3.210.3370.04014.50
5.3.200.3500.03014.54
5.3.190.3070.04714.46
5.3.180.3330.04314.48
5.3.170.3200.04314.57
5.3.160.3470.03714.63
5.3.150.4300.02314.58
5.3.140.3900.04014.45
5.3.130.3470.03314.60
5.3.120.4170.03714.46
5.3.110.3470.03714.54
5.3.100.3200.03713.94
5.3.90.3530.04314.01
5.3.80.3400.03314.10
5.3.70.3400.04014.02
5.3.60.3500.03314.02
5.3.50.3170.03713.84
5.3.40.3200.03313.85
5.3.30.3300.03713.96
5.3.20.3300.04013.69
5.3.10.3730.03313.77
5.3.00.3370.04013.72
5.2.170.3000.02711.07
5.2.160.2700.02711.06
5.2.150.2970.02011.25
5.2.140.2900.03011.05
5.2.130.2800.03011.05
5.2.120.2530.02711.18
5.2.110.2730.03011.01
5.2.100.2800.02711.02
5.2.90.2500.02711.10
5.2.80.2770.03311.09
5.2.70.3230.03311.02
5.2.60.3570.02711.16
5.2.50.2830.02311.24
5.2.40.2330.02310.90
5.2.30.1730.02711.02
5.2.20.2170.03010.93
5.2.10.1830.02711.09
5.2.00.2570.03310.87
5.1.60.2230.02010.87
5.1.50.2170.02310.87
5.1.40.2270.01310.87
5.1.30.2170.02310.87
5.1.20.2170.02710.87
5.1.10.2100.03010.87
5.1.00.2130.02710.87
5.0.50.1270.02310.87
5.0.40.1170.01710.87
5.0.30.1200.02710.87
5.0.20.1070.02010.87
5.0.10.1030.02310.87
5.0.00.1200.02710.87
4.4.90.1330.01710.87
4.4.80.1070.01710.87
4.4.70.1300.02010.87
4.4.60.1330.01710.87
4.4.50.1100.01310.87
4.4.40.1300.02710.87
4.4.30.1330.01310.87
4.4.20.1200.01010.87
4.4.10.1130.01310.87
4.4.00.1230.02710.87
4.3.110.1330.01710.87
4.3.100.1230.01710.87
4.3.90.1100.01710.87
4.3.80.1070.02710.87
4.3.70.1330.02010.87
4.3.60.1130.01710.87
4.3.50.1230.01710.87
4.3.40.1100.02310.87
4.3.30.0730.02310.87
4.3.20.0600.02010.87
4.3.10.0530.01710.87
4.3.00.0630.02010.87