3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump('012');
based on bXJbD

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.0040.01216.79
7.2.00.0100.00719.34
7.1.200.0030.01015.57
7.1.100.0060.00617.75
7.1.70.0040.00417.15
7.1.60.0090.01519.50
7.1.50.0120.01216.94
7.1.00.0030.07722.33
7.0.200.0070.00314.70
7.0.140.0070.06322.12
7.0.60.0100.03319.87
7.0.50.0070.04717.89
7.0.40.0030.08719.96
7.0.30.0470.05720.09
7.0.20.0330.06020.18
7.0.10.0030.04020.16
7.0.00.0000.06320.31
5.6.280.0000.07721.10
5.6.210.0070.05320.64
5.6.200.0070.08018.12
5.6.190.0130.04720.61
5.6.180.0300.07320.64
5.6.170.0270.08020.54
5.6.160.0070.05720.49
5.6.150.0000.05018.14
5.6.140.0000.04718.09
5.6.130.0070.07718.12
5.6.120.0070.04721.11
5.6.110.0000.04320.88
5.6.100.0030.06320.97
5.6.90.0200.07021.00
5.6.80.0070.06320.40
5.6.70.4400.03320.37
5.5.350.0070.08020.32
5.5.340.0070.06017.98
5.5.330.0030.04320.14
5.5.320.0330.05320.20
5.5.310.0330.07320.32
5.5.300.0030.05317.87
5.5.290.0070.08018.02
5.5.280.0070.06720.95
5.5.270.0070.08020.72
5.5.260.0200.06020.67
5.5.250.0130.07320.48
5.5.240.0170.06720.06
5.4.450.0430.04719.55
5.4.440.0230.06019.32
5.4.430.1130.07019.59
5.4.420.0830.04719.32
5.4.410.0100.06018.96
5.4.400.0330.08318.70
5.4.390.0500.06018.49
5.4.380.0270.06018.74
5.4.370.0270.05718.77
5.4.360.0430.06318.65
5.4.350.0470.06318.69
5.4.340.0330.06018.74
5.4.320.0400.05718.66
5.4.310.0330.06718.59
5.4.300.0330.06318.71
5.4.290.0370.05318.73
5.4.280.0400.06018.66
5.4.270.0430.06018.48
5.4.260.0370.05718.65
5.4.250.0330.06718.61
5.4.240.0400.07018.69
5.4.230.0400.05318.61
5.4.220.0500.03718.66
5.4.210.0600.06018.61
5.4.200.0400.05716.43
5.4.190.0270.06318.69
5.4.180.0270.06318.59
5.4.170.0330.05318.70
5.4.160.0230.06318.44
5.4.150.0330.05718.58
5.4.140.0270.05716.30
5.4.130.0270.06716.25
5.4.120.0370.06016.02
5.4.110.0300.05016.07
5.4.100.0270.05316.34
5.4.90.0300.05016.06
5.4.80.0300.05316.18
5.4.70.0300.05316.10
5.4.60.0330.05016.27
5.4.50.0370.04716.05
5.4.40.0230.06316.06
5.4.30.0370.06016.10
5.4.20.0370.06316.11
5.4.10.0200.06016.29
5.4.00.0230.05715.71
5.3.290.0300.06014.66
5.3.280.0300.05314.50
5.3.270.0300.06314.58
5.3.260.0370.06314.49
5.3.250.0370.06014.52
5.3.240.0400.06714.55
5.3.230.0270.06014.68
5.3.220.0400.05014.49
5.3.210.0330.05014.66
5.3.200.0300.05314.59
5.3.190.0400.05014.68
5.3.180.0370.05014.45
5.3.170.0430.06314.47
5.3.160.0270.06714.45
5.3.150.0470.06714.61
5.3.140.0400.06714.53
5.3.130.0270.07314.50
5.3.120.0430.04314.59
5.3.110.0230.08314.54
5.3.100.0370.04714.12
5.3.90.0370.04714.03
5.3.80.0370.04713.92
5.3.70.0300.05013.96
5.3.60.0230.06013.94
5.3.50.0200.06013.88
5.3.40.0300.05013.86
5.3.30.0370.04313.94
5.3.20.0230.05313.63
5.3.10.0330.04313.76
5.3.00.0370.05313.59
5.2.170.0270.05311.27
5.2.160.0230.04011.09
5.2.150.0200.04711.18
5.2.140.0200.05011.05
5.2.130.0270.03711.07
5.2.120.0270.04311.23
5.2.110.0300.03711.15
5.2.100.0330.04011.07
5.2.90.0170.05011.03
5.2.80.0200.05711.17
5.2.70.0370.05011.25
5.2.60.0330.05011.04
5.2.50.0200.04710.94
5.2.40.0230.03711.02
5.2.30.0200.04310.89
5.2.20.0170.04710.88
5.2.10.0270.03710.90
5.2.00.0200.05310.72
5.1.60.0300.0439.99
5.1.50.0130.04310.12
5.1.40.0230.03310.11
5.1.30.0270.03010.31
5.1.20.0270.05010.38
5.1.10.0230.03310.09
5.1.00.0230.03310.13
5.0.50.0100.0338.61
5.0.40.0200.0208.38
5.0.30.0070.0478.25
5.0.20.0070.0338.21
5.0.10.0230.0308.16
5.0.00.0170.0478.28
4.4.90.0070.0275.86
4.4.80.0170.0205.93
4.4.70.0230.0235.89
4.4.60.0200.0235.80
4.4.50.0130.0205.88
4.4.40.0100.0475.89
4.4.30.0100.0235.88
4.4.20.0070.0275.97
4.4.10.0170.0175.92
4.4.00.0130.0335.88
4.3.110.0170.0175.82
4.3.100.0100.0205.84
4.3.90.0100.0205.78
4.3.80.0130.0375.80
4.3.70.0130.0205.86
4.3.60.0130.0235.87
4.3.50.0100.0235.77
4.3.40.0100.0375.80
4.3.30.0070.0234.61
4.3.20.0030.0274.61
4.3.10.0070.0304.51
4.3.00.0070.0276.51