3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $where = 'haha'; echo ($where != '' AND count($where) >=1) ? " WHERE ".implode(" ", $where) : 'fuck';

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.10.0110.01116.33
7.3.00.0030.01016.47
7.2.130.0030.00716.32
7.2.120.0090.00316.67
7.2.110.0170.00016.55
7.2.100.0060.01216.66
7.2.90.0100.01016.61
7.2.80.0030.00716.60
7.2.70.0130.00716.47
7.2.60.0060.01016.68
7.2.50.0110.00716.71
7.2.40.0070.01316.54
7.2.30.0100.01016.70
7.2.20.0110.00116.66
7.2.10.0090.00616.77
7.2.00.0120.00518.00
7.1.250.0030.01315.60
7.1.200.0030.00715.54
7.1.100.0060.00618.19
7.1.70.0030.00517.27
7.1.60.0030.02019.30
7.1.50.0070.01416.97
7.1.00.0030.03322.32
7.0.200.0280.00914.86
7.0.140.0070.07022.08
7.0.120.0000.07322.16
7.0.60.0100.06019.96
7.0.50.0030.08717.85
7.0.40.0070.09320.08
7.0.30.0230.04720.09
7.0.20.0300.08019.99
7.0.10.0030.04320.18
7.0.00.0030.06720.04
5.6.280.0070.06720.89
5.6.210.0070.08020.65
5.6.200.0070.03718.07
5.6.190.0000.04320.60
5.6.180.0200.05020.77
5.6.170.0300.06720.38
5.6.160.0030.04020.35
5.6.150.0030.03718.11
5.6.140.0100.08018.20
5.6.130.0130.03718.18
5.6.120.0070.08021.11
5.6.110.0170.07720.87
5.6.100.0170.07721.13
5.6.90.0130.07721.11
5.6.80.0000.04320.41
5.5.350.0230.07020.51
5.5.340.0030.08017.98
5.5.330.0070.08020.37
5.5.320.0430.06020.21
5.5.310.0430.05320.41
5.5.300.0100.07717.92
5.5.290.0070.08017.98
5.5.280.0070.04320.96
5.5.270.0130.07720.75
5.5.260.0030.08320.76
5.5.250.0030.06020.68
5.5.240.0000.05020.11
5.4.450.0330.06319.25
5.4.440.0130.05319.43
5.4.430.0300.06319.40
5.4.420.0330.06319.41
5.4.410.0300.06019.32
5.4.400.0230.07019.16
5.4.390.0270.06019.06
5.4.380.0270.06719.09
5.4.370.0270.04318.80
5.4.360.0300.05319.16
5.4.350.0200.07719.09
5.4.340.0130.05718.93
5.4.320.0270.06018.90
5.4.310.0230.05019.25
5.4.300.0270.06318.82
5.4.290.0170.05018.80
5.4.280.0230.07319.09
5.4.270.0230.06019.09
5.4.260.0330.06019.08
5.4.250.0230.07019.09
5.4.240.0200.04719.09
5.4.230.0300.06718.79
5.4.220.0400.05719.23
5.4.210.0230.04719.15
5.4.200.0230.04319.08
5.4.190.0200.06719.08
5.4.180.0270.06319.05
5.4.170.0230.06719.10
5.4.160.0300.05019.20
5.4.150.0270.05318.79
5.4.140.0300.05316.27
5.4.130.0330.04716.27
5.4.120.0200.06016.44
5.4.110.0230.06316.49
5.4.100.0230.06716.22
5.4.90.0230.05316.22
5.4.80.0130.06016.40
5.4.70.0200.04716.29
5.4.60.0300.02716.19
5.4.50.0300.06316.36
5.4.40.0200.05016.31
5.4.30.0130.07716.38
5.4.20.0270.07016.17
5.4.10.0170.06716.35
5.4.00.0200.05015.80
5.3.290.0200.07314.61
5.3.280.0330.05314.67
5.3.270.0200.07014.50
5.3.260.0230.06314.45
5.3.250.0200.05314.46
5.3.240.0270.06014.44
5.3.230.0230.07714.44
5.3.220.0370.06014.39
5.3.210.0270.06714.40
5.3.200.0230.07014.49
5.3.190.0170.04314.65
5.3.180.0270.07014.54
5.3.170.0300.06014.48
5.3.160.0200.06014.49
5.3.150.0200.07714.43
5.3.140.0230.04714.38
5.3.130.0270.06014.63
5.3.120.0270.07314.63
5.3.110.0270.06014.59
5.3.100.0130.04313.91
5.3.90.0270.07014.05
5.3.80.0230.06313.96
5.3.70.0230.05013.85
5.3.60.0230.06313.92
5.3.50.0200.06313.82
5.3.40.0230.06313.82
5.3.30.0230.06313.78
5.3.20.0270.06313.55
5.3.10.0170.05713.75
5.3.00.0230.06313.62
5.2.170.0200.05711.82
5.2.160.0170.05011.82
5.2.150.0270.04011.82
5.2.140.0170.06011.82
5.2.130.0300.02711.82
5.2.120.0170.04311.82
5.2.110.0170.06011.82
5.2.100.0230.05011.82
5.2.90.0230.05011.82
5.2.80.0200.05311.82
5.2.70.0170.05311.82
5.2.60.0170.04311.82
5.2.50.0270.05711.82
5.2.40.0170.05311.82
5.2.30.0130.06011.82
5.2.20.0130.05011.82
5.2.10.0170.04711.82
5.2.00.0200.05311.82
5.1.60.0270.05011.82
5.1.50.0170.05311.82
5.1.40.0170.04711.82
5.1.30.0270.04711.82
5.1.20.0130.05711.82
5.1.10.0170.05011.82
5.1.00.0130.05311.82
5.0.50.0170.04011.82
5.0.40.0100.04311.82
5.0.30.0070.05011.82
5.0.20.0030.04711.82
5.0.10.0070.04311.82
5.0.00.0100.04711.82
4.4.90.0130.02311.82
4.4.80.0170.02711.82
4.4.70.0030.03311.82
4.4.60.0130.03011.82
4.4.50.0030.03011.82
4.4.40.0100.04711.82
4.4.30.0070.03311.82
4.4.20.0070.03711.82
4.4.10.0100.03311.82
4.4.00.0100.04711.82
4.3.110.0070.02711.82
4.3.100.0200.02311.82
4.3.90.0070.03711.82
4.3.80.0070.04311.82
4.3.70.0100.03311.82
4.3.60.0070.02711.82
4.3.50.0170.02311.82
4.3.40.0070.04011.82
4.3.30.0030.04011.82
4.3.20.0070.03711.82
4.3.10.0070.03011.82
4.3.00.0030.03011.82