3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $res = "a:1:{s:7:\"'allow'\";s:1:\"1\";}"; $res = unserialize($res); var_dump($res);
based on YLr1c

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.10.0060.00316.57
7.3.00.0040.00816.64
7.2.130.0080.00816.71
7.2.120.0120.00016.64
7.2.110.0040.00716.84
7.2.100.0060.00616.79
7.2.90.0090.00016.77
7.2.80.0100.00316.98
7.2.70.0070.00716.93
7.2.60.0060.00716.74
7.2.50.0100.00316.87
7.2.40.0060.00916.44
7.2.30.0030.01216.45
7.2.20.0030.01016.74
7.2.10.0070.00316.67
7.2.00.0070.00718.18
7.1.250.0060.00315.75
7.1.200.0090.00615.85
7.1.100.0030.00918.25
7.1.70.0000.00717.22
7.1.60.0120.01219.50
7.1.50.0090.01316.78
7.1.00.0100.08722.36
7.0.200.0000.01016.77
7.0.140.0000.07022.09
7.0.60.0100.08020.06
7.0.50.0100.07717.86
7.0.40.0100.05320.18
7.0.30.0230.08320.00
7.0.20.0200.04020.20
7.0.10.0200.06020.30
7.0.00.0170.07320.27
5.6.280.0070.06721.06
5.6.210.0200.07020.71
5.6.200.0030.04018.11
5.6.190.0170.07720.27
5.6.180.0200.07720.58
5.6.170.0400.07020.50
5.6.160.0130.08320.37
5.6.150.0030.04018.21
5.6.140.0030.07318.21
5.6.130.0130.07318.11
5.6.120.0100.04020.98
5.6.110.0130.07721.00
5.6.100.0100.08321.00
5.6.90.0100.06321.01
5.6.80.0130.07320.27
5.6.70.0370.06720.36
5.5.350.0100.09020.34
5.5.340.0070.03717.95
5.5.330.0070.04720.57
5.5.320.0070.04020.25
5.5.310.0330.08020.17
5.5.300.0000.04318.00
5.5.290.0100.08017.96
5.5.280.0130.04720.86
5.5.270.0070.08320.79
5.5.260.0070.07320.76
5.5.250.0030.04320.65
5.5.240.0070.07720.34
5.4.450.0030.07719.42
5.4.440.0000.07719.13
5.4.430.0070.05019.11
5.4.420.0070.07019.41
5.4.410.0070.07019.29
5.4.400.0000.08318.81
5.4.390.0100.07319.09
5.4.380.0030.07719.09
5.4.370.0000.08018.92
5.4.360.0030.06018.92
5.4.350.0030.07719.06
5.4.340.0070.05019.18
5.4.320.0130.07018.88
5.4.310.0070.07318.93
5.4.300.0100.06718.78
5.4.290.0030.04718.80
5.4.280.0100.07019.13
5.4.270.0070.07319.23
5.4.260.0000.08019.23
5.4.250.0070.05718.91
5.4.240.0100.07019.08
5.4.230.0030.06719.05
5.4.220.0070.07718.82
5.4.210.0030.07319.07
5.4.200.0070.05719.14
5.4.190.0030.07719.05
5.4.180.0000.07719.23
5.4.170.0070.06019.21
5.4.160.0070.06319.11
5.4.150.0000.08319.11
5.4.140.0030.05316.45
5.4.130.0030.07316.22
5.4.120.0000.07016.44
5.4.110.0030.07316.48
5.4.100.0030.05316.42
5.4.90.0030.05316.50
5.4.80.0030.07016.37
5.4.70.0100.05016.20
5.4.60.0070.04716.16
5.4.50.0100.07016.40
5.4.40.0070.07316.40
5.4.30.0030.07316.20
5.4.20.0000.05016.18
5.4.10.0030.04716.42
5.4.00.0100.06315.63
5.3.290.0070.07714.52
5.3.280.0130.05014.42
5.3.270.0100.06314.55
5.3.260.0000.07314.45
5.3.250.0000.08014.55
5.3.240.0070.07714.63
5.3.230.0000.07714.54
5.3.220.0030.06014.50
5.3.210.0030.06714.49
5.3.200.0030.06314.59
5.3.190.0100.04714.47
5.3.180.0030.07314.51
5.3.170.0100.07014.65
5.3.160.0030.04714.50
5.3.150.0070.06014.59
5.3.140.0000.08014.65
5.3.130.0000.07314.38
5.3.120.0070.07714.59
5.3.110.0070.06314.40
5.3.100.0030.07313.95
5.3.90.0030.06014.11
5.3.80.0030.06313.89
5.3.70.0030.05313.97
5.3.60.0100.06013.80
5.3.50.0030.07713.90
5.3.40.0070.06313.80
5.3.30.0070.06713.81
5.3.20.0000.06013.52
5.3.10.0000.05713.75
5.3.00.0000.06313.48
5.2.170.0030.06012.21
5.2.160.0030.06312.21
5.2.150.0070.05712.21
5.2.140.0070.04012.21
5.2.130.0000.04712.21
5.2.120.0000.04012.21
5.2.110.0030.04312.21
5.2.100.0070.06012.21
5.2.90.0030.04312.21
5.2.80.0200.03312.21
5.2.70.0000.04712.21
5.2.60.0000.04312.21
5.2.50.0000.04712.21
5.2.40.0000.03312.21
5.2.30.0030.04012.21
5.2.20.0030.06312.21
5.2.10.0000.03712.21
5.2.00.0170.02712.21
5.1.60.0030.03012.21
5.1.50.0000.05712.21
5.1.40.0000.05012.21
5.1.30.0030.03312.21
5.1.20.0000.05012.21
5.1.10.0030.04712.21
5.1.00.0070.03712.21
5.0.50.0000.04012.21
5.0.40.0000.03012.21
5.0.30.0070.03312.21
5.0.20.0070.03012.21
5.0.10.0000.04712.21
5.0.00.0070.05712.21
4.4.90.0000.02312.21
4.4.80.0030.03312.21
4.4.70.0030.02012.21
4.4.60.0000.03012.21
4.4.50.0000.02012.21
4.4.40.0000.04312.21
4.4.30.0030.02312.21
4.4.20.0000.03012.21
4.4.10.0000.02312.21
4.4.00.0070.04012.21
4.3.110.0000.02312.21
4.3.100.0030.02012.21
4.3.90.0030.03012.21
4.3.80.0000.05012.21
4.3.70.0000.03712.21
4.3.60.0000.03312.21
4.3.50.0000.03712.21
4.3.40.0000.04012.21
4.3.30.0030.02312.21
4.3.20.0000.02712.21
4.3.10.0000.01712.21
4.3.00.0000.01712.21