3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php foreach ( array_keys(null) as $day ) { var_dump($day); }

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.0160.00616.57
7.3.00.0030.01316.50
7.2.130.0080.00816.71
7.2.120.0000.01316.86
7.2.110.0070.01016.73
7.2.100.0070.00716.98
7.2.90.0040.01116.72
7.2.80.0030.00616.93
7.2.70.0120.00016.93
7.2.60.0030.01016.66
7.2.50.0030.01316.84
7.2.40.0110.00316.96
7.2.30.0120.00316.60
7.2.20.0040.01116.93
7.2.10.0070.00716.64
7.2.00.0050.00718.13
7.1.250.0030.01015.89
7.1.100.0040.01318.11
7.1.70.0040.00416.98
7.1.60.0140.01119.70
7.1.50.0000.01116.61
7.1.00.0030.07322.31
7.0.200.0130.00316.71
7.0.140.0070.07021.95
7.0.60.0170.07319.86
7.0.50.0100.07717.81
7.0.40.0030.04320.04
7.0.30.0630.06720.01
7.0.20.0270.05320.16
7.0.10.0030.05320.09
7.0.00.0030.09020.01
5.6.280.0070.07021.12
5.6.210.0000.04320.48
5.6.200.0000.05718.22
5.6.190.0130.07720.57
5.6.180.3000.04020.49
5.6.170.0230.07020.33
5.6.160.0030.04320.43
5.6.150.0000.04318.18
5.6.140.0030.06018.21
5.6.130.0030.05318.10
5.6.120.0230.07021.14
5.6.110.0070.08021.02
5.6.100.0130.07721.10
5.6.90.0130.07020.98
5.6.80.0030.03720.52
5.6.70.4470.03720.35
5.5.350.0100.07020.34
5.5.340.0070.08318.02
5.5.330.0030.05320.46
5.5.320.0300.06020.30
5.5.310.0130.04020.20
5.5.300.0170.07017.90
5.5.290.0070.05317.88
5.5.280.0100.08320.98
5.5.270.0070.08320.79
5.5.260.0130.08320.79
5.5.250.0230.06020.77
5.5.240.0330.06320.26
5.4.450.0800.05719.64
5.4.440.0870.07319.63
5.4.430.0730.06319.24
5.4.420.0830.00019.35
5.4.410.0130.05719.02
5.4.400.0230.05718.70
5.4.390.0070.05718.66
5.4.380.0300.05018.53
5.4.370.0170.05018.72
5.4.360.0070.04718.59
5.4.350.0060.03411.98
5.4.340.0060.03711.97
5.4.320.0080.04012.46
5.4.310.0100.04912.45
5.4.300.0070.03712.46
5.4.290.0070.03812.45
5.4.280.0030.04012.35
5.4.270.0100.03412.35
5.4.260.0110.03412.35
5.4.250.0090.03612.35
5.4.240.0100.03212.35
5.4.230.0100.03412.34
5.4.220.0070.03612.34
5.4.210.0130.04212.34
5.4.200.0080.04212.34
5.4.190.0140.04512.34
5.4.180.0070.03612.34
5.4.170.0050.03812.35
5.4.160.0060.04312.34
5.4.150.0140.04512.34
5.4.140.0110.05112.02
5.4.130.0120.04612.01
5.4.120.0090.04911.97
5.4.110.0100.04111.97
5.4.100.0110.03111.96
5.4.90.0050.04011.96
5.4.80.0060.04811.97
5.4.70.0040.05211.96
5.4.60.0050.04211.96
5.4.50.0050.03711.97
5.4.40.0100.03211.95
5.4.30.0090.03411.95
5.4.20.0070.03511.95
5.4.10.0040.03611.95
5.4.00.0070.03611.44
5.3.290.0070.04012.80
5.3.280.0080.03712.71
5.3.270.0070.03912.73
5.3.260.0040.04112.72
5.3.250.0050.03912.72
5.3.240.0040.03912.72
5.3.230.0070.03712.71
5.3.220.0080.03612.68
5.3.210.0040.04112.68
5.3.200.0070.03612.68
5.3.190.0100.03412.68
5.3.180.0070.03612.68
5.3.170.0080.03512.67
5.3.160.0060.03712.68
5.3.150.0050.03912.68
5.3.140.0100.04612.66
5.3.130.0090.05312.66
5.3.120.0090.05312.66
5.3.110.0090.05312.66
5.3.100.0100.04812.12
5.3.90.0070.05212.08
5.3.80.0100.04612.07
5.3.70.0110.04512.07
5.3.60.0130.04512.06
5.3.50.0120.04412.00
5.3.40.0060.04212.00
5.3.30.0070.03611.94
5.3.20.0070.03611.72
5.3.10.0090.03311.69
5.3.00.0040.03911.67
5.2.170.0070.0309.18
5.2.160.0040.0319.18
5.2.150.0050.0329.17
5.2.140.0060.0329.18
5.2.130.0020.0339.14
5.2.120.0040.0299.13
5.2.110.0040.0309.14
5.2.100.0060.0289.14
5.2.90.0090.0359.13
5.2.80.0060.0419.13
5.2.70.0060.0419.13
5.2.60.0070.0409.08
5.2.50.0050.0409.05
5.2.40.0080.0359.03
5.2.30.0070.0329.00
5.2.20.0030.0319.00
5.2.10.0040.0308.91
5.2.00.0050.0298.77
5.1.60.0080.0278.06
5.1.50.0120.0288.05
5.1.40.0070.0348.04
5.1.30.0110.0318.39
5.1.20.0060.0368.41
5.1.10.0090.0318.13
5.1.00.0090.0348.14
5.0.50.0090.0246.61
5.0.40.0080.0196.46
5.0.30.0030.0326.29
5.0.20.0040.0196.25
5.0.10.0020.0216.23
5.0.00.0040.0306.22
4.4.90.0030.0154.78
4.4.80.0020.0164.76
4.4.70.0030.0164.75
4.4.60.0040.0144.76
4.4.50.0030.0154.77
4.4.40.0050.0234.71
4.4.30.0030.0164.76
4.4.20.0040.0154.85
4.4.10.0040.0154.85
4.4.00.0030.0254.76
4.3.110.0030.0164.67
4.3.100.0060.0124.67
4.3.90.0020.0154.63
4.3.80.0050.0224.59
4.3.70.0040.0144.63
4.3.60.0020.0164.63
4.3.50.0030.0164.63
4.3.40.0010.0274.53
4.3.30.0010.0173.28
4.3.20.0020.0163.25
4.3.10.0020.0163.21
4.3.00.0200.0206.42