3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input; var_dump(count($input));
based on sQETi

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.0400.01098.97
7.3.0rc30.0280.00316.45
7.3.0beta10.0060.00312.65
7.3.0alpha10.0040.00412.54
7.2.60.0000.01016.47
7.2.00.0100.01019.34
7.1.200.0130.00015.42
7.1.100.0100.00317.89
7.1.70.0030.00317.05
7.1.60.0100.01319.32
7.1.50.0110.01416.93
7.1.00.0000.08022.36
7.0.200.0000.00716.68
7.0.140.0070.07022.07
7.0.60.0100.07719.87
7.0.50.0030.05017.84
7.0.40.0230.06720.06
7.0.30.0530.06720.04
7.0.20.0200.05320.16
7.0.10.0030.08720.13
7.0.00.0100.07020.17
5.6.280.0100.06720.98
5.6.210.0130.07020.54
5.6.200.0070.05018.14
5.6.190.0000.04720.43
5.6.180.0270.08020.27
5.6.170.0230.05320.38
5.6.160.0100.07720.50
5.6.150.0030.08718.17
5.6.140.0100.07718.09
5.6.130.0070.08018.20
5.6.120.0000.04720.93
5.6.110.0070.08721.11
5.6.100.0230.06020.96
5.6.90.0200.06320.97
5.6.80.0130.07020.34
5.5.350.0170.06320.34
5.5.340.0070.08317.96
5.5.330.0130.07720.21
5.5.320.0430.06320.21
5.5.310.0200.04320.41
5.5.300.0070.08017.92
5.5.290.0130.07317.90
5.5.280.0100.05720.89
5.5.270.0100.06320.82
5.5.260.0100.07320.86
5.5.250.0130.07320.77
5.5.240.0330.06020.26
5.4.450.0730.06019.63
5.4.440.0870.06319.41
5.4.430.0930.06019.48
5.4.420.0670.00019.42
5.4.410.0670.00019.21
5.4.400.0630.00019.07
5.4.390.0600.00018.98
5.4.380.0670.00018.98
5.4.370.0770.00019.16
5.4.360.0630.00019.00
5.4.350.0670.00018.98
5.4.340.0070.03311.96
5.4.320.0040.03812.45
5.4.310.0080.03512.45
5.4.300.0080.03412.45
5.4.290.0080.05212.45
5.4.280.0050.04912.35
5.4.270.0060.05312.34
5.4.260.0070.04012.34
5.4.250.0080.04812.34
5.4.240.0110.04412.34
5.4.230.0080.04112.34
5.4.220.0030.03912.34
5.4.210.0090.03212.34
5.4.200.0090.03612.34
5.4.190.0050.04312.33
5.4.180.0100.04512.34
5.4.170.0080.03712.35
5.4.160.0060.03712.34
5.4.150.0070.03412.34
5.4.140.0070.03612.02
5.4.130.0050.04412.01
5.4.120.0040.03911.97
5.4.110.0070.03611.96
5.4.100.0070.03511.97
5.4.90.0050.04611.96
5.4.80.0070.03611.96
5.4.70.0050.03511.96
5.4.60.0080.03311.96
5.4.50.0060.03511.96
5.4.40.0060.03511.95
5.4.30.0050.03611.95
5.4.20.0040.03611.95
5.4.10.0070.03311.95
5.4.00.0080.03311.44
5.3.290.0060.03912.80
5.3.280.0070.03612.71
5.3.270.0070.04112.72
5.3.260.0090.05212.72
5.3.250.0130.04412.72
5.3.240.0060.03612.72
5.3.230.0040.03912.70
5.3.220.0080.03412.68
5.3.210.0070.03712.68
5.3.200.0060.03512.68
5.3.190.0110.03112.67
5.3.180.0080.03412.68
5.3.170.0060.03612.66
5.3.160.0080.03412.67
5.3.150.0070.03712.67
5.3.140.0040.03812.66
5.3.130.0050.03912.66
5.3.120.0030.04112.66
5.3.110.0060.05012.66
5.3.100.0070.03612.12
5.3.90.0040.03812.08
5.3.80.0070.03612.08
5.3.70.0030.03912.07
5.3.60.0100.03412.06
5.3.50.0100.03312.00
5.3.40.0070.03512.00
5.3.30.0050.05211.94
5.3.20.0070.04211.71
5.3.10.0060.04511.69
5.3.00.0070.03411.67
5.2.170.0060.0289.17
5.2.160.0040.0309.17
5.2.150.0080.0279.17
5.2.140.0070.0289.18
5.2.130.0050.0309.13
5.2.120.0060.0279.13
5.2.110.0050.0299.14
5.2.100.0030.0309.13
5.2.90.0030.0309.14
5.2.80.0060.0389.13
5.2.70.0070.0419.13
5.2.60.0080.0399.09
5.2.50.0040.0439.05
5.2.40.0080.0359.03
5.2.30.0080.0379.01
5.2.20.0070.0358.99
5.2.10.0080.0318.91
5.2.00.0020.0328.77
5.1.60.0080.0318.06
5.1.50.0050.0338.05
5.1.40.0040.0338.04
5.1.30.0070.0368.39
5.1.20.0050.0308.41
5.1.10.0060.0248.13
5.1.00.0030.0268.13
5.0.50.0030.0206.61
5.0.40.0030.0196.47
5.0.30.0040.0306.28
5.0.20.0010.0226.26
5.0.10.0040.0206.23
5.0.00.0040.0346.22
4.4.90.0050.0374.78
4.4.80.0040.0184.76
4.4.70.0010.0204.76
4.4.60.0010.0174.75
4.4.50.0030.0164.77
4.4.40.0020.0274.71
4.4.30.0030.0154.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0060.0234.76
4.3.110.0010.0184.67
4.3.100.0050.0124.67
4.3.90.0010.0164.63
4.3.80.0010.0264.59
4.3.70.0010.0184.63
4.3.60.0030.0174.63
4.3.50.0050.0174.63
4.3.40.0070.0374.54
4.3.30.0030.0193.28
4.3.20.0020.0213.25
4.3.10.0030.0203.21
4.3.00.0170.0207.20