3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include('config.php'); ?>

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.60.0060.00616.69
7.2.00.0450.00418.48
7.1.200.0060.00615.49
7.1.100.0080.00618.04
7.1.70.0040.00917.15
7.1.60.0200.00535.07
7.1.50.0190.01034.61
7.1.40.0160.01434.29
7.1.30.0120.01834.40
7.1.20.0160.01034.62
7.1.10.0050.00816.46
7.1.00.0040.00916.51
7.0.200.0060.00816.63
7.0.190.0030.00816.44
7.0.180.0020.01216.01
7.0.170.0050.00916.16
7.0.160.0020.01215.97
7.0.150.0020.01116.11
7.0.140.0050.00816.11
7.0.130.0050.00916.34
7.0.120.0080.00416.39
7.0.110.0040.00716.08
7.0.100.0070.00816.21
7.0.90.0050.00916.16
7.0.80.0050.01016.21
7.0.70.0030.00816.12
7.0.60.0050.00915.94
7.0.50.0010.01016.19
7.0.40.0060.00816.49
7.0.30.0050.00916.33
7.0.20.0050.00816.31
7.0.10.0000.01216.19
7.0.00.0020.01016.29
hhvm-3.17.30.0600.13088.90
hhvm-3.15.40.0490.14985.84
hhvm-3.13.20.0600.15498.00
hhvm-3.12.140.0360.15596.26
hhvm-3.11.10.0530.16888.94
hhvm-3.10.10.0530.16385.96
5.6.300.0130.05120.70
5.6.290.0050.05920.66
5.6.280.0130.05120.90
5.6.270.0050.05820.82
5.6.260.0100.05220.87
5.6.250.0080.06720.87
5.6.240.0180.06020.80
5.6.230.0100.06620.89
5.6.220.0080.05620.78
5.6.210.0050.07120.53
5.6.200.0080.05820.82
5.6.190.0110.05520.73
5.6.180.0080.05520.89
5.6.170.0060.05620.77
5.6.160.0030.06220.90
5.6.150.0070.05920.71
5.6.140.0080.05820.85
5.6.130.0130.06020.71
5.6.120.0060.06120.74
5.6.110.0070.05820.70
5.6.100.0070.06020.78
5.6.90.0100.05420.82
5.6.80.0080.05120.09
5.6.70.0090.05120.16
5.6.60.0090.05220.18
5.6.50.0070.05320.17
5.6.40.0140.04820.15
5.6.30.0150.05020.27
5.6.20.0060.05520.17
5.6.10.0130.05020.16
5.6.00.0070.06420.11
5.5.380.0030.06017.44
5.5.370.0070.05717.42
5.5.360.0100.05317.39
5.5.350.0070.05317.52
5.5.340.0000.06017.98
5.5.330.0100.05317.97
5.5.320.0070.05417.77
5.5.310.0100.05217.98
5.5.300.0000.06617.89
5.5.290.0160.06917.90
5.5.280.0130.05017.99
5.5.270.0060.06017.88
5.5.260.0100.06917.96
5.5.250.0030.05917.56
5.5.240.0070.05117.46
5.5.230.0070.05417.45
5.5.220.0070.05217.34
5.5.210.0140.04417.09
5.5.200.0170.04417.09
5.5.190.0070.05617.33
5.5.180.0100.05717.32
5.5.160.0130.04817.26
5.5.150.0170.06317.23
5.5.140.0130.06617.15
5.5.130.0140.04417.33
5.5.120.0030.05417.22
5.5.110.0030.06317.32
5.5.100.0070.05317.16
5.5.90.0100.05317.07
5.5.80.0030.05517.21
5.5.70.0100.04917.25
5.5.60.0130.04617.13
5.5.50.0070.05417.14
5.5.40.0030.05617.32
5.5.30.0030.05617.30
5.5.20.0140.04517.21
5.5.10.0000.06017.23
5.5.00.0070.05317.20
5.4.450.0130.05819.34
5.4.440.0030.06119.30
5.4.430.0130.05319.30
5.4.420.0170.06319.29
5.4.410.0100.05019.00
5.4.400.0070.05018.78
5.4.390.0070.05318.98
5.4.380.0030.05619.01
5.4.370.0100.04918.86
5.4.360.0170.04719.00
5.4.350.0170.04418.96
5.4.340.0030.05618.93
5.4.320.0130.04718.80
5.4.310.0100.06819.00
5.4.300.0130.04518.77
5.4.290.0070.05119.03
5.4.280.0100.05118.93
5.4.270.0130.04318.98
5.4.260.0100.04818.77
5.4.250.0130.05318.98
5.4.240.0130.04519.01
5.4.230.0030.05418.79
5.4.220.0070.05418.98
5.4.210.0100.05018.79
5.4.200.0200.04019.00
5.4.190.0160.04318.96
5.4.180.0200.03718.98
5.4.170.0160.04219.02
5.4.160.0100.04918.84
5.4.150.0070.05418.91
5.4.140.0100.05016.55
5.4.130.0030.05416.52
5.4.120.0160.03916.58
5.4.110.0070.04916.59
5.4.100.0030.05116.52
5.4.90.0070.05016.63
5.4.80.0130.04216.49
5.4.70.0130.04216.63
5.4.60.0140.04116.56
5.4.50.0130.04116.54
5.4.40.0060.04816.59
5.4.30.0130.04216.56
5.4.20.0130.04416.52
5.4.10.0130.05616.52
5.4.00.0000.05415.84
5.3.290.0100.06914.80
5.3.280.0070.05214.49
5.3.270.0130.04714.54
5.3.260.0100.05114.80
5.3.250.0070.05014.78
5.3.240.0250.03414.75
5.3.230.0060.05714.75
5.3.220.0100.04614.73
5.3.210.0000.05814.61
5.3.200.0030.05114.55
5.3.190.0060.05214.36
5.3.180.0000.05514.68
5.3.170.0130.04314.63
5.3.160.0070.04914.76
5.3.150.0070.05014.50
5.3.140.0100.04614.54
5.3.130.0070.05214.54
5.3.120.0070.05314.48
5.3.110.0090.05614.36
5.3.100.0070.04914.13
5.3.90.0130.04314.00
5.3.80.0140.04114.11
5.3.70.0030.05114.21
5.3.60.0070.04814.17
5.3.50.0030.05314.04
5.3.40.0100.04514.07
5.3.30.0130.04513.97
5.3.20.0130.03913.70
5.3.10.0000.05313.46
5.3.00.0100.04513.63
5.2.170.0130.03311.20
5.2.160.0030.04010.95
5.2.150.0000.04511.29
5.2.140.0030.04111.19
5.2.130.0070.03711.23
5.2.120.0070.03711.32
5.2.110.0060.03810.91
5.2.100.0070.03611.23
5.2.90.0040.04011.31
5.2.80.0100.03611.24
5.2.70.0100.03611.29
5.2.60.0100.03911.27
5.2.50.0030.04311.14
5.2.40.0040.04311.19
5.2.30.0130.03311.09
5.2.20.0090.03711.19
5.2.10.0000.04310.91
5.2.00.0100.03610.78
5.1.60.0030.03310.30
5.1.50.0100.02910.07
5.1.40.0030.03510.29
5.1.30.0060.03510.56
5.1.20.0070.03410.39
5.1.10.0070.03310.14
5.1.00.0070.03110.27
5.0.50.0100.0238.84
5.0.40.0030.0298.43
5.0.30.0000.0448.42
5.0.20.0000.0308.17
5.0.10.0030.0288.22
5.0.00.0060.0398.13
4.4.90.0100.0135.93
4.4.80.0030.0215.93
4.4.70.0030.0215.93
4.4.60.0030.0206.02
4.4.50.0000.0235.93
4.4.40.0060.0395.93
4.4.30.0060.0185.93
4.4.20.0000.0255.93
4.4.10.0000.0245.94
4.4.00.0030.0345.93
4.3.110.0060.0225.93
4.3.100.0060.0175.95
4.3.90.0030.0205.93
4.3.80.0100.0275.93
4.3.70.0040.0195.93
4.3.60.0060.0165.93
4.3.50.0000.0255.99
4.3.40.0000.0365.93
4.3.30.0030.0215.93
4.3.20.0000.0245.93
4.3.10.0000.0245.93
4.3.00.0000.0245.93