3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(PHP_INT_MAX + 1);

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.01116.68
7.2.00.0000.01219.34
7.1.200.0060.00615.73
7.1.100.0040.00818.00
7.1.70.0030.01016.94
7.1.60.0140.01119.50
7.1.50.0100.01016.94
7.1.00.0000.07722.26
7.0.200.0230.00016.28
7.0.140.0030.03322.07
7.0.60.0070.05720.01
7.0.50.0100.07317.85
7.0.40.0130.08020.04
7.0.30.0300.04020.01
7.0.20.0200.04720.01
7.0.10.0230.06720.01
7.0.00.0070.09320.19
5.6.280.0070.07020.90
5.6.210.0100.08720.46
5.6.200.0030.05018.23
5.6.190.0130.08320.77
5.6.180.0100.04720.65
5.6.170.0270.07720.61
5.6.160.0000.05020.41
5.6.150.0100.04318.09
5.6.140.0030.05018.17
5.6.130.0130.05318.18
5.6.120.0070.04320.98
5.6.110.0130.07721.02
5.6.100.0030.04720.95
5.6.90.0100.08021.07
5.6.80.0070.06020.35
5.6.70.0270.06720.52
5.5.350.0130.08720.36
5.5.340.0000.08318.02
5.5.330.0030.05320.59
5.5.320.0000.06020.41
5.5.310.0270.08020.26
5.5.300.0070.07317.96
5.5.290.0100.05318.01
5.5.280.0170.06020.87
5.5.270.0030.05020.88
5.5.260.0230.06720.85
5.5.250.0070.07020.65
5.5.240.0070.06020.20
5.4.450.0700.04719.34
5.4.440.0700.06019.57
5.4.430.1230.05019.56
5.4.420.0900.06019.31
5.4.410.0430.05719.07
5.4.400.0300.05318.78
5.4.390.0370.05718.57
5.4.380.0370.04718.52
5.4.370.0400.04718.61
5.4.360.0330.05018.73
5.4.350.0300.05718.52
5.4.340.0300.05318.72
5.4.320.0400.06018.49
5.4.310.0230.05718.46
5.4.300.0270.05718.77
5.4.290.0270.06018.58
5.4.280.0400.04718.67
5.4.270.0330.06018.69
5.4.260.0300.05318.67
5.4.250.0370.05318.64
5.4.240.0300.05318.51
5.4.230.0300.05718.56
5.4.220.0330.05018.59
5.4.210.0300.06318.70
5.4.200.0230.05316.51
5.4.190.0230.05718.50
5.4.180.0330.04718.58
5.4.170.0470.04718.58
5.4.160.0330.06718.68
5.4.150.0330.05018.46
5.4.140.0370.04716.27
5.4.130.0330.05316.21
5.4.120.0330.05016.16
5.4.110.0230.05316.16
5.4.100.0300.05016.25
5.4.90.0330.04716.06
5.4.80.0200.05716.23
5.4.70.0330.05016.09
5.4.60.0270.06016.23
5.4.50.0230.05716.09
5.4.40.0330.05716.27
5.4.30.0370.04316.16
5.4.20.0400.06716.27
5.4.10.0400.06016.04
5.4.00.0400.04715.71
5.3.290.0230.06714.64
5.3.280.0230.05714.50
5.3.270.0330.05014.53
5.3.260.0300.05714.55
5.3.250.0370.05014.59
5.3.240.0270.05314.55
5.3.230.0370.04714.52
5.3.220.0300.05014.57
5.3.210.0370.05014.53
5.3.200.0330.04714.55
5.3.190.0200.06014.49
5.3.180.0370.04314.61
5.3.170.0370.04314.49
5.3.160.0400.05314.61
5.3.150.0270.05714.49
5.3.140.0270.05314.55
5.3.130.0330.06014.53
5.3.120.0400.06714.52
5.3.110.0500.05014.54
5.3.100.0230.05314.02
5.3.90.0300.05313.95
5.3.80.0330.04714.01
5.3.70.0300.05013.92
5.3.60.0270.05013.91
5.3.50.0400.05013.87
5.3.40.0270.07314.02
5.3.30.0570.05313.88
5.3.20.0270.05313.68
5.3.10.0270.05313.74
5.3.00.0330.04713.61
5.2.170.0200.04711.28
5.2.160.0270.04011.29
5.2.150.0300.03311.11
5.2.140.0270.04011.11
5.2.130.0270.04311.04
5.2.120.0200.04011.07
5.2.110.0230.04011.25
5.2.100.0170.04311.23
5.2.90.0200.04011.15
5.2.80.0200.04711.25
5.2.70.0230.04311.05
5.2.60.0200.04710.98
5.2.50.0170.05011.02
5.2.40.0200.04310.95
5.2.30.0230.04010.88
5.2.20.0230.03711.01
5.2.10.0170.04310.83
5.2.00.0200.04710.70
5.1.60.0300.03010.00
5.1.50.0170.03710.08
5.1.40.0330.02710.06
5.1.30.0200.04010.44
5.1.20.0100.04710.36
5.1.10.0270.03310.12
5.1.00.0270.02710.18
5.0.50.0130.0278.60
5.0.40.0130.0308.43
5.0.30.0130.0408.25
5.0.20.0130.0278.29
5.0.10.0130.0278.36
5.0.00.0270.0438.28
4.4.90.0130.0275.93
4.4.80.0100.0235.86
4.4.70.0200.0175.86
4.4.60.0100.0205.86
4.4.50.0070.0235.90
4.4.40.0070.0405.89
4.4.30.0070.0275.96
4.4.20.0170.0175.93
4.4.10.0130.0205.95
4.4.00.0270.0235.88
4.3.110.0100.0235.84
4.3.100.0100.0205.87
4.3.90.0130.0205.86
4.3.80.0100.0335.77
4.3.70.0130.0175.88
4.3.60.0100.0205.81
4.3.50.0130.0175.77
4.3.40.0100.0335.76
4.3.30.0070.0274.54
4.3.20.0130.0204.53
4.3.10.0100.0274.59
4.3.00.0070.0236.68