3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ('portal' == 'fag') { echo "TRUE"; } else { echo "FALSE!!!"; }
based on S2AFZ

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.0060.00616.54
7.2.00.0030.00919.26
7.1.200.0070.00715.70
7.1.100.0080.00318.22
7.1.70.0060.00316.84
7.1.60.0070.01819.46
7.1.50.0220.01334.56
7.1.00.0070.07022.43
7.0.200.0030.00616.79
7.0.140.0000.03722.09
7.0.60.0130.05019.91
7.0.50.0030.03717.81
7.0.40.0200.04320.27
7.0.30.0300.08320.13
7.0.20.0200.06720.33
7.0.10.0070.08320.30
7.0.00.0030.09319.99
5.6.280.0000.07720.89
5.6.210.0030.08320.59
5.6.200.0000.04318.21
5.6.190.0100.04720.64
5.6.180.0000.08320.45
5.6.170.0270.07720.71
5.6.160.0100.08020.61
5.6.150.0100.04718.09
5.6.140.0030.08018.07
5.6.130.0030.10318.17
5.6.120.0100.05021.13
5.6.110.0070.08021.13
5.6.100.0100.05720.98
5.6.90.0100.07720.87
5.6.80.0170.02720.38
5.5.350.4400.03020.52
5.5.340.0070.08017.95
5.5.330.0030.06320.43
5.5.320.0570.05720.29
5.5.310.0100.05020.28
5.5.300.0070.03718.01
5.5.290.0070.08718.02
5.5.280.0070.08320.95
5.5.270.0070.04020.75
5.5.260.0030.04020.75
5.5.250.0000.04320.78
5.5.240.0130.04020.36
5.4.450.0730.07319.13
5.4.440.0130.06319.63
5.4.430.0900.06019.48
5.4.420.0100.06719.57
5.4.410.0170.04719.32
5.4.400.0170.05318.66
5.4.390.0170.05318.48
5.4.380.0170.07718.49
5.4.370.0130.07318.66
5.4.360.0100.05718.76
5.4.350.0200.05318.70
5.4.340.0130.05718.76
5.4.320.0070.07018.43
5.4.310.0100.06018.59
5.4.300.0130.05318.59
5.4.290.0130.07018.48
5.4.280.0200.05018.70
5.4.270.0070.06318.66
5.4.260.0230.05018.70
5.4.250.0230.05018.63
5.4.240.0170.05718.55
5.4.230.0170.05718.66
5.4.220.0300.06318.55
5.4.210.0200.05018.57
5.4.200.0170.05016.61
5.4.190.0270.06318.59
5.4.180.0230.07018.61
5.4.170.0130.06018.72
5.4.160.0170.05718.45
5.4.150.0200.04718.70
5.4.140.0130.05316.43
5.4.130.0130.05016.06
5.4.120.0230.04316.24
5.4.110.0170.04716.24
5.4.100.0270.04316.01
5.4.90.0170.05316.24
5.4.80.0130.06716.18
5.4.70.0200.04716.22
5.4.60.0170.05016.25
5.4.50.0100.05316.28
5.4.40.0200.04716.18
5.4.30.0200.04316.27
5.4.20.0200.04716.24
5.4.10.0100.05716.27
5.4.00.0100.05715.61
5.3.290.0170.05714.76
5.3.280.0170.05314.50
5.3.270.0270.04314.65
5.3.260.0300.04714.60
5.3.250.0170.05714.65
5.3.240.0070.06014.49
5.3.230.0230.04314.59
5.3.220.0130.05314.55
5.3.210.0300.04714.53
5.3.200.0130.05314.57
5.3.190.0270.04314.59
5.3.180.0130.05714.64
5.3.170.0200.04714.49
5.3.160.0230.04714.59
5.3.150.0170.06714.52
5.3.140.0130.05714.50
5.3.130.0100.06014.63
5.3.120.0170.07014.65
5.3.110.0030.06714.59
5.3.100.0200.04713.98
5.3.90.0270.03714.11
5.3.80.0100.05714.00
5.3.70.0200.04313.93
5.3.60.0100.05313.89
5.3.50.0200.05013.93
5.3.40.0200.05013.92
5.3.30.0170.04713.89
5.3.20.0170.04713.68
5.3.10.0100.05313.59
5.3.00.0270.04013.61
5.2.170.0100.04311.20
5.2.160.0130.04011.07
5.2.150.0130.04311.13
5.2.140.0130.05311.05
5.2.130.0100.04311.08
5.2.120.0130.05011.10
5.2.110.0200.03311.07
5.2.100.0130.04011.05
5.2.90.0230.03011.11
5.2.80.0100.04711.04
5.2.70.0130.04311.15
5.2.60.0100.04711.10
5.2.50.0170.04011.00
5.2.40.0070.04710.96
5.2.30.0170.03711.00
5.2.20.0100.04011.07
5.2.10.0100.04310.85
5.2.00.0230.03710.85
5.1.60.0200.03710.09
5.1.50.0100.03310.13
5.1.40.0130.03010.11
5.1.30.0070.04010.32
5.1.20.0100.04010.39
5.1.10.0130.03310.13
5.1.00.0070.04010.17
5.0.50.0030.0338.52
5.0.40.0030.0308.52
5.0.30.0100.0408.28
5.0.20.0100.0238.18
5.0.10.0070.0308.16
5.0.00.0100.0438.25
4.4.90.0000.0275.93
4.4.80.0100.0175.85
4.4.70.0070.0235.85
4.4.60.0030.0235.91
4.4.50.0100.0205.90
4.4.40.0070.0375.91
4.4.30.0030.0305.82
4.4.20.0000.0275.95
4.4.10.0070.0206.00
4.4.00.0030.0375.94
4.3.110.0030.0235.88
4.3.100.0070.0205.83
4.3.90.0030.0205.90
4.3.80.0030.0405.83
4.3.70.0030.0235.76
4.3.60.0070.0205.82
4.3.50.0000.0275.75
4.3.40.0070.0335.77
4.3.30.0070.0204.59
4.3.20.0030.0234.53
4.3.10.0000.0274.49
4.3.00.0100.0236.93