3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hello = array( 'um', 'dois', 'tres' ); print_r($hello);
based on lNaLc

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.1.70.0000.00717.04
7.1.60.0160.00919.32
7.1.50.0090.01216.76
7.1.00.0030.07722.54
7.0.200.0000.00716.63
7.0.140.0000.07722.15
7.0.60.0170.07319.80
7.0.50.0130.04017.82
7.0.40.0030.05320.29
7.0.30.0300.03720.07
7.0.20.0370.07320.24
7.0.10.0000.07320.09
7.0.00.0070.06020.06
5.6.280.0070.07021.06
5.6.210.0070.08320.44
5.6.200.0030.07318.22
5.6.190.0000.04720.45
5.6.180.0400.03320.63
5.6.170.0270.04720.43
5.6.160.0100.04020.61
5.6.150.0100.05018.19
5.6.140.0100.07318.18
5.6.130.0030.07718.14
5.6.120.0070.04720.91
5.6.110.0070.04321.13
5.6.100.0200.07021.03
5.6.90.0000.08321.11
5.6.80.0100.03720.34
5.5.350.0200.03720.46
5.5.340.0170.07017.95
5.5.330.0070.04020.21
5.5.320.0430.07020.37
5.5.310.0230.06320.41
5.5.300.0030.03718.05
5.5.290.0100.06717.97
5.5.280.0100.08020.97
5.5.270.0130.05720.91
5.5.260.0070.04020.93
5.5.250.0100.07720.49
5.5.240.0100.07720.18
5.4.450.0230.06319.61
5.4.440.0070.06019.59
5.4.430.0370.05319.38
5.4.420.0430.07019.60
5.4.410.0370.05019.44
5.4.400.0270.05319.15
5.4.390.0130.05019.28
5.4.380.0400.05318.52
5.4.370.0400.06718.78
5.4.360.0330.05318.75
5.4.350.0270.08018.78
5.4.340.0300.05018.50
5.4.320.0070.03512.48
5.4.310.0040.03812.48
5.4.300.0130.03612.48
5.4.290.0070.04012.47
5.4.280.0060.03412.38
5.4.270.0030.03712.37
5.4.260.0080.04212.38
5.4.250.0070.03912.37
5.4.240.0080.03712.38
5.4.230.0080.03912.37
5.4.220.0040.03612.36
5.4.210.0090.04112.37
5.4.200.0100.03612.36
5.4.190.0080.03512.36
5.4.180.0060.03412.36
5.4.170.0020.03812.38
5.4.160.0080.03312.37
5.4.150.0060.04012.36
5.4.140.0060.03512.05
5.4.130.0050.04112.04
5.4.120.0050.04111.99
5.4.110.0090.03711.99
5.4.100.0050.03812.00
5.4.90.0070.03611.99
5.4.80.0060.03611.99
5.4.70.0070.03411.99
5.4.60.0060.03411.99
5.4.50.0030.03711.99
5.4.40.0110.02811.98
5.4.30.0060.03411.97
5.4.20.0050.03711.97
5.4.10.0080.03611.98
5.4.00.0080.03711.47
5.3.290.0060.04012.80
5.3.280.0050.03812.71
5.3.270.0070.03712.72
5.3.260.0070.03712.72
5.3.250.0060.03912.72
5.3.240.0090.03312.72
5.3.230.0070.03712.71
5.3.220.0090.03412.68
5.3.210.0100.03512.68
5.3.200.0090.03312.68
5.3.190.0080.03412.68
5.3.180.0060.03612.67
5.3.170.0040.03812.67
5.3.160.0030.03812.67
5.3.150.0060.03612.67
5.3.140.0050.03712.66
5.3.130.0040.04212.65
5.3.120.0100.03412.66
5.3.110.0040.03912.66
5.3.100.0060.03512.12
5.3.90.0060.03412.09
5.3.80.0100.03212.08
5.3.70.0080.03312.08
5.3.60.0070.03412.06
5.3.50.0060.03512.01
5.3.40.0110.03112.01
5.3.30.0060.03511.96
5.3.20.0070.03411.75
5.3.10.0080.03911.72
5.3.00.0050.03611.70
5.2.170.0020.0389.20
5.2.160.0070.0269.21
5.2.150.0040.0339.20
5.2.140.0060.0319.20
5.2.130.0050.0299.16
5.2.120.0020.0319.16
5.2.110.0030.0309.17
5.2.100.0060.0339.16
5.2.90.0040.0299.16
5.2.80.0060.0319.16
5.2.70.0100.0309.16
5.2.60.0070.0279.11
5.2.50.0020.0349.08
5.2.40.0040.0349.05
5.2.30.0050.0299.04
5.2.20.0050.0279.02
5.2.10.0060.0318.93
5.2.00.0050.0288.79
5.1.60.0080.0238.06
5.1.50.0040.0248.06
5.1.40.0060.0298.04
5.1.30.0000.0308.39
5.1.20.0050.0268.41
5.1.10.0030.0338.13
5.1.00.0050.0298.13
5.0.50.0040.0246.61
5.0.40.0040.0176.47
5.0.30.0050.0376.29
5.0.20.0050.0216.25
5.0.10.0040.0256.23
5.0.00.0050.0386.22
4.4.90.0020.0194.78
4.4.80.0020.0194.75
4.4.70.0020.0244.76
4.4.60.0040.0204.76
4.4.50.0070.0154.77
4.4.40.0050.0244.71
4.4.30.0010.0234.76
4.4.20.0030.0154.85
4.4.10.0030.0154.85
4.4.00.0040.0314.76
4.3.110.0030.0194.66
4.3.100.0020.0154.67
4.3.90.0040.0154.63
4.3.80.0030.0264.59
4.3.70.0020.0174.63
4.3.60.0030.0134.63
4.3.50.0030.0154.63
4.3.40.0030.0234.53
4.3.30.0050.0123.27
4.3.20.0020.0153.25
4.3.10.0040.0183.22
4.3.00.0130.0206.60