3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ('n') {echo "True";}else{ echo "False";} die();?>
based on rq3bT

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.00.0030.01219.00
7.1.100.0040.00817.69
7.1.70.0000.00816.73
7.1.60.0060.00619.50
7.1.50.0060.01916.93
7.1.00.0070.07022.31
7.0.200.0150.00414.48
7.0.140.0030.05322.09
7.0.60.0030.07020.00
7.0.50.0100.06717.88
7.0.40.0070.05020.05
7.0.30.0300.07320.17
7.0.20.0300.07320.04
7.0.10.0200.07320.19
7.0.00.0070.05720.00
5.6.210.0030.04020.70
5.6.200.0100.07318.20
5.6.190.0130.08020.48
5.6.180.3400.03720.46
5.6.170.0230.04320.55
5.6.160.0100.08020.51
5.6.150.0070.07718.19
5.6.140.0030.08318.12
5.6.130.0100.08018.09
5.6.120.0070.07721.01
5.6.110.0070.07020.96
5.6.100.0230.06321.06
5.6.90.0070.04020.84
5.6.80.0030.05720.38
5.6.70.3270.03720.51
5.5.350.0100.07720.30
5.5.340.0070.04317.92
5.5.330.0030.04020.43
5.5.320.0230.07320.34
5.5.310.0200.06320.21
5.5.300.0100.07717.98
5.5.290.0100.06317.91
5.5.280.0170.07720.74
5.5.270.0000.05020.95
5.5.260.0070.08720.76
5.5.250.0100.07720.65
5.5.240.0030.08020.26
5.4.450.0300.06019.25
5.4.440.0070.06719.38
5.4.430.0900.05719.31
5.4.420.0930.05319.34
5.4.410.0070.06718.99
5.4.400.0400.06018.50
5.4.390.0400.05718.59
5.4.380.0570.06318.77
5.4.370.0330.06018.79
5.4.360.0370.05718.70
5.4.350.0430.07018.73
5.4.340.0270.06718.78
5.4.320.0370.05318.58
5.4.310.0330.06018.72
5.4.300.0530.07718.72
5.4.290.0630.06718.54
5.4.280.0570.05718.70
5.4.270.0400.06318.69
5.4.260.0270.07018.57
5.4.250.0530.07318.73
5.4.240.0370.06018.48
5.4.230.0430.05018.66
5.4.220.0400.06718.52
5.4.210.0530.06018.66
5.4.200.0370.08016.34
5.4.190.0530.06018.54
5.4.180.0370.07018.70
5.4.170.0470.05018.70
5.4.160.0530.07018.61
5.4.150.0330.06318.70
5.4.140.0330.07716.16
5.4.130.0430.04316.13
5.4.120.0470.07316.08
5.4.110.0300.07316.29
5.4.100.0570.04716.13
5.4.90.0430.05316.24
5.4.80.0330.05716.20
5.4.70.0370.07016.28
5.4.60.0470.05016.14
5.4.50.0570.05716.27
5.4.40.0300.06016.38
5.4.30.0270.06016.26
5.4.20.0330.05716.16
5.4.10.0400.04716.27
5.4.00.0530.04715.51
5.3.290.0300.05014.64
5.3.280.0270.06014.55
5.3.270.0330.05314.65
5.3.260.0330.05714.59
5.3.250.0330.05714.65
5.3.240.0330.06714.51
5.3.230.0330.06714.55
5.3.220.0500.05014.45
5.3.210.0570.06014.49
5.3.200.0470.06314.66
5.3.190.0470.04014.47
5.3.180.0470.05014.59
5.3.170.0430.05314.54
5.3.160.0430.04014.61
5.3.150.0400.05714.59
5.3.140.0400.05314.55
5.3.130.0400.06314.44
5.3.120.0300.06314.46
5.3.110.0230.07314.63
5.3.100.0630.05713.94
5.3.90.0500.06714.01
5.3.80.0400.05314.00
5.3.70.0500.05714.00
5.3.60.0430.07013.99
5.3.50.0400.04313.94
5.3.40.0430.05013.90
5.3.30.0430.05713.90
5.3.20.0330.04313.68
5.3.10.0200.05713.62
5.3.00.0470.05713.62
5.2.170.0400.04011.30
5.2.160.0400.04711.07
5.2.150.0200.05311.29
5.2.140.0370.03011.09
5.2.130.0330.04311.23
5.2.120.0300.03711.07
5.2.110.0300.04011.05
5.2.100.0400.04711.11
5.2.90.0200.05011.15
5.2.80.0200.05711.08
5.2.70.0270.04011.09
5.2.60.0230.05011.18
5.2.50.0370.03711.07
5.2.40.0300.05011.03
5.2.30.0170.04711.00
5.2.20.0100.04311.12
5.2.10.0100.04010.91
5.2.00.0170.04010.68
5.1.60.0430.04310.04
5.1.50.5330.03010.05
5.1.40.0370.0279.99
5.1.30.0330.02710.37
5.1.20.0170.04010.50
5.1.10.0100.04710.13
5.1.00.0300.04010.18
5.0.50.0130.0338.65
5.0.40.0170.0378.40
5.0.30.0130.0538.36
5.0.20.0230.0338.38
5.0.10.0170.0338.14
5.0.00.0200.0538.32
4.4.90.0170.0305.91
4.4.80.0130.0335.91
4.4.70.0130.0235.91
4.4.60.0200.0175.91
4.4.50.0130.0235.92
4.4.40.0170.0405.91
4.4.30.0170.0235.91
4.4.20.0030.0305.97
4.4.10.0130.0175.98
4.4.00.0130.0405.91
4.3.110.0130.0275.91
4.3.100.0130.0235.91
4.3.90.0130.0205.91
4.3.80.0100.0375.91
4.3.70.0130.0275.91
4.3.60.0070.0235.91
4.3.50.0170.0275.91
4.3.40.0130.0435.91
4.3.30.0030.0235.91
4.3.20.0030.0275.91
4.3.10.0070.0205.91
4.3.00.0170.0176.89