3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(chr(226), chr(154), chr(171));

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.60.0060.00916.79
7.2.00.0000.01319.14
7.1.200.0040.00415.55
7.1.100.0000.01117.87
7.1.70.0000.00716.84
7.1.60.0090.01519.33
7.1.50.0090.01216.90
7.1.00.0100.07022.51
7.0.200.0200.00714.82
7.0.140.0000.07722.21
7.0.60.0100.07319.80
7.0.50.0070.08317.90
7.0.40.0130.07719.96
7.0.30.0570.06320.13
7.0.20.0200.03720.04
7.0.10.0100.08720.21
7.0.00.0000.07020.16
5.6.280.0070.07020.98
5.6.210.0030.04020.52
5.6.200.0070.05318.21
5.6.190.0070.06720.26
5.6.180.0300.03720.45
5.6.170.0200.04320.45
5.6.160.0030.04320.48
5.6.150.0000.04318.12
5.6.140.0000.04318.11
5.6.130.0100.04018.21
5.6.120.0070.04020.98
5.6.110.0070.07020.99
5.6.100.0230.07321.00
5.6.90.0100.07720.99
5.6.80.0130.07320.40
5.6.70.4300.03720.32
5.5.350.0130.08020.31
5.5.340.0070.08317.99
5.5.330.0100.05320.43
5.5.320.0100.07320.24
5.5.310.0300.07720.26
5.5.300.0230.07018.00
5.5.290.0030.04318.02
5.5.280.0000.04320.73
5.5.270.0130.08020.75
5.5.260.0100.06720.83
5.5.250.0070.08320.77
5.5.240.0200.07720.21
5.4.450.0870.06319.63
5.4.440.0100.06319.27
5.4.430.0200.05319.48
5.4.420.0270.05319.27
5.4.410.0330.04019.40
5.4.400.0230.05319.20
5.4.390.0430.04718.79
5.4.380.0400.04018.68
5.4.370.0270.05318.68
5.4.360.0300.05318.74
5.4.350.0200.06018.46
5.4.340.0270.07318.49
5.4.320.0060.03612.45
5.4.310.0080.03812.45
5.4.300.0070.04212.45
5.4.290.0020.04212.45
5.4.280.0050.04312.32
5.4.270.0060.03912.32
5.4.260.0040.04112.32
5.4.250.0040.04212.32
5.4.240.0070.05212.32
5.4.230.0090.04112.31
5.4.220.0070.04012.31
5.4.210.0070.04812.31
5.4.200.0100.04212.31
5.4.190.0060.03812.31
5.4.180.0080.03612.31
5.4.170.0070.04012.32
5.4.160.0020.04312.31
5.4.150.0040.03912.30
5.4.140.0100.04811.99
5.4.130.0080.05611.98
5.4.120.0050.04611.94
5.4.110.0120.04311.93
5.4.100.0120.04611.93
5.4.90.0080.04911.93
5.4.80.0100.04311.93
5.4.70.0060.05011.93
5.4.60.0090.03711.93
5.4.50.0160.07411.93
5.4.40.0180.09211.92
5.4.30.0190.08511.92
5.4.20.0130.09011.92
5.4.10.0150.06211.92
5.4.00.0080.05411.41
5.3.290.0080.03912.80
5.3.280.0100.06012.71
5.3.270.0160.06812.72
5.3.260.0180.07112.72
5.3.250.0210.07512.72
5.3.240.0230.12412.72
5.3.230.0140.07612.71
5.3.220.0140.07712.68
5.3.210.0110.05812.68
5.3.200.0690.11812.68
5.3.190.0220.10812.68
5.3.180.0350.09612.67
5.3.170.0340.15812.67
5.3.160.0140.07212.67
5.3.150.0120.06512.67
5.3.140.0160.05612.66
5.3.130.0170.06512.66
5.3.120.0100.06212.66
5.3.110.0090.06912.66
5.3.100.0120.07212.12
5.3.90.0140.06812.08
5.3.80.0290.10712.08
5.3.70.0230.10512.07
5.3.60.0120.04512.07
5.3.50.0080.03912.00
5.3.40.0080.04212.00
5.3.30.0080.03811.94
5.3.20.0090.04911.70
5.3.10.0060.06211.67
5.3.00.0110.09211.65
5.2.170.0060.0459.15
5.2.160.0060.0439.15
5.2.150.0050.0479.15
5.2.140.0080.0559.14
5.2.130.0070.0589.11
5.2.120.0090.0519.11
5.2.110.0140.0909.11
5.2.100.0270.0919.11
5.2.90.0140.0999.10
5.2.80.0050.0489.11
5.2.70.0110.0519.11
5.2.60.0120.0679.05
5.2.50.0230.0739.03
5.2.40.0140.0889.00
5.2.30.0070.0538.98
5.2.20.0080.0478.97
5.2.10.0090.0578.90
5.2.00.0080.0378.76
5.1.60.0060.0368.05
5.1.50.0220.0478.05
5.1.40.0220.0618.03
5.1.30.0100.0568.38
5.1.20.0070.0378.39
5.1.10.0120.0548.12
5.1.00.0110.0548.12
5.0.50.0130.0446.59
5.0.40.0040.0346.46
5.0.30.0060.0416.27
5.0.20.0030.0296.25
5.0.10.0030.0326.22
5.0.00.0130.0446.21
4.4.90.0060.0254.78
4.4.80.0050.0294.76
4.4.70.0040.0264.76
4.4.60.0050.0244.75
4.4.50.0090.0224.77
4.4.40.0050.0314.71
4.4.30.0190.0404.75
4.4.20.0260.0354.85
4.4.10.0100.0214.85
4.4.00.0060.0324.76
4.3.110.0060.0244.67
4.3.100.0060.0244.66
4.3.90.0200.0504.64
4.3.80.0060.0384.58
4.3.70.0030.0284.63
4.3.60.0070.0284.62
4.3.50.0030.0264.62
4.3.40.0050.0414.54
4.3.30.0060.0263.27
4.3.20.0060.0293.25
4.3.10.0040.0173.21
4.3.00.0270.02710.37