3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(0 !== false); var_dump(null !== false);

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.63
7.2.00.0030.01019.30
7.1.200.0000.01415.60
7.1.100.0090.00317.90
7.1.70.0070.00717.10
7.1.60.0080.01519.46
7.1.50.0140.01016.95
7.1.00.0070.07322.41
7.0.200.0000.00816.69
7.0.140.0070.04322.14
7.0.60.0070.04320.05
7.0.50.0130.07317.84
7.0.40.0030.04320.08
7.0.30.0300.03720.18
7.0.20.0300.06020.04
7.0.10.0000.06720.33
7.0.00.0100.04719.99
5.6.210.0100.06020.50
5.6.200.0100.07718.20
5.6.190.0070.04020.27
5.6.180.0570.06720.57
5.6.170.0170.04720.45
5.6.160.0070.05320.75
5.6.150.0030.04018.15
5.6.140.0070.07018.21
5.6.130.0100.06718.17
5.6.120.0170.06320.96
5.6.110.0030.04321.12
5.6.100.0100.06320.98
5.6.90.0030.04020.98
5.6.80.0100.03720.34
5.5.350.0300.07020.43
5.5.340.0030.04018.01
5.5.330.0130.06720.19
5.5.320.0230.04320.30
5.5.310.0400.06720.33
5.5.300.0030.04717.98
5.5.290.0070.03718.01
5.5.280.0030.08320.79
5.5.270.0070.07320.83
5.5.260.0170.04720.63
5.5.250.0030.05020.68
5.5.240.0000.07720.32
5.4.450.0770.05319.24
5.4.440.0970.05719.46
5.4.430.0200.04719.47
5.4.420.0100.06319.25
5.4.410.0100.05318.85
5.4.400.0100.05318.79
5.4.390.0230.05718.67
5.4.380.0100.06318.66
5.4.370.0270.04718.68
5.4.360.0300.05718.77
5.4.350.0170.06018.61
5.4.340.0300.04318.77
5.4.320.0200.05318.61
5.4.310.0230.05018.77
5.4.300.0300.06018.68
5.4.290.0330.04718.62
5.4.280.0230.05718.55
5.4.270.0230.05318.49
5.4.260.0170.06018.76
5.4.250.0270.05718.67
5.4.240.0330.05018.48
5.4.230.0230.05318.61
5.4.220.0230.05718.78
5.4.210.0200.05718.67
5.4.200.0270.04316.64
5.4.190.0130.06318.66
5.4.180.0100.06318.75
5.4.170.0200.06018.53
5.4.160.0270.07018.49
5.4.150.0230.05018.71
5.4.140.0130.07316.32
5.4.130.0200.05316.30
5.4.120.0370.04716.27
5.4.110.0270.04716.30
5.4.100.0330.04016.14
5.4.90.0300.04716.21
5.4.80.0270.04716.04
5.4.70.0170.05716.24
5.4.60.0230.04316.32
5.4.50.0200.05016.11
5.4.40.0300.04316.32
5.4.30.0130.06016.11
5.4.20.0400.03716.00
5.4.10.0130.05316.27
5.4.00.0130.05315.67
5.3.290.0170.05714.64
5.3.280.0270.05714.55
5.3.270.0300.05014.59
5.3.260.0200.05714.56
5.3.250.0230.05714.60
5.3.240.0270.05014.52
5.3.230.0270.05314.54
5.3.220.0200.05714.51
5.3.210.0100.07014.65
5.3.200.0130.06014.59
5.3.190.0300.05714.56
5.3.180.0200.06014.63
5.3.170.0100.07314.66
5.3.160.0230.05314.47
5.3.150.0300.05314.52
5.3.140.0270.05014.50
5.3.130.0200.05314.45
5.3.120.0200.05714.63
5.3.110.0100.06314.59
5.3.100.0230.05714.13
5.3.90.0370.04313.95
5.3.80.0130.06314.01
5.3.70.0200.05314.09
5.3.60.0200.05713.95
5.3.50.0230.05313.91
5.3.40.0200.06014.04
5.3.30.0230.04313.80
5.3.20.0270.04313.68
5.3.10.0130.07013.64
5.3.00.0230.05313.63
5.2.170.0100.04711.09
5.2.160.0100.04311.20
5.2.150.0170.04311.13
5.2.140.0200.03711.14
5.2.130.0170.04311.07
5.2.120.0170.04011.05
5.2.110.0170.04011.06
5.2.100.0130.04311.14
5.2.90.0130.04311.07
5.2.80.0170.04711.10
5.2.70.0130.06011.02
5.2.60.0230.03710.96
5.2.50.0170.04010.95
5.2.40.0200.04711.04
5.2.30.0200.03310.89
5.2.20.0130.04311.01
5.2.10.0170.03711.00
5.2.00.0170.03710.80
5.1.60.0070.04010.10
5.1.50.0100.0409.98
5.1.40.0170.03010.00
5.1.30.0230.03310.36
5.1.20.0170.04010.44
5.1.10.0170.04310.10
5.1.00.0170.04710.18
5.0.50.0030.0438.68
5.0.40.0200.0308.47
5.0.30.0070.0578.25
5.0.20.0070.0308.29
5.0.10.0030.0338.25
5.0.00.0070.0508.14
4.4.90.0070.0275.86
4.4.80.0070.0205.89
4.4.70.0070.0235.86
4.4.60.0070.0205.81
4.4.50.0170.0135.89
4.4.40.0100.0335.91
4.4.30.0030.0275.89
4.4.20.0100.0235.96
4.4.10.0130.0205.96
4.4.00.0070.0435.91
4.3.110.0030.0235.75
4.3.100.0200.0105.83
4.3.90.0100.0235.82
4.3.80.0070.0375.80
4.3.70.0100.0175.86
4.3.60.0100.0275.80
4.3.50.0100.0275.79
4.3.40.0100.0405.78
4.3.30.0000.0274.54
4.3.20.0030.0234.60
4.3.10.0030.0234.48
4.3.00.0130.0277.12