3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(serialize(function () { }));

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.3.0rc40.0140.00398.97
7.3.0rc30.0140.00316.31
7.3.0beta10.0040.00412.68
7.3.0alpha10.0030.00712.52
7.2.60.0000.01216.94
7.2.00.0040.01219.34
7.1.200.0160.00715.31
7.1.100.0060.00617.91
7.1.70.0060.00616.84
7.1.60.0090.01619.25
7.1.50.0030.01316.53
7.1.00.0000.08022.31
7.0.200.0070.00016.32
7.0.140.0030.06722.08
7.0.60.0170.08020.02
7.0.50.0030.05017.73
7.0.40.0100.08019.96
7.0.30.0300.06720.23
7.0.20.0370.08020.21
7.0.10.0030.07320.07
7.0.00.0100.06020.34
5.6.280.0030.07021.11
5.6.210.0100.07720.76
5.6.200.0030.05018.20
5.6.190.0100.03720.62
5.6.180.0200.07320.41
5.6.170.0230.05720.39
5.6.160.0030.09020.55
5.6.150.0070.06018.15
5.6.140.0030.04018.15
5.6.130.0030.08018.18
5.6.120.0030.04021.12
5.6.110.0070.04321.00
5.6.100.0000.08321.02
5.6.90.0070.08321.00
5.6.80.0030.07720.38
5.5.350.0200.08020.34
5.5.340.0130.06018.03
5.5.330.0030.05320.43
5.5.320.0270.05320.33
5.5.310.0330.06020.24
5.5.300.0000.04317.98
5.5.290.0070.06718.03
5.5.280.0100.05720.80
5.5.270.0030.04020.79
5.5.260.0030.04020.89
5.5.250.0070.07320.55
5.5.240.0000.07320.29
5.4.450.0800.06019.59
5.4.440.0130.06019.61
5.4.430.0200.05319.59
5.4.420.0130.05719.46
5.4.410.0200.04318.73
5.4.400.0530.06018.85
5.4.390.0500.05718.63
5.4.380.0230.05318.59
5.4.370.0100.03718.78
5.4.360.0070.05018.59
5.4.350.0050.03612.02
5.4.340.0090.03312.02
5.4.320.0060.03812.50
5.4.310.0050.03912.50
5.4.300.0060.03812.50
5.4.290.0030.04112.49
5.4.280.0070.03612.39
5.4.270.0030.04312.39
5.4.260.0090.04312.39
5.4.250.0030.04012.39
5.4.240.0060.03412.39
5.4.230.0050.03812.38
5.4.220.0040.04812.39
5.4.210.0060.03512.38
5.4.200.0080.03412.39
5.4.190.0040.03812.38
5.4.180.0040.03912.38
5.4.170.0030.03912.39
5.4.160.0050.03712.39
5.4.150.0020.04012.38
5.4.140.0050.03712.07
5.4.130.0040.03712.05
5.4.120.0030.03912.01
5.4.110.0070.03412.01
5.4.100.0040.03712.01
5.4.90.0030.03912.01
5.4.80.0060.03612.01
5.4.70.0070.03412.01
5.4.60.0050.03512.01
5.4.50.0040.03612.01
5.4.40.0060.03412.00
5.4.30.0030.03811.99
5.4.20.0060.03511.99
5.4.10.0050.03511.99
5.4.00.0080.03511.48
5.3.290.0070.03712.80
5.3.280.0040.03912.71
5.3.270.0040.04112.72
5.3.260.0060.05012.72
5.3.250.0060.03612.72
5.3.240.0070.03612.72
5.3.230.0090.03512.71
5.3.220.0050.03912.68
5.3.210.0060.04712.68
5.3.200.0060.04212.68
5.3.190.0080.03712.68
5.3.180.0060.04312.68
5.3.170.0100.04212.67
5.3.160.0100.04812.68
5.3.150.0090.05012.67
5.3.140.0120.04112.66
5.3.130.0120.04712.66
5.3.120.0060.04412.66
5.3.110.0070.04212.66
5.3.100.0060.03712.13
5.3.90.0070.04112.11
5.3.80.0080.04812.10
5.3.70.0060.04012.10
5.3.60.0090.04812.08
5.3.50.0030.04312.03
5.3.40.0100.03912.03
5.3.30.0070.03611.98
5.3.20.0090.04011.77
5.3.10.0080.03611.73
5.3.00.0080.03611.72
5.2.170.0060.0309.18
5.2.160.0070.0329.18
5.2.150.0040.0329.18
5.2.140.0050.0309.18
5.2.130.0010.0339.14
5.2.120.0040.0299.14
5.2.110.0060.0289.14
5.2.100.0040.0299.14
5.2.90.0050.0389.14
5.2.80.0070.0299.14
5.2.70.0040.0319.14
5.2.60.0030.0329.09
5.2.50.0050.0309.05
5.2.40.0030.0309.04
5.2.30.0070.0289.02
5.2.20.0080.0349.00
5.2.10.0040.0288.92
5.2.00.0070.0328.78
5.1.60.0070.0328.07
5.1.50.0060.0288.06
5.1.40.0050.0278.05
5.1.30.0050.0278.40
5.1.20.0050.0318.41
5.1.10.0060.0278.14
5.1.00.0050.0278.14
5.0.50.0040.0206.63
5.0.40.0020.0216.47
5.0.30.0020.0336.29
5.0.20.0040.0266.26
5.0.10.0050.0216.23
5.0.00.0060.0326.23
4.4.90.0030.0204.78
4.4.80.0020.0224.75
4.4.70.0010.0214.75
4.4.60.0030.0174.75
4.4.50.0010.0204.77
4.4.40.0030.0284.70
4.4.30.0040.0144.76
4.4.20.0030.0154.84
4.4.10.0010.0174.85
4.4.00.0050.0294.76
4.3.110.0040.0194.67
4.3.100.0020.0164.66
4.3.90.0030.0144.63
4.3.80.0020.0244.59
4.3.70.0000.0174.63
4.3.60.0030.0144.62
4.3.50.0030.0154.63
4.3.40.0020.0254.54
4.3.30.0010.0163.29
4.3.20.0020.0163.27
4.3.10.0020.0193.22
4.3.00.0170.0207.21