3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ar_objs = new ArrayObject(); foreach (range(0, 75) as $iter) { $ar_objs[] = new ArrayObject(range(0, 100000)); }

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.1090.03376.73
7.2.00.0590.03079.33
7.1.200.0660.03375.43
7.1.100.0130.02778.09
7.1.70.0150.01977.00
7.1.60.0230.05677.23
7.1.50.0540.03666.91
7.1.00.0170.06782.35
7.0.201.8730.01363.60
7.0.140.0100.10082.09
7.0.60.0400.10365.61
7.0.50.0300.10063.43
7.0.40.0300.05365.30
7.0.30.2170.09065.55
7.0.20.1830.07765.29
7.0.10.0230.06065.45
7.0.00.0500.10765.45
5.6.280.0270.12085.73
5.6.210.0470.12785.14
5.6.200.0370.14782.84
5.6.190.0300.08385.00
5.6.180.0530.09385.13
5.6.170.0400.09085.02
5.6.160.0330.11384.98
5.6.150.0200.13382.82
5.6.140.0230.09082.59
5.6.130.0170.08082.84
5.6.120.0130.12085.71
5.6.110.0270.12085.66
5.6.100.0270.08385.80
5.6.90.0300.10385.63
5.6.80.0270.17385.18
5.5.350.0470.16085.09
5.5.340.0500.11082.61
5.5.330.0370.09084.83
5.5.320.0500.08784.82
5.5.310.0600.11384.75
5.5.300.0370.13382.54
5.5.290.0270.13782.59
5.5.280.0330.13785.55
5.5.270.0270.13385.59
5.5.260.0430.12785.50
5.5.250.0300.14785.24
5.5.240.0400.15384.86
5.4.450.1270.11784.20
5.4.440.0630.13784.19
5.4.430.0630.09784.06
5.4.420.0530.11784.04
5.4.410.0530.16083.61
5.4.400.0570.10783.16
5.4.390.0700.09383.21
5.4.380.0570.10383.22
5.4.370.0430.12083.22
5.4.360.0570.10783.31
5.4.350.0200.08676.64
5.4.340.0480.13376.64
5.4.320.0220.07977.12
5.4.310.0240.08977.13
5.4.300.0140.08677.13
5.4.290.0230.08377.12
5.4.280.0270.07777.02
5.4.270.0210.08177.02
5.4.260.0210.08577.02
5.4.250.0330.14783.27
5.4.240.0230.13083.38
5.4.230.0500.11083.54
5.4.220.0370.11383.45
5.4.210.0630.10083.54
5.4.200.0270.12383.48
5.4.190.0270.12783.26
5.4.180.0470.10783.24
5.4.170.0330.12083.23
5.4.160.0630.09383.31
5.4.150.0400.13383.39
5.4.140.0330.15780.96
5.4.130.0430.11781.05
5.4.120.0370.11380.92
5.4.110.0570.09381.02
5.4.100.0370.15381.09
5.4.90.0230.12781.00
5.4.80.0270.12080.88
5.4.70.0630.09381.07
5.4.60.0470.10381.09
5.4.50.0570.08781.07
5.4.40.0370.12081.06
5.4.30.0230.12080.89
5.4.20.0470.09780.98
5.4.10.0430.10781.02
5.4.00.0630.10080.40
5.3.290.0170.08676.09
5.3.280.0470.11377.70
5.3.270.0500.11077.55
5.3.260.0200.14377.75
5.3.250.0600.10077.83
5.3.240.0400.12777.73
5.3.230.0330.16777.72
5.3.220.0230.12777.68
5.3.210.0430.11077.70
5.3.200.0470.13777.37
5.3.190.0370.14777.68
5.3.180.0470.11077.56
5.3.170.0400.10377.66
5.3.160.0270.12777.46
5.3.150.0130.13777.51
5.3.140.0630.09377.66
5.3.130.0500.11077.49
5.3.120.0400.11777.44
5.3.110.0370.11777.57
5.3.100.0370.11077.71
5.3.90.0400.10777.23
5.3.80.0200.14076.93
5.3.70.0370.11077.06
5.3.60.0300.12777.73
5.3.50.0500.11077.05
5.3.40.0470.11076.98
5.3.30.0100.14076.96
5.3.20.0470.12076.43
5.3.10.0630.10776.73
5.3.00.0500.15776.70
5.2.170.0400.10774.63
5.2.160.0300.13774.65
5.2.150.0470.12374.77
5.2.140.0300.11374.64
5.2.130.0330.11374.69
5.2.120.0400.15074.72
5.2.110.0500.10075.16
5.2.100.0570.08774.74
5.2.90.0230.12074.61
5.2.80.0500.10774.44
5.2.70.0530.12074.68
5.2.60.0430.11774.75
5.2.50.0200.17074.72
5.2.40.0470.16374.54
5.2.30.0770.17074.66
5.2.20.0330.17374.75
5.2.10.0200.10374.44
5.2.00.7371.3871021.13
5.1.60.8371.7071361.78
5.1.50.7531.4031361.78
5.1.40.7171.4071361.80
5.1.30.7201.4501362.13
5.1.20.7471.4231362.22
5.1.10.8231.5301361.71
5.1.00.9201.4631361.88
5.0.50.8701.4731360.32
5.0.40.8771.6271360.18
5.0.30.7771.6601359.99
5.0.20.8401.6431359.97
5.0.10.9401.6271359.90
5.0.00.9901.4131359.94
4.4.90.0030.0307.24
4.4.80.0030.0237.24
4.4.70.0070.0177.24
4.4.60.0030.0207.24
4.4.50.0000.0237.24
4.4.40.0100.0277.24
4.4.30.0000.0207.24
4.4.20.0000.0237.24
4.4.10.0000.0207.24
4.4.00.0000.0337.24
4.3.110.0000.0307.24
4.3.100.0070.0277.24
4.3.90.0070.0207.24
4.3.80.0030.0337.24
4.3.70.0030.0177.24
4.3.60.0030.0277.24
4.3.50.0000.0237.24
4.3.40.0000.0337.24
4.3.30.0070.0177.24
4.3.20.0000.0237.24
4.3.10.0030.0207.24
4.3.00.0230.0176.60