3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $code_name_array = array("Vichy negazuotas 0,5 l", "Vichy gazuotas 0,5 l"); $code_name_array_count = count($code_name_array); echo $code_name_array[0]; echo $code_name_array_count; ?>

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.0000.01519.38
7.1.100.0000.01017.91
7.1.70.0000.00716.95
7.1.60.0090.01219.70
7.1.50.0040.01516.73
7.1.00.0030.08022.36
7.0.200.0180.00016.34
7.0.140.0000.07721.97
7.0.60.0130.06719.93
7.0.50.0100.08317.85
7.0.40.0070.04020.03
7.0.30.0530.06320.13
7.0.20.0300.07320.30
7.0.10.0100.08020.04
7.0.00.0070.07020.14
5.6.280.0030.07321.07
5.6.210.0100.08320.66
5.6.200.0030.08318.15
5.6.190.0100.03720.77
5.6.180.0200.03720.48
5.6.170.0200.04320.41
5.6.160.0030.04720.71
5.6.150.0070.03718.18
5.6.140.0100.07318.18
5.6.130.0000.04718.17
5.6.120.0130.08020.87
5.6.110.0100.08320.88
5.6.100.0000.04720.97
5.6.90.0100.08021.11
5.6.80.0030.04720.52
5.5.350.0100.08720.37
5.5.340.0000.04318.01
5.5.330.0070.08720.56
5.5.320.0330.04720.45
5.5.310.0170.04720.21
5.5.300.0070.05317.93
5.5.290.0170.06317.95
5.5.280.0000.04320.86
5.5.270.0000.06320.73
5.5.260.0200.07720.74
5.5.250.0000.09020.68
5.5.240.0230.06020.25
5.4.450.0330.03326.73
5.4.440.0200.05026.14
5.4.430.0200.05026.13
5.4.420.0430.04026.13
5.4.410.0270.03726.12
5.4.400.0130.04326.11
5.4.390.0400.05726.11
5.4.380.0170.05318.68
5.4.370.0170.05018.48
5.4.360.0100.05718.72
5.4.350.0100.06718.77
5.4.340.0300.05718.62
5.4.320.0070.03412.45
5.4.310.0030.04912.45
5.4.300.0090.04112.46
5.4.290.0060.05212.45
5.4.280.0070.04812.34
5.4.270.0100.04012.35
5.4.260.0050.03812.34
5.4.250.0130.04012.34
5.4.240.0100.04112.34
5.4.230.0070.05812.34
5.4.220.0090.04012.34
5.4.210.0110.03712.34
5.4.200.0090.04012.34
5.4.190.0110.03712.34
5.4.180.0080.05312.33
5.4.170.0080.06112.34
5.4.160.0080.04912.34
5.4.150.0070.04712.34
5.4.140.0110.04112.02
5.4.130.0110.05012.01
5.4.120.0060.04111.97
5.4.110.0110.04911.96
5.4.100.0070.05011.96
5.4.90.0070.05411.96
5.4.80.0050.04611.96
5.4.70.0100.05111.96
5.4.60.0050.04411.96
5.4.50.0120.05311.96
5.4.40.0060.04111.95
5.4.30.0160.04811.95
5.4.20.0140.04411.95
5.4.10.0100.04011.95
5.4.00.0050.04511.44
5.3.290.0050.04512.80
5.3.280.0170.03212.71
5.3.270.0030.04912.73
5.3.260.0070.04612.72
5.3.250.0080.04912.72
5.3.240.0110.05012.72
5.3.230.0080.03912.71
5.3.220.0040.04612.68
5.3.210.0120.04212.68
5.3.200.0120.04612.68
5.3.190.0090.04012.68
5.3.180.0060.05112.68
5.3.170.0130.04712.67
5.3.160.0090.04912.67
5.3.150.0070.04712.67
5.3.140.0030.04912.66
5.3.130.0090.04112.66
5.3.120.0080.04512.66
5.3.110.0070.04612.66
5.3.100.0100.04412.12
5.3.90.0120.04012.08
5.3.80.0070.04212.07
5.3.70.0060.03712.07
5.3.60.0080.03612.07
5.3.50.0060.04212.00
5.3.40.0070.04112.00
5.3.30.0100.03711.94
5.3.20.0120.03611.72
5.3.10.0090.03811.70
5.3.00.0050.05111.68
5.2.170.0060.0419.18
5.2.160.0060.0399.18
5.2.150.0060.0419.18
5.2.140.0040.0449.17
5.2.130.0100.0369.13
5.2.120.0080.0369.14
5.2.110.0070.0379.14
5.2.100.0060.0389.14
5.2.90.0070.0399.14
5.2.80.0110.0329.13
5.2.70.0090.0319.13
5.2.60.0090.0349.09
5.2.50.0090.0399.05
5.2.40.0060.0329.03
5.2.30.0040.0389.00
5.2.20.0060.0288.99
5.2.10.0050.0358.93
5.2.00.0050.0358.79
5.1.60.0070.0258.07
5.1.50.0050.0268.07
5.1.40.0040.0328.05
5.1.30.0060.0258.40
5.1.20.0060.0318.42
5.1.10.0070.0288.15
5.1.00.0030.0308.15
5.0.50.0040.0226.63
5.0.40.0060.0196.48
5.0.30.0030.0336.30
5.0.20.0040.0216.26
5.0.10.0040.0206.25
5.0.00.0010.0346.24
4.4.90.0020.0174.78
4.4.80.0090.0134.76
4.4.70.0010.0194.76
4.4.60.0030.0174.75
4.4.50.0030.0194.77
4.4.40.0040.0294.70
4.4.30.0030.0194.76
4.4.20.0020.0204.85
4.4.10.0030.0184.85
4.4.00.0030.0274.76
4.3.110.0040.0164.67
4.3.100.0020.0184.66
4.3.90.0080.0114.64
4.3.80.0010.0294.59
4.3.70.0030.0164.63
4.3.60.0060.0134.63
4.3.50.0050.0154.63
4.3.40.0020.0254.54
4.3.30.0020.0183.29
4.3.20.0030.0163.27
4.3.10.0020.0173.23
4.3.00.0030.01726.09