3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(chr(0xff));

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.00.0050.01619.29
7.1.100.0000.01417.96
7.1.70.0030.00717.01
7.1.60.0070.01719.11
7.1.50.0070.01716.66
7.1.00.0030.07722.40
7.0.200.0040.00416.40
7.0.140.0030.06722.05
7.0.60.0070.08019.89
7.0.50.0100.07317.66
7.0.40.0070.04020.07
7.0.30.0530.05020.18
7.0.20.0230.06320.17
7.0.10.0070.05720.18
7.0.00.0170.07719.99
5.6.280.0000.07320.87
5.6.210.0130.06720.64
5.6.200.0170.07018.16
5.6.190.0170.03320.27
5.6.180.0170.04020.39
5.6.170.0230.04020.56
5.6.160.0100.08320.37
5.6.150.0030.05718.09
5.6.140.0070.08018.17
5.6.130.0030.04018.07
5.6.120.0070.05721.01
5.6.110.0130.07721.10
5.6.100.0100.03320.96
5.6.90.0170.07021.00
5.6.80.0070.08020.27
5.6.70.4330.04320.42
5.5.350.0100.05720.41
5.5.340.0030.04717.95
5.5.330.0100.08320.23
5.5.320.0230.08020.30
5.5.310.0230.04720.12
5.5.300.0070.08317.98
5.5.290.0070.07317.96
5.5.280.0070.03720.73
5.5.270.0100.08320.83
5.5.260.0200.06320.86
5.5.250.0100.07720.77
5.5.240.0170.03020.15
5.4.450.0200.05319.47
5.4.440.0130.07019.50
5.4.430.0170.06319.60
5.4.420.0670.00019.52
5.4.410.0670.00019.25
5.4.400.0630.00019.20
5.4.390.0630.00018.96
5.4.380.0630.00019.05
5.4.370.0630.00019.05
5.4.360.0600.00019.09
5.4.350.0630.00019.07
5.4.340.0080.03311.96
5.4.320.0070.03512.45
5.4.310.0070.03712.45
5.4.300.0060.03712.45
5.4.290.0090.03612.45
5.4.280.0090.03412.34
5.4.270.0080.03912.35
5.4.260.0090.04112.35
5.4.250.0070.03712.35
5.4.240.0040.03912.35
5.4.230.0010.04412.34
5.4.220.0090.03812.34
5.4.210.0090.05112.34
5.4.200.0090.04312.34
5.4.190.0080.03812.34
5.4.180.0110.03912.34
5.4.170.0080.06412.35
5.4.160.0080.03912.34
5.4.150.0070.03712.34
5.4.140.0060.04012.02
5.4.130.0070.03512.01
5.4.120.0090.03311.96
5.4.110.0140.04611.96
5.4.100.0060.03711.96
5.4.90.0080.04111.96
5.4.80.0080.05611.96
5.4.70.0080.05711.96
5.4.60.0050.04011.96
5.4.50.0110.03411.96
5.4.40.0080.03811.95
5.4.30.0150.05211.95
5.4.20.0200.06911.95
5.4.10.0110.03311.95
5.4.00.0090.03811.44
5.3.290.0060.05012.80
5.3.280.0100.04212.70
5.3.270.0050.04012.72
5.3.260.0080.03712.72
5.3.250.0050.04012.71
5.3.240.0090.03912.72
5.3.230.0080.04712.71
5.3.220.0090.03712.68
5.3.210.0050.04212.68
5.3.200.0050.03812.68
5.3.190.0040.04012.68
5.3.180.0090.03412.68
5.3.170.0060.04512.67
5.3.160.0110.04612.67
5.3.150.0090.03612.67
5.3.140.0090.04212.66
5.3.130.0080.03812.66
5.3.120.0080.04312.66
5.3.110.0100.03612.66
5.3.100.0030.03912.12
5.3.90.0050.04112.08
5.3.80.0040.03912.08
5.3.70.0100.04012.07
5.3.60.0120.03612.06
5.3.50.0070.03412.00
5.3.40.0070.03512.00
5.3.30.0100.03111.94
5.3.20.0060.03511.72
5.3.10.0090.04011.68
5.3.00.0080.05611.67
5.2.170.0040.0359.17
5.2.160.0060.0349.17
5.2.150.0070.0319.17
5.2.140.0050.0319.17
5.2.130.0080.0269.13
5.2.120.0040.0309.13
5.2.110.0050.0299.14
5.2.100.0120.0299.14
5.2.90.0100.0499.13
5.2.80.0060.0379.13
5.2.70.0040.0309.13
5.2.60.0040.0309.09
5.2.50.0090.0259.05
5.2.40.0070.0259.03
5.2.30.0070.0359.01
5.2.20.0040.0318.99
5.2.10.0010.0328.91
5.2.00.0040.0308.77
5.1.60.0030.0248.05
5.1.50.0040.0278.05
5.1.40.0060.0268.04
5.1.30.0070.0248.39
5.1.20.0060.0268.41
5.1.10.0060.0258.13
5.1.00.0040.0268.13
5.0.50.0030.0216.61
5.0.40.0040.0196.47
5.0.30.0050.0306.28
5.0.20.0040.0196.25
5.0.10.0040.0206.23
5.0.00.0040.0336.22
4.4.90.0030.0154.77
4.4.80.0020.0154.75
4.4.70.0030.0154.75
4.4.60.0010.0194.75
4.4.50.0030.0164.77
4.4.40.0030.0344.71
4.4.30.0140.0434.76
4.4.20.0050.0234.84
4.4.10.0040.0184.85
4.4.00.0070.0304.76
4.3.110.0030.0214.67
4.3.100.0040.0164.66
4.3.90.0020.0164.63
4.3.80.0040.0284.59
4.3.70.0030.0164.63
4.3.60.0080.0824.62
4.3.50.0040.0184.62
4.3.40.0080.0364.54
4.3.30.0040.0193.27
4.3.20.0030.0163.26
4.3.10.0040.0213.21
4.3.00.0000.0276.85