3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $extraField = '[{"id":"7","value":["Data Sheet","http:\/\/garland.pnpd.co.uk\/datasheet.pdf","same"]}];'; $extraField = json_decode($extraField); var_dump($extraField);

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.00.0030.00919.25
7.1.100.0090.00618.00
7.1.70.0000.00717.22
7.1.60.0080.01519.61
7.1.50.0160.00616.85
7.1.00.0070.07322.40
7.0.200.0040.00816.46
7.0.140.0030.07322.16
7.0.60.0130.07719.94
7.0.50.0070.08317.86
7.0.40.0130.06319.90
7.0.30.0100.05020.00
7.0.20.0300.08020.01
7.0.10.0030.04720.10
7.0.00.0070.09020.03
5.6.280.0070.06721.04
5.6.210.0100.07320.72
5.6.200.0070.07718.15
5.6.190.0030.06720.64
5.6.180.0370.07020.43
5.6.170.0170.04020.45
5.6.160.0130.07320.41
5.6.150.0030.08718.20
5.6.140.0070.04718.20
5.6.130.0030.04018.20
5.6.120.0100.04321.13
5.6.110.0000.08021.12
5.6.100.0130.07721.13
5.6.90.0070.04021.07
5.6.80.0000.09020.50
5.5.350.0370.06320.45
5.5.340.0100.07018.01
5.5.330.0100.07720.36
5.5.320.0430.07020.28
5.5.310.0230.05720.51
5.5.300.0030.08717.87
5.5.290.0030.08317.87
5.5.280.0130.08320.87
5.5.270.0070.05720.73
5.5.260.0070.04020.95
5.5.250.0230.05720.57
5.5.240.0100.07020.26
5.4.450.0270.04719.41
5.4.440.0230.04319.57
5.4.430.0130.04719.56
5.4.420.0270.04019.41
5.4.410.0170.04719.13
5.4.400.0230.04019.08
5.4.390.0330.04318.89
5.4.380.0400.06718.71
5.4.370.0230.07318.55
5.4.360.0300.05018.67
5.4.350.0170.05718.71
5.4.340.0170.06018.66
5.4.320.0090.03312.45
5.4.310.0060.04012.45
5.4.300.0060.03612.46
5.4.290.0040.04012.45
5.4.280.0110.03212.35
5.4.270.0060.03612.35
5.4.260.0070.03712.35
5.4.250.0100.03412.35
5.4.240.0060.03612.35
5.4.230.0080.03812.34
5.4.220.0090.03312.34
5.4.210.0020.04012.34
5.4.200.0050.03812.34
5.4.190.0070.04912.34
5.4.180.0060.03812.34
5.4.170.0110.06012.35
5.4.160.0080.04112.34
5.4.150.0070.03612.34
5.4.140.0060.03712.03
5.4.130.0080.03412.02
5.4.120.0060.03611.97
5.4.110.0080.05111.97
5.4.100.0130.03311.96
5.4.90.0130.04111.96
5.4.80.0110.04611.97
5.4.70.0050.04111.96
5.4.60.0060.04111.96
5.4.50.0050.03711.96
5.4.40.0070.03411.95
5.4.30.0100.04811.95
5.4.20.0070.05411.95
5.4.10.0090.04711.95
5.4.00.0080.04811.44
5.3.290.0130.04912.80
5.3.280.0100.04312.70
5.3.270.0110.03812.72
5.3.260.0050.04012.72
5.3.250.0080.03612.72
5.3.240.0110.03212.72
5.3.230.0050.03912.71
5.3.220.0060.03712.68
5.3.210.0080.03712.68
5.3.200.0060.03712.68
5.3.190.0070.03712.68
5.3.180.0060.03712.67
5.3.170.0070.03512.67
5.3.160.0070.03612.67
5.3.150.0080.03512.67
5.3.140.0070.03612.66
5.3.130.0110.03412.66
5.3.120.0060.03912.66
5.3.110.0060.04212.66
5.3.100.0080.04012.12
5.3.90.0050.03612.09
5.3.80.0060.04012.07
5.3.70.0080.03412.07
5.3.60.0040.04012.06
5.3.50.0050.03812.00
5.3.40.0080.03912.00
5.3.30.0070.03811.94
5.3.20.0050.03611.72
5.3.10.0050.03611.69
5.3.00.0040.03711.68
5.2.170.0050.0399.17
5.2.160.0040.0369.18
5.2.150.0070.0299.18
5.2.140.0060.0309.18
5.2.130.0070.0309.13
5.2.120.0040.0299.13
5.2.110.0060.0399.14
5.2.100.0030.0419.14
5.2.90.0050.0329.14
5.2.80.0040.0329.14
5.2.70.0060.0309.14
5.2.60.0090.0269.09
5.2.50.0060.0299.05
5.2.40.0060.0369.04
5.2.30.0040.0409.01
5.2.20.0060.0319.00
5.2.10.0060.0288.92
5.2.00.0070.0298.78
5.1.60.0040.0258.07
5.1.50.0080.0248.06
5.1.40.0060.0238.04
5.1.30.0070.0268.39
5.1.20.0070.0258.41
5.1.10.0050.0268.14
5.1.00.0060.0248.14
5.0.50.0030.0216.61
5.0.40.0040.0226.48
5.0.30.0050.0306.29
5.0.20.0040.0196.26
5.0.10.0040.0196.23
5.0.00.0020.0326.23
4.4.90.0030.0174.77
4.4.80.0020.0164.75
4.4.70.0040.0144.76
4.4.60.0020.0164.75
4.4.50.0030.0154.77
4.4.40.0020.0254.71
4.4.30.0030.0164.76
4.4.20.0060.0134.84
4.4.10.0070.0114.85
4.4.00.0040.0244.76
4.3.110.0020.0174.67
4.3.100.0040.0134.66
4.3.90.0030.0194.63
4.3.80.0030.0324.58
4.3.70.0060.0164.63
4.3.60.0040.0134.63
4.3.50.0040.0164.63
4.3.40.0040.0234.54
4.3.30.0040.0183.28
4.3.20.0050.0193.26
4.3.10.0010.0233.22
4.3.00.0070.01313.95