3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL | E_STRICT); $treco = array("sup" => "yolo?"); echo print_r($treco, 1);
based on 446c0

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.0030.01019.30
7.1.70.0040.00717.09
7.1.60.0150.01119.61
7.1.50.0100.01017.02
7.1.00.0100.06722.48
7.0.200.0080.00316.50
7.0.140.0030.07321.93
7.0.60.0130.07719.77
7.0.50.0200.03717.91
7.0.40.0030.04320.23
7.0.30.0270.07020.09
7.0.20.0170.07320.09
7.0.10.0070.04320.30
7.0.00.0030.04320.00
5.6.280.0030.07320.91
5.6.210.0000.04020.60
5.6.200.0070.08318.23
5.6.190.0070.08320.48
5.6.180.0070.07720.79
5.6.170.0330.08720.51
5.6.160.0100.03720.51
5.6.150.0170.07018.14
5.6.140.0000.04318.15
5.6.130.0100.08018.10
5.6.120.0000.05021.01
5.6.110.0070.07321.08
5.6.100.0030.04320.99
5.6.90.0230.07021.02
5.6.80.0100.07720.35
5.5.350.0130.06720.43
5.5.340.0030.04317.95
5.5.330.0100.03720.36
5.5.320.0470.06320.27
5.5.310.0270.08720.29
5.5.300.0070.03717.98
5.5.290.0170.07317.94
5.5.280.0070.04720.86
5.5.270.0130.07720.83
5.5.260.0230.06020.75
5.5.250.0130.07020.76
5.5.240.0300.07720.18
5.4.450.0930.07019.48
5.4.440.0870.06019.63
5.4.430.0670.05319.54
5.4.420.0330.04719.51
5.4.410.0570.05719.21
5.4.400.0800.04719.22
5.4.390.0770.06018.93
5.4.380.0170.07018.56
5.4.370.0230.05018.64
5.4.360.0200.05718.45
5.4.350.0200.06018.59
5.4.340.0300.05018.51
5.4.320.0100.03312.45
5.4.310.0060.03912.45
5.4.300.0040.04012.45
5.4.290.0050.04012.45
5.4.280.0060.03612.35
5.4.270.0040.03812.35
5.4.260.0080.04112.34
5.4.250.0090.04212.34
5.4.240.0040.03812.35
5.4.230.0070.04312.34
5.4.220.0060.03512.34
5.4.210.0040.03712.34
5.4.200.0060.03712.34
5.4.190.0050.03712.33
5.4.180.0040.03812.33
5.4.170.0060.04112.35
5.4.160.0050.04012.34
5.4.150.0040.03812.34
5.4.140.0070.03512.02
5.4.130.0080.03812.01
5.4.120.0070.03411.96
5.4.110.0050.03711.96
5.4.100.0080.03311.96
5.4.90.0060.03711.96
5.4.80.0060.03711.96
5.4.70.0070.03411.96
5.4.60.0050.03611.96
5.4.50.0100.03111.96
5.4.40.0050.03611.95
5.4.30.0090.03411.95
5.4.20.0050.03711.95
5.4.10.0070.03411.94
5.4.00.0030.03911.44
5.3.290.0120.04512.80
5.3.280.0120.04812.71
5.3.270.0090.03812.73
5.3.260.0090.04012.72
5.3.250.0100.03812.72
5.3.240.0070.03912.72
5.3.230.0070.04112.71
5.3.220.0060.04212.68
5.3.210.0050.04112.68
5.3.200.0080.03512.68
5.3.190.0090.03512.68
5.3.180.0110.03212.68
5.3.170.0060.03712.67
5.3.160.0050.03912.67
5.3.150.0090.03512.68
5.3.140.0120.03712.66
5.3.130.0050.04312.66
5.3.120.0100.03412.66
5.3.110.0070.04012.65
5.3.100.0060.03712.12
5.3.90.0050.03812.09
5.3.80.0090.03612.07
5.3.70.0040.03912.07
5.3.60.0060.04212.07
5.3.50.0070.03512.00
5.3.40.0070.04012.00
5.3.30.0070.03311.95
5.3.20.0030.03711.72
5.3.10.0070.03311.70
5.3.00.0060.03611.68
5.2.170.0090.0269.18
5.2.160.0040.0299.18
5.2.150.0040.0309.18
5.2.140.0080.0309.18
5.2.130.0060.0389.14
5.2.120.0060.0319.14
5.2.110.0060.0389.14
5.2.100.0060.0299.14
5.2.90.0030.0319.14
5.2.80.0050.0309.13
5.2.70.0050.0299.14
5.2.60.0060.0389.09
5.2.50.0080.0279.05
5.2.40.0060.0279.04
5.2.30.0040.0309.00
5.2.20.0030.0309.00
5.2.10.0040.0288.94
5.2.00.0050.0288.79
5.1.60.0050.0228.08
5.1.50.0090.0218.07
5.1.40.0030.0288.06
5.1.30.0060.0318.41
5.1.20.0040.0288.43
5.1.10.0050.0248.15
5.1.00.0060.0288.15
5.0.50.0050.0296.63
5.0.40.0060.0196.49
5.0.30.0030.0306.30
5.0.20.0030.0196.27
5.0.10.0030.0216.25
5.0.00.0020.0316.24
4.4.90.0070.0114.78
4.4.80.0020.0214.75
4.4.70.0020.0164.76
4.4.60.0040.0154.76
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0010.0184.75
4.4.20.0030.0144.84
4.4.10.0040.0134.85
4.4.00.0040.0234.76
4.3.110.0010.0174.67
4.3.100.0020.0154.66
4.3.90.0030.0174.63
4.3.80.0000.0264.59
4.3.70.0030.0144.63
4.3.60.0020.0164.63
4.3.50.0020.0154.63
4.3.40.0020.0244.54
4.3.30.0010.0163.30
4.3.20.0030.0173.27
4.3.10.0020.0193.23
4.3.00.0070.0236.98