3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(NULL){ echo 'this'; }

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.0060.00919.17
7.1.100.0110.00417.74
7.1.70.0070.00416.97
7.1.60.0000.02419.46
7.1.50.0070.01416.79
7.1.00.0000.08022.40
7.0.200.0060.00916.57
7.0.140.0000.07722.09
7.0.110.0200.04319.98
7.0.100.0200.05720.06
7.0.90.0100.04719.96
7.0.80.0170.04319.96
7.0.70.0130.04019.88
7.0.60.0030.04719.92
7.0.50.0130.04019.85
7.0.40.0030.04319.80
7.0.30.0070.04319.60
7.0.20.0070.04319.72
7.0.10.0030.04019.77
7.0.00.0030.04019.64
5.6.280.0070.07021.04
5.6.260.0030.04020.66
5.6.250.0100.03320.71
5.6.240.0030.04020.82
5.6.230.0030.05720.70
5.6.220.0100.04020.53
5.6.210.0100.03020.61
5.6.200.0070.04320.70
5.6.190.0100.03320.84
5.6.180.0070.03720.63
5.6.170.0070.04720.58
5.6.160.0000.04020.45
5.6.150.0070.04720.55
5.6.140.0000.06020.54
5.6.130.0000.04320.63
5.6.120.0100.03320.63
5.6.110.0070.05320.54
5.6.100.0070.04320.62
5.6.90.0100.07020.54
5.6.80.0030.07020.23
5.6.70.0070.05320.19
5.6.60.0100.07319.97
5.6.50.0070.08019.95
5.6.40.0030.05019.92
5.6.30.0070.05720.01
5.6.20.0070.08320.05
5.6.10.0170.06719.90
5.6.00.0000.08019.92
5.5.380.0100.03317.63
5.5.370.0100.03317.55
5.5.360.0030.04017.51
5.5.350.0070.05017.66
5.5.340.0100.03318.25
5.5.330.0100.04317.85
5.5.320.0070.04018.02
5.5.310.0000.04318.02
5.5.300.0000.04718.13
5.5.290.0030.04318.25
5.5.280.0100.03317.86
5.5.270.0070.04718.11
5.5.260.0000.04318.11
5.5.250.0070.06017.82
5.5.240.0030.07717.52
5.5.230.0000.07017.47
5.5.220.0070.04717.26
5.5.210.0000.06317.22
5.5.200.0070.07717.21
5.5.190.0030.07017.11
5.5.180.0100.07317.48
5.5.160.0030.07017.36
5.5.150.0070.07317.21
5.5.140.0070.07317.51
5.5.130.0070.07717.21
5.5.120.0100.06017.51
5.5.110.0030.07717.11
5.5.100.0100.07017.38
5.5.90.0030.06717.38
5.5.80.0030.07717.26
5.5.70.0100.07017.10
5.5.60.0070.03717.23
5.5.50.0030.07317.40
5.5.40.0000.08317.25
5.5.30.0130.06017.10
5.5.20.0070.07717.40
5.5.10.0070.07017.08
5.5.00.0070.07717.07
5.4.450.0030.04319.53
5.4.440.0070.03719.36
5.4.430.0100.03319.59
5.4.420.0070.03019.27
5.4.410.0130.06019.21
5.4.400.0100.03019.18
5.4.390.0130.06319.01
5.4.380.0030.04719.03
5.4.370.0100.07019.20
5.4.360.0130.07019.00
5.4.350.0030.07319.19
5.4.340.0100.07719.12
5.4.320.0100.07019.00
5.4.310.0100.07319.03
5.4.300.0100.04319.02
5.4.290.0130.07019.16
5.4.280.0070.06019.25
5.4.270.0170.03719.18
5.4.260.0070.07019.09
5.4.250.0200.03319.11
5.4.240.0070.07718.98
5.4.230.0000.08719.09
5.4.220.0070.06319.26
5.4.210.0030.04718.95
5.4.200.0100.03319.00
5.4.190.0030.07719.09
5.4.180.0000.06018.99
5.4.170.0070.07319.00
5.4.160.0100.08318.92
5.4.150.0070.06319.09
5.4.140.0070.07316.27
5.4.130.0130.07016.48
5.4.120.0100.07016.47
5.4.110.0100.07016.23
5.4.100.0070.07716.49
5.4.90.0070.07316.48
5.4.80.0130.06316.36
5.4.70.0100.06716.12
5.4.60.0070.06016.16
5.4.50.0130.06316.11
5.4.40.0130.05016.50
5.4.30.0070.08016.45
5.4.20.0170.06316.45
5.4.10.0100.06016.46
5.4.00.0070.07015.71
5.3.290.0030.08014.52
5.3.280.0100.07314.45
5.3.270.0100.07314.68
5.3.260.0070.07314.50
5.3.250.0000.05014.66
5.3.240.0000.07714.54
5.3.230.0070.07714.47
5.3.220.0030.07314.35
5.3.210.0030.06714.55
5.3.200.0100.07314.55
5.3.190.0130.07014.44
5.3.180.0070.06014.66
5.3.170.0130.07014.57
5.3.160.0070.06014.62
5.3.150.0130.07014.42
5.3.140.0070.07314.39
5.3.130.0030.07714.53
5.3.120.0100.07014.61
5.3.110.0100.04014.40
5.3.100.0100.05314.04
5.3.90.0000.04013.89
5.3.80.0000.08013.89
5.3.70.0030.05714.02
5.3.60.0100.07014.09
5.3.50.0100.07314.04
5.3.40.0070.08013.81
5.3.30.0130.06713.76
5.3.20.0100.07013.55
5.3.10.0100.06013.73
5.3.00.0070.07713.57
5.2.170.0030.06011.92
5.2.160.0000.06311.92
5.2.150.0070.06311.92
5.2.140.0000.03711.92
5.2.130.0070.05311.92
5.2.120.0100.05311.92
5.2.110.0030.06011.92
5.2.100.0030.06011.92
5.2.90.0070.05011.92
5.2.80.0000.06311.92
5.2.70.0070.05711.92
5.2.60.0000.06711.92
5.2.50.0070.04711.92
5.2.40.0070.03711.92
5.2.30.0100.05011.92
5.2.20.0070.04711.92
5.2.10.0130.03711.92
5.2.00.0030.05711.92
5.1.60.0030.05311.92
5.1.50.0070.03011.92
5.1.40.0100.04311.92
5.1.30.0100.05011.92
5.1.20.0170.04311.92
5.1.10.0100.05011.92
5.1.00.0000.04011.92
5.0.50.0070.04011.92
5.0.40.0030.04311.92
5.0.30.0000.06711.92
5.0.20.0030.03011.92
5.0.10.0030.04311.92
5.0.00.0100.05711.92
4.4.90.0100.03011.92
4.4.80.0030.02011.92
4.4.70.0030.03311.92
4.4.60.0000.03711.92
4.4.50.0030.03711.92
4.4.40.0100.03711.92
4.4.30.0000.03711.92
4.4.20.0100.02711.92
4.4.10.0000.03711.92
4.4.00.0030.05311.92
4.3.110.0000.02311.92
4.3.100.0030.03311.92
4.3.90.0000.02311.92
4.3.80.0100.04011.92
4.3.70.0030.03011.92
4.3.60.0070.03011.92
4.3.50.0000.03311.92
4.3.40.0030.02311.92
4.3.30.0030.03311.92
4.3.20.0000.02011.92
4.3.10.0030.03311.92
4.3.00.0030.02311.92