3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:2:{i:0;s:3:"foo";i:1;s:3:"bar";}')); var_dump(unserialize('a:2:{i:0;s:3:"foo";i:1;s:3:"bar";'));

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.0260.00898.97
7.3.0rc30.0130.01016.39
7.3.0beta10.0030.00612.57
7.3.0alpha10.0040.00412.46
7.2.60.0040.01116.35
7.2.00.0000.01219.21
7.1.200.0070.00715.75
7.1.100.0040.00818.05
7.1.70.0070.00716.98
7.1.60.0080.00516.80
7.1.50.0170.01016.70
7.1.00.0070.07322.45
7.0.200.0210.00516.47
7.0.140.0070.07021.96
7.0.60.0070.08019.93
7.0.50.0070.08317.81
7.0.40.0070.09020.30
7.0.30.0300.08020.29
7.0.20.0370.08020.09
7.0.10.0070.06320.04
7.0.00.0130.06320.20
5.6.280.0100.06721.09
5.6.210.0070.06720.49
5.6.200.0100.08318.12
5.6.190.0030.04320.77
5.6.180.3900.04020.41
5.6.170.0270.05020.48
5.6.160.0070.05020.46
5.6.150.0030.08318.13
5.6.140.0100.07318.20
5.6.130.0030.08718.11
5.6.120.0030.06320.93
5.6.110.0100.05320.97
5.6.100.0170.08021.07
5.6.90.0030.09021.02
5.6.80.0070.08320.36
5.5.350.0030.05720.43
5.5.340.0000.07317.95
5.5.330.0030.04720.26
5.5.320.0370.04720.24
5.5.310.0270.07720.20
5.5.300.0230.06018.02
5.5.290.0100.07018.00
5.5.280.0070.04020.86
5.5.270.0070.04020.93
5.5.260.0100.04020.94
5.5.250.0070.08720.55
5.5.240.0070.05720.36
5.4.450.0700.08319.27
5.4.440.0700.05019.62
5.4.430.0730.04319.31
5.4.420.0730.05719.56
5.4.410.0730.06019.46
5.4.400.0600.05019.14
5.4.390.0730.04718.78
5.4.380.0230.06318.56
5.4.370.0300.05018.46
5.4.360.0230.05718.57
5.4.350.0430.04718.74
5.4.340.0300.04718.77
5.4.320.0140.06412.45
5.4.310.0090.03612.45
5.4.300.0040.04112.45
5.4.290.0080.04012.43
5.4.280.0040.03712.33
5.4.270.0060.03612.33
5.4.260.0040.03912.33
5.4.250.0070.03612.33
5.4.240.0060.03612.33
5.4.230.0070.03612.32
5.4.220.0050.03612.32
5.4.210.0080.03312.32
5.4.200.0050.03912.32
5.4.190.0060.03612.32
5.4.180.0040.03712.32
5.4.170.0050.03812.33
5.4.160.0040.03812.32
5.4.150.0100.03212.32
5.4.140.0050.03812.01
5.4.130.0080.03411.99
5.4.120.0070.03411.95
5.4.110.0040.03611.95
5.4.100.0060.03411.95
5.4.90.0060.03711.95
5.4.80.0090.03411.95
5.4.70.0030.03711.94
5.4.60.0060.03411.94
5.4.50.0080.03211.94
5.4.40.0080.03211.93
5.4.30.0050.03511.93
5.4.20.0060.03511.93
5.4.10.0050.03411.93
5.4.00.0070.04211.42
5.3.290.0070.05412.80
5.3.280.0060.05012.70
5.3.270.0060.04412.72
5.3.260.0100.05412.72
5.3.250.0070.05512.72
5.3.240.0120.04012.72
5.3.230.0060.03912.71
5.3.220.0070.03512.68
5.3.210.0010.04412.68
5.3.200.0050.03812.68
5.3.190.0080.03512.68
5.3.180.0070.03512.67
5.3.170.0060.03612.67
5.3.160.0070.03512.68
5.3.150.0070.04012.67
5.3.140.0050.04012.66
5.3.130.0080.03712.66
5.3.120.0110.03612.66
5.3.110.0070.03912.66
5.3.100.0070.03612.12
5.3.90.0000.04212.08
5.3.80.0060.03612.07
5.3.70.0050.03712.07
5.3.60.0050.03612.06
5.3.50.0040.03812.00
5.3.40.0060.03812.00
5.3.30.0120.04511.94
5.3.20.0120.04411.72
5.3.10.0120.04411.69
5.3.00.0110.03411.68
5.2.170.0030.0339.18
5.2.160.0070.0299.18
5.2.150.0050.0319.18
5.2.140.0040.0339.18
5.2.130.0080.0269.14
5.2.120.0070.0419.14
5.2.110.0080.0289.14
5.2.100.0090.0299.14
5.2.90.0060.0329.14
5.2.80.0030.0349.14
5.2.70.0050.0309.14
5.2.60.0020.0349.09
5.2.50.0090.0259.05
5.2.40.0040.0299.03
5.2.30.0070.0309.01
5.2.20.0040.0309.00
5.2.10.0040.0298.92
5.2.00.0030.0308.78
5.1.60.0050.0228.06
5.1.50.0040.0258.06
5.1.40.0080.0218.04
5.1.30.0040.0268.39
5.1.20.0050.0318.42
5.1.10.0050.0368.14
5.1.00.0070.0258.14
5.0.50.0030.0236.62
5.0.40.0050.0226.47
5.0.30.0050.0416.29
5.0.20.0050.0266.26
5.0.10.0040.0206.24
5.0.00.0020.0356.22
4.4.90.0040.0144.78
4.4.80.0020.0174.75
4.4.70.0030.0174.75
4.4.60.0020.0164.76
4.4.50.0020.0164.77
4.4.40.0020.0274.70
4.4.30.0030.0154.76
4.4.20.0020.0164.84
4.4.10.0010.0184.85
4.4.00.0030.0284.76
4.3.110.0040.0264.66
4.3.100.0030.0224.66
4.3.90.0020.0234.63
4.3.80.0060.0444.59
4.3.70.0060.0224.63
4.3.60.0030.0244.63
4.3.50.0080.0314.63
4.3.40.0060.0304.54
4.3.30.0030.0223.28
4.3.20.0030.0163.26
4.3.10.0050.0143.21
4.3.00.0130.01710.55