3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $admin = true; $moderator = true; if($admin && $moderator){ echo 'True'; }
based on cvUpJ

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.0070.00716.93
7.2.00.0030.00919.03
7.1.200.0040.00415.85
7.1.100.0040.00718.26
7.1.70.0040.00416.81
7.1.60.0180.00719.50
7.1.50.0090.01216.79
7.1.00.0000.08022.27
7.0.200.0320.01014.87
7.0.140.0030.05721.99
7.0.60.0100.07719.89
7.0.50.0200.07017.86
7.0.40.0030.08720.23
7.0.30.0400.07020.13
7.0.20.0300.07720.09
7.0.10.0230.06720.31
7.0.00.0100.08020.17
5.6.280.0070.07020.88
5.6.210.0070.06020.54
5.6.200.0100.07018.23
5.6.190.0100.08320.60
5.6.180.0400.06320.38
5.6.170.0370.07720.47
5.6.160.0100.08020.49
5.6.150.0030.08718.18
5.6.140.0070.06018.07
5.6.130.0030.04018.15
5.6.120.0030.08720.96
5.6.110.0100.08021.04
5.6.100.0100.07721.11
5.6.90.0070.07320.97
5.6.80.0030.08320.38
5.5.350.0300.07320.43
5.5.340.0070.03718.04
5.5.330.0100.07720.19
5.5.320.0170.05320.29
5.5.310.0300.07020.46
5.5.300.0030.04018.00
5.5.290.0070.06717.96
5.5.280.0070.05020.88
5.5.270.0130.07720.71
5.5.260.0100.04720.75
5.5.250.0070.06020.69
5.5.240.0100.04020.11
5.4.450.0300.08019.28
5.4.440.1030.05719.55
5.4.430.1000.05019.41
5.4.420.0800.08019.48
5.4.410.0070.05718.69
5.4.400.1000.06018.53
5.4.390.0670.06018.53
5.4.380.0830.07318.72
5.4.370.0630.06718.50
5.4.360.1330.05718.49
5.4.350.0900.06018.46
5.4.340.0730.07318.46
5.4.320.0730.05718.61
5.4.310.0870.04318.71
5.4.300.0900.05018.64
5.4.290.0870.05018.72
5.4.280.0900.06018.68
5.4.270.0830.06018.69
5.4.260.0830.05718.68
5.4.250.0830.05018.48
5.4.240.0870.06718.71
5.4.230.0770.07018.73
5.4.220.1030.05718.72
5.4.210.0830.05318.51
5.4.200.0970.04716.52
5.4.190.0870.06018.56
5.4.180.0700.06318.59
5.4.170.0900.06318.72
5.4.160.0800.05718.75
5.4.150.0830.05718.46
5.4.140.0700.06316.36
5.4.130.1070.06316.14
5.4.120.1030.06316.20
5.4.110.2600.04316.25
5.4.100.0830.05316.14
5.4.90.0930.04716.29
5.4.80.0770.06016.29
5.4.70.0970.06016.25
5.4.60.0930.05016.28
5.4.50.0770.04716.16
5.4.40.0730.05316.03
5.4.30.0800.04716.22
5.4.20.0870.06016.00
5.4.10.0900.06016.03
5.4.00.0900.04315.65
5.3.290.0970.05714.65
5.3.280.0700.07014.68
5.3.270.0800.05314.51
5.3.260.0870.05714.56
5.3.250.0970.04714.54
5.3.240.0930.05014.53
5.3.230.0830.05314.67
5.3.220.0770.04714.51
5.3.210.0600.06314.52
5.3.200.0730.06014.49
5.3.190.0630.05714.56
5.3.180.0630.05314.64
5.3.170.0700.06014.59
5.3.160.0770.05714.55
5.3.150.0800.07314.58
5.3.140.1030.04714.54
5.3.130.1130.05314.63
5.3.120.2030.05714.49
5.3.110.1000.04714.55
5.3.100.1170.05713.93
5.3.90.0930.05713.95
5.3.80.0930.05014.11
5.3.70.0230.07014.12
5.3.60.0830.06014.03
5.3.50.0730.05013.95
5.3.40.0670.06013.92
5.3.30.0930.04014.00
5.3.20.0670.05713.61
5.3.10.0600.04713.75
5.3.00.0770.04013.62
5.2.170.0500.05011.19
5.2.160.0570.05711.12
5.2.150.0670.03711.12
5.2.140.0600.04311.11
5.2.130.0530.04011.06
5.2.120.0770.04011.08
5.2.110.0630.05011.07
5.2.100.0430.04711.02
5.2.90.0600.06311.24
5.2.80.0700.04311.23
5.2.70.0570.05011.02
5.2.60.0600.04310.99
5.2.50.0700.03710.96
5.2.40.0700.04310.92
5.2.30.0430.04311.02
5.2.20.0370.04710.92
5.2.10.0530.04010.90
5.2.00.0570.04010.77
5.1.60.0470.03710.08
5.1.50.0530.02710.05
5.1.40.0430.0439.94
5.1.30.0500.04010.34
5.1.20.0700.05010.50
5.1.10.0700.03310.03
5.1.00.0530.03710.12
5.0.50.0370.0308.51
5.0.40.0430.0308.54
5.0.30.0470.0378.23
5.0.20.0300.0308.32
5.0.10.0130.0438.16
5.0.00.0300.0438.25
4.4.90.0330.0175.88
4.4.80.0300.0235.89
4.4.70.0370.0275.88
4.4.60.0200.0275.89
4.4.50.0170.0275.90
4.4.40.0430.0335.82
4.4.30.0230.0235.92
4.4.20.0100.0375.98
4.4.10.0200.0335.92
4.4.00.0330.0335.89
4.3.110.0300.0275.78
4.3.100.0200.0335.82
4.3.90.0070.0235.81
4.3.80.0330.0405.87
4.3.70.0300.0175.77
4.3.60.0170.0305.81
4.3.50.0430.0205.91
4.3.40.0300.0335.77
4.3.30.0130.0274.54
4.3.20.0100.0304.52
4.3.10.0230.0234.50
4.3.00.0070.0306.80