3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new ArrayObject(); $a[0] = 'pizza'; $a[1] = 'time'; var_dump(is_object($a));
based on VnM3l

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.0090.00616.82
7.2.00.0000.01119.47
7.1.200.0000.01415.55
7.1.100.0060.00618.15
7.1.70.0030.00617.22
7.1.60.0170.00719.40
7.1.50.0000.01816.95
7.1.00.0030.07722.36
7.0.200.0030.00714.96
7.0.140.0070.07322.18
7.0.60.0030.05719.86
7.0.50.0030.05317.75
7.0.40.0070.07020.27
7.0.30.0300.08020.01
7.0.20.0270.05320.00
7.0.10.0100.07320.11
7.0.00.0100.03720.16
5.6.280.0030.07321.09
5.6.210.0070.08320.47
5.6.200.0030.07318.13
5.6.190.0100.08320.61
5.6.180.0270.04720.60
5.6.170.0130.09020.52
5.6.160.0130.06020.44
5.6.150.0130.04018.24
5.6.140.0130.06718.22
5.6.130.0100.08018.18
5.6.120.0070.04020.96
5.6.110.0130.08021.12
5.6.100.0100.06021.03
5.6.90.0100.05020.96
5.6.80.0100.04020.53
5.5.350.0270.07320.39
5.5.340.0000.04017.89
5.5.330.0130.08320.17
5.5.320.0300.07320.41
5.5.310.0270.07320.24
5.5.300.0070.08017.86
5.5.290.0100.07017.95
5.5.280.0130.05720.86
5.5.270.0030.04020.78
5.5.260.0030.08720.83
5.5.250.0130.07320.78
5.5.240.0000.07720.25
5.4.450.0770.06019.32
5.4.440.0470.05319.41
5.4.430.0500.06319.53
5.4.420.0430.05719.48
5.4.410.0030.05718.99
5.4.400.1030.06018.68
5.4.390.1200.07018.50
5.4.380.0130.05318.68
5.4.370.0100.03718.68
5.4.360.0000.05318.64
5.4.350.0080.04511.97
5.4.340.0100.03511.97
5.4.320.0120.03912.45
5.4.310.0050.03812.45
5.4.300.0060.03612.45
5.4.290.0060.03812.45
5.4.280.0070.03812.34
5.4.270.0080.03812.35
5.4.260.0060.03912.35
5.4.250.0080.03512.34
5.4.240.0070.04012.34
5.4.230.0080.04112.34
5.4.220.0080.03312.34
5.4.210.0090.03212.34
5.4.200.0060.03612.34
5.4.190.0080.03312.33
5.4.180.0080.03212.33
5.4.170.0020.03912.35
5.4.160.0060.03512.34
5.4.150.0070.03412.34
5.4.140.0050.03712.02
5.4.130.0070.03312.01
5.4.120.0060.03411.96
5.4.110.0050.03611.96
5.4.100.0040.03711.96
5.4.90.0040.03911.96
5.4.80.0060.03611.96
5.4.70.0050.03611.96
5.4.60.0060.03411.96
5.4.50.0060.03511.96
5.4.40.0030.03611.95
5.4.30.0040.03711.95
5.4.20.0070.03511.95
5.4.10.0060.03411.95
5.4.00.0040.04311.43
5.3.290.0070.03712.80
5.3.280.0050.03812.71
5.3.270.0080.03512.72
5.3.260.0070.03612.71
5.3.250.0040.03712.72
5.3.240.0080.03412.72
5.3.230.0080.03412.71
5.3.220.0060.03912.68
5.3.210.0070.03912.68
5.3.200.0070.03512.68
5.3.190.0110.03212.68
5.3.180.0070.03512.68
5.3.170.0050.03712.67
5.3.160.0080.03412.67
5.3.150.0080.03412.67
5.3.140.0070.03412.66
5.3.130.0060.03812.66
5.3.120.0060.03812.66
5.3.110.0100.03412.66
5.3.100.0060.03612.11
5.3.90.0060.03612.08
5.3.80.0120.03812.07
5.3.70.0050.04912.08
5.3.60.0060.03912.06
5.3.50.0040.03812.00
5.3.40.0080.03612.00
5.3.30.0070.03311.95
5.3.20.0020.03811.72
5.3.10.0050.03511.69
5.3.00.0040.03711.69
5.2.170.0030.0329.17
5.2.160.0010.0329.18
5.2.150.0040.0329.18
5.2.140.0060.0309.17
5.2.130.0050.0299.14
5.2.120.0030.0309.13
5.2.110.0060.0269.14
5.2.100.0060.0329.14
5.2.90.0070.0259.14
5.2.80.0070.0309.13
5.2.70.0060.0349.13
5.2.60.0050.0339.09
5.2.50.0030.0379.06
5.2.40.0040.0289.04
5.2.30.0080.0259.01
5.2.20.0040.0328.99
5.2.10.0030.0378.91
5.2.00.0030.0298.77
5.1.60.0060.0268.06
5.1.50.0030.0258.06
5.1.40.0030.0258.04
5.1.30.0030.0278.39
5.1.20.0040.0258.41
5.1.10.0030.0268.13
5.1.00.0020.0278.13
5.0.50.0030.0216.61
5.0.40.0030.0196.47
5.0.30.0020.0336.29
5.0.20.0040.0196.25
5.0.10.0000.0236.23
5.0.00.0060.0306.22
4.4.90.0000.0184.78
4.4.80.0020.0164.76
4.4.70.0030.0154.76
4.4.60.0040.0164.75
4.4.50.0040.0144.77
4.4.40.0020.0264.71
4.4.30.0030.0154.76
4.4.20.0020.0164.84
4.4.10.0050.0184.85
4.4.00.0050.0224.76
4.3.110.0040.0144.67
4.3.100.0030.0144.66
4.3.90.0020.0154.63
4.3.80.0050.0224.58
4.3.70.0040.0134.63
4.3.60.0040.0134.63
4.3.50.0020.0154.63
4.3.40.0040.0224.54
4.3.30.0010.0183.28
4.3.20.0030.0143.26
4.3.10.0010.0163.21
4.3.00.0100.0237.20