3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $color = array('white', 'green', 'red', 'blue', 'black'); print_r (color); ?>
based on 92sRA

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.0200.00616.26
7.3.00.0140.01116.43
7.2.130.0090.01516.54
7.2.120.0120.00816.52
7.2.110.0190.00616.46
7.2.100.0150.00915.98
7.2.90.0080.00816.34
7.2.80.0130.01316.17
7.2.70.0190.00516.18
7.2.60.0130.01016.56
7.2.50.0120.00616.18
7.2.40.0130.01016.39
7.2.30.0170.00916.46
7.2.20.0100.00716.01
7.2.10.0130.00616.32
7.2.00.0070.00718.01
7.1.250.0150.00815.09
7.1.200.0030.01015.63
7.1.100.0140.00717.92
7.1.70.0040.00416.74
7.1.60.0070.01819.11
7.1.50.0150.00616.82
7.1.00.0030.07722.30
7.0.200.0000.00716.73
7.0.140.0070.07022.04
7.0.60.0030.06719.94
7.0.50.0100.07717.88
7.0.40.0070.04019.98
7.0.30.0200.04020.34
7.0.20.0300.07719.97
7.0.10.0070.08020.21
7.0.00.0100.05020.00
5.6.280.0030.07320.81
5.6.210.0000.08020.46
5.6.200.0100.07718.16
5.6.190.0130.07020.57
5.6.180.0270.07320.43
5.6.170.0270.06320.41
5.6.160.0130.07720.44
5.6.150.0030.04018.22
5.6.140.0000.05718.11
5.6.130.0070.05318.14
5.6.120.0100.08020.97
5.6.110.0130.07721.07
5.6.100.0100.04321.13
5.6.90.0170.07720.96
5.6.80.0130.06320.47
5.5.350.0230.08320.29
5.5.340.0100.08017.96
5.5.330.0100.05320.41
5.5.320.0370.06320.17
5.5.310.0400.07720.21
5.5.300.0030.08017.91
5.5.290.0070.08017.93
5.5.280.0030.04320.86
5.5.270.0170.07020.79
5.5.260.0070.07320.94
5.5.250.0130.07720.57
5.5.240.0130.07020.12
5.4.450.0970.04719.49
5.4.440.0200.06319.52
5.4.430.0100.06719.46
5.4.420.0100.05319.52
5.4.410.0130.04718.96
5.4.400.0170.06718.66
5.4.390.0470.06018.61
5.4.380.0400.04318.74
5.4.370.0170.03018.46
5.4.360.0130.04718.61
5.4.350.0100.03611.97
5.4.340.0110.03711.96
5.4.320.0060.03912.45
5.4.310.0060.03712.45
5.4.300.0080.03512.46
5.4.290.0060.03812.45
5.4.280.0100.03212.35
5.4.270.0070.03512.35
5.4.260.0070.03712.34
5.4.250.0030.03912.35
5.4.240.0030.03812.35
5.4.230.0030.04012.34
5.4.220.0060.03712.34
5.4.210.0050.04212.34
5.4.200.0070.03612.34
5.4.190.0080.03212.34
5.4.180.0060.03612.33
5.4.170.0090.03312.35
5.4.160.0010.04012.34
5.4.150.0070.04312.34
5.4.140.0090.03812.02
5.4.130.0020.03912.01
5.4.120.0060.03911.97
5.4.110.0040.03711.96
5.4.100.0030.03811.96
5.4.90.0040.03911.96
5.4.80.0090.03411.96
5.4.70.0070.03311.96
5.4.60.0060.03811.96
5.4.50.0060.03411.96
5.4.40.0060.03311.95
5.4.30.0090.03311.95
5.4.20.0030.04411.95
5.4.10.0030.03711.95
5.4.00.0050.03811.43
5.3.290.0070.04012.80
5.3.280.0080.03612.71
5.3.270.0050.04012.73
5.3.260.0020.04312.72
5.3.250.0060.03612.72
5.3.240.0090.03312.72
5.3.230.0050.03812.71
5.3.220.0060.03812.68
5.3.210.0040.04312.68
5.3.200.0110.04012.68
5.3.190.0080.03912.67
5.3.180.0060.03612.67
5.3.170.0090.03212.67
5.3.160.0050.03712.67
5.3.150.0090.03412.67
5.3.140.0050.03712.66
5.3.130.0070.03912.65
5.3.120.0060.03812.66
5.3.110.0060.04012.65
5.3.100.0060.03712.11
5.3.90.0020.04112.09
5.3.80.0060.03712.07
5.3.70.0050.03812.08
5.3.60.0080.03512.07
5.3.50.0030.04112.00
5.3.40.0040.04112.00
5.3.30.0040.03611.94
5.3.20.0060.03511.72
5.3.10.0050.04011.69
5.3.00.0030.03811.67
5.2.170.0030.0339.18
5.2.160.0050.0289.18
5.2.150.0040.0379.18
5.2.140.0070.0279.18
5.2.130.0030.0309.13
5.2.120.0050.0279.13
5.2.110.0070.0269.14
5.2.100.0060.0279.14
5.2.90.0040.0299.14
5.2.80.0040.0309.13
5.2.70.0030.0319.13
5.2.60.0060.0309.08
5.2.50.0060.0289.05
5.2.40.0030.0309.03
5.2.30.0060.0299.01
5.2.20.0070.0278.99
5.2.10.0050.0288.92
5.2.00.0100.0248.77
5.1.60.0060.0248.06
5.1.50.0030.0308.06
5.1.40.0080.0208.04
5.1.30.0050.0268.39
5.1.20.0030.0298.41
5.1.10.0060.0248.13
5.1.00.0040.0268.14
5.0.50.0050.0196.62
5.0.40.0020.0206.47
5.0.30.0050.0406.29
5.0.20.0030.0206.25
5.0.10.0030.0226.23
5.0.00.0040.0356.22
4.4.90.0020.0184.78
4.4.80.0020.0194.76
4.4.70.0050.0164.76
4.4.60.0020.0204.75
4.4.50.0010.0174.77
4.4.40.0010.0284.70
4.4.30.0070.0164.75
4.4.20.0030.0284.85
4.4.10.0030.0164.85
4.4.00.0060.0244.76
4.3.110.0030.0164.67
4.3.100.0020.0164.66
4.3.90.0040.0144.63
4.3.80.0030.0284.58
4.3.70.0040.0164.63
4.3.60.0020.0154.63
4.3.50.0030.0174.63
4.3.40.0040.0234.54
4.3.30.0040.0143.29
4.3.20.0030.0163.26
4.3.10.0060.0203.21
4.3.00.0170.0277.13