3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"stdClass":0:{}'));

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.110.0110.01816.13
7.2.60.0060.00616.58
7.2.40.0460.01317.88
7.2.30.0620.00917.48
7.2.20.0490.01017.75
7.2.10.0850.00917.70
7.2.00.0340.00818.47
7.1.200.0030.00615.51
7.1.160.0500.01116.45
7.1.150.0590.01116.68
7.1.140.1090.00916.50
7.1.130.0620.00616.60
7.1.120.0850.01316.70
7.1.110.0720.00816.14
7.1.100.0300.00816.77
7.1.90.0770.00716.11
7.1.80.0820.01115.64
7.1.70.0270.00515.97
7.1.60.0420.00926.32
7.1.50.0600.00924.84
7.1.40.0730.01532.43
7.1.30.1190.01632.40
7.1.20.1140.01732.68
7.1.10.0530.00914.64
7.1.00.0570.04118.62
7.0.290.0620.00916.57
7.0.270.0640.00816.17
7.0.260.0580.00916.42
7.0.250.0580.00715.62
7.0.240.0970.00915.65
7.0.230.1000.00815.95
7.0.220.0610.01115.92
7.0.210.0890.01414.63
7.0.200.0220.00915.74
7.0.190.0420.01214.46
7.0.180.0550.01114.20
7.0.170.0950.00814.43
7.0.160.0610.00614.43
7.0.150.0730.00714.33
7.0.140.0360.04218.26
7.0.130.0870.01014.62
7.0.120.0680.01314.61
7.0.110.0770.01014.27
7.0.100.0520.03917.15
7.0.90.0440.03417.09
7.0.80.0400.04617.18
7.0.70.0450.03917.03
7.0.60.0560.04116.96
7.0.50.0320.04517.37
7.0.40.0370.04217.33
7.0.30.0320.04117.24
7.0.20.0520.04517.29
7.0.10.0500.04417.39
7.0.00.0430.04717.33
hhvm-3.22.00.1100.19890.28
hhvm-3.21.00.0860.15589.84
hhvm-3.20.20.0920.19589.46
hhvm-3.19.20.0930.19389.17
hhvm-3.18.40.0840.15687.77
hhvm-3.17.30.0760.16187.12
hhvm-3.15.40.0660.15084.82
hhvm-3.13.20.0990.15896.15
hhvm-3.12.140.0920.14994.45
hhvm-3.11.10.0730.15987.23
hhvm-3.10.10.0890.14184.11
5.6.300.0210.05220.83
5.6.290.0130.05920.89
5.6.280.0060.06721.07
5.6.270.0160.05420.74
5.6.260.0140.05520.98
5.6.250.0110.06820.89
5.6.240.0120.06220.84
5.6.230.0120.04920.64
5.6.220.0100.06920.70
5.6.210.0160.06220.64
5.6.200.0140.06120.95
5.6.190.0120.07020.91
5.6.180.0130.07120.99
5.6.170.0080.05720.97
5.6.160.0120.06120.88
5.6.150.0190.06220.90
5.6.140.0120.06420.96
5.6.130.0110.06520.97
5.6.120.0120.07020.93
5.6.110.0120.06920.96
5.6.100.0140.06320.97
5.6.90.0140.05020.86
5.6.80.0120.07420.29
5.6.70.0150.06320.38
5.6.60.0100.07420.38
5.6.50.0090.06920.40
5.6.40.0110.06220.34
5.6.30.0090.06620.35
5.6.20.0110.05020.37
5.6.10.0130.06320.21
5.6.00.0150.06220.34
5.5.380.0090.06718.98
5.5.370.0110.05018.90
5.5.360.0090.06318.95
5.5.350.0080.05118.91
5.5.340.0160.06619.34
5.5.330.0120.07119.35
5.5.320.0160.07119.39
5.5.310.0150.07619.42
5.5.300.0090.06819.29
5.5.290.0100.06519.41
5.5.280.0130.04919.38
5.5.270.0120.06719.40
5.5.260.0090.06819.35
5.5.250.0130.06419.19
5.5.240.0100.04818.78
5.5.230.0110.07818.72
5.5.220.0100.06618.79
5.5.210.0110.06418.69
5.5.200.0120.06818.63
5.5.190.0100.06218.60
5.5.180.0090.07018.75
5.5.160.0140.06118.78
5.5.150.0100.06318.75
5.5.140.0100.06218.73
5.5.130.0110.06418.80
5.5.120.0120.07018.66
5.5.110.0060.07018.66
5.5.100.0090.06018.65
5.5.90.0100.05118.50
5.5.80.0080.04818.70
5.5.70.0060.07018.66
5.5.60.0160.05818.62
5.5.50.0090.06018.64
5.5.40.0140.06018.61
5.5.30.0090.06418.69
5.5.20.0080.07218.67
5.5.10.0100.06418.67
5.5.00.0080.05618.55
5.4.450.0100.06719.37
5.4.440.0120.06319.46
5.4.430.0100.08119.47
5.4.420.0080.05919.39
5.4.410.0080.06619.21
5.4.400.0100.04819.03
5.4.390.0120.05819.11
5.4.380.0120.06018.82
5.4.370.0110.06019.08
5.4.360.0170.05218.87
5.4.350.0110.06018.96
5.4.340.0090.06419.02
5.4.320.0120.06318.85
5.4.310.0100.06018.86
5.4.300.0100.06018.97
5.4.290.0070.07119.01
5.4.280.0110.06319.04
5.4.270.0070.06919.03
5.4.260.0130.06219.07
5.4.250.0120.06118.94
5.4.240.0130.04918.88
5.4.230.0060.05219.03
5.4.220.0160.06519.02
5.4.210.0100.06519.03
5.4.200.0150.05318.95
5.4.190.0100.05318.96
5.4.180.0160.05619.02
5.4.170.0130.05419.02
5.4.160.0100.06418.92
5.4.150.0070.06518.96
5.4.140.0120.05216.42
5.4.130.0070.05716.36
5.4.120.0090.05516.41
5.4.110.0120.04816.43
5.4.100.0090.05516.30
5.4.90.0080.04516.45
5.4.80.0120.05616.37
5.4.70.0140.05316.36
5.4.60.0070.06616.44
5.4.50.0130.05816.37
5.4.40.0090.06916.44
5.4.30.0120.06816.35
5.4.20.0090.05416.44
5.4.10.0090.05716.28
5.4.00.0090.05915.78
5.3.290.0140.05914.63
5.3.280.0080.06614.62
5.3.270.0150.06014.63
5.3.260.0100.06214.64
5.3.250.0090.04714.59
5.3.240.0110.06114.62
5.3.230.0140.04414.65
5.3.220.0080.05914.51
5.3.210.0120.06314.49
5.3.200.0080.06014.54
5.3.190.0120.05914.62
5.3.180.0150.04814.61
5.3.170.0150.05714.65
5.3.160.0100.05714.60
5.3.150.0170.06314.64
5.3.140.0090.06914.62
5.3.130.0100.06814.53
5.3.120.0110.05314.58
5.3.110.0130.05714.52
5.3.100.0130.06314.00
5.3.90.0110.05914.01
5.3.80.0080.05914.04
5.3.70.0120.06113.94
5.3.60.0090.05913.97
5.3.50.0060.06213.87
5.3.40.0100.07113.97
5.3.30.0110.05813.80
5.3.20.0060.06313.64
5.3.10.0060.06213.62
5.3.00.0070.05913.63
5.2.170.0100.05611.54
5.2.160.0070.05011.44
5.2.150.0040.06111.39
5.2.140.0070.04811.47
5.2.130.0050.04111.54
5.2.120.0060.05111.48
5.2.110.0110.05911.42
5.2.100.0090.04711.49
5.2.90.0090.04811.49
5.2.80.0150.04711.48
5.2.70.0110.04811.53
5.2.60.0060.05111.43
5.2.50.0080.05411.44
5.2.40.0150.04911.28
5.2.30.0100.05611.46
5.2.20.0060.05211.38
5.2.10.0100.04511.36
5.2.00.0120.04911.32
5.1.60.0050.04610.97
5.1.50.0050.03911.01
5.1.40.0090.05210.96
5.1.30.0080.04311.13
5.1.20.0070.04611.20
5.1.10.0070.05010.92
5.1.00.0070.05310.92
5.0.50.0080.03810.30
5.0.40.0080.03710.15
5.0.30.0060.05610.08
5.0.20.0050.03410.05
5.0.10.0050.03110.11
5.0.00.0070.04910.11
4.4.90.0040.02710.00
4.4.80.0050.02710.00
4.4.70.0050.02710.00
4.4.60.0020.02410.00
4.4.50.0050.03510.00
4.4.40.0060.03010.00
4.4.30.0030.02810.00
4.4.20.0050.02510.00
4.4.10.0070.03110.00
4.4.00.0050.04210.00
4.3.110.0050.02910.00
4.3.100.0050.02410.00
4.3.90.0070.01910.00
4.3.80.0050.04210.00
4.3.70.0040.02910.00
4.3.60.0040.02610.00
4.3.50.0030.03110.00
4.3.40.0030.04310.00
4.3.30.0060.03410.00
4.3.20.0020.02510.00
4.3.10.0020.03510.00
4.3.00.0010.02510.00