3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r( json_decode('[{"SONAMP 875D SE MKII":{"type":"image","src":"\/assets\/media\/images\/products\/92804_frt.jpg","link":"electronics\/amplifiers\/sonamp-875d-mkii"}},{"SONAMP 875D SE MKII 230V":{"type":"image","src":"\/assets\/media\/images\/products\/92804_frt.jpg","link":"electronics\/amplifiers\/sonamp-875d-mkii"}},{"SONAMP 1230":{"type":"image","src":"\/assets\/media\/images\/products\/91779_frt.jpg","link":"electronics\/amplifiers\/sonamp-1230"}},{"SONAMP 1230 (230V)":{"type":"image","src":"\/assets\/media\/images\/products\/91779_frt.jpg","link":"electronics\/amplifiers\/sonamp-1230"}},{"SONAMP 275 SE":{"type":"image","src":"\/assets\/media\/images\/products\/92187_frt.jpg","link":"electronics\/amplifiers\/sonamp-275-amplifiers"}},{"SONAMP 275 SE (230V)":{"type":"image","src":"\/assets\/media\/images\/products\/92187_frt.jpg","link":"electronics\/amplifiers\/sonamp-275-amplifiers"}}]'));

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.0030.00919.25
7.1.100.0000.01217.74
7.1.70.0000.00816.98
7.1.60.0130.01019.82
7.1.50.0040.00816.76
7.1.00.0070.06022.47
7.0.200.0060.00616.38
7.0.140.0100.07021.97
7.0.60.0070.08019.92
7.0.50.0100.07717.91
7.0.40.0030.08320.23
7.0.30.0300.08020.21
7.0.20.0200.06320.06
7.0.10.0270.04320.06
7.0.00.0030.07020.20
5.6.210.0170.04720.66
5.6.200.0000.05718.16
5.6.190.0100.08320.64
5.6.180.3270.04020.55
5.6.170.0370.03720.55
5.6.160.0070.04320.55
5.6.150.0100.03718.28
5.6.140.0070.08318.18
5.6.130.0070.08018.29
5.6.120.0030.05020.98
5.6.110.0100.07320.88
5.6.100.0100.06020.97
5.6.90.0170.05720.93
5.6.80.0030.07720.38
5.6.70.0230.07720.55
5.5.350.0230.07020.40
5.5.340.0070.07317.95
5.5.330.0070.05020.19
5.5.320.0200.08020.37
5.5.310.0300.07320.29
5.5.300.0000.04318.04
5.5.290.0030.04717.98
5.5.280.0030.04320.75
5.5.270.0070.08320.64
5.5.260.0270.05720.88
5.5.250.0030.04020.77
5.5.240.0100.03720.22
5.4.450.0670.07319.20
5.4.440.0970.06319.20
5.4.430.0670.05719.19
5.4.420.0700.05719.46
5.4.410.0670.05719.42
5.4.400.0570.05318.76
5.4.390.0530.06318.72
5.4.380.0170.06018.47
5.4.370.0170.05318.80
5.4.360.0170.05018.73
5.4.350.0100.04412.01
5.4.340.0090.04912.01
5.4.320.0090.03612.50
5.4.310.0110.04412.49
5.4.300.0100.04012.49
5.4.290.0120.04212.49
5.4.280.0060.04112.39
5.4.270.0060.04612.39
5.4.260.0110.03912.39
5.4.250.0100.05018.91
5.4.240.0200.06718.77
5.4.230.0130.06718.63
5.4.220.0130.07018.81
5.4.210.0170.07318.94
5.4.200.0200.04718.61
5.4.190.0130.05718.76
5.4.180.0200.05318.94
5.4.170.0100.07718.91
5.4.160.0030.06718.97
5.4.150.0030.08018.90
5.4.140.0030.08016.54
5.4.130.0130.04716.46
5.4.120.0070.05016.42
5.4.110.0100.04716.45
5.4.100.0170.06316.34
5.4.90.0100.04716.46
5.4.80.0070.05016.50
5.4.70.0070.05016.46
5.4.60.0130.06316.49
5.4.50.0100.07716.60
5.4.40.0070.07016.37
5.4.30.0100.05016.51
5.4.20.0130.07016.33
5.4.10.0130.05716.28
5.4.00.0070.07316.01
5.3.290.0110.04712.80
5.3.280.0170.04714.77
5.3.270.0070.05314.74
5.3.260.0130.05314.69
5.3.250.0070.05314.70
5.3.240.0070.05014.69
5.3.230.0200.06314.50
5.3.220.0130.07314.70
5.3.210.0100.05314.54
5.3.200.0130.04714.65
5.3.190.0030.05714.65
5.3.180.0070.07714.64
5.3.170.0070.05714.74
5.3.160.0100.05014.55
5.3.150.0130.06714.70
5.3.140.0200.06314.56
5.3.130.0130.05014.55
5.3.120.0130.05014.57
5.3.110.0170.07014.53
5.3.100.0030.05714.02
5.3.90.0200.06014.09
5.3.80.0100.05013.84
5.3.70.0230.04314.02
5.3.60.0270.05714.16
5.3.50.0130.06314.02
5.3.40.0300.06014.17
5.3.30.0070.06013.88
5.3.20.0200.06013.77
5.3.10.0130.05713.81
5.3.00.0070.05013.80
5.2.170.0100.05311.36
5.2.160.0230.02711.20
5.2.150.0000.06311.30
5.2.140.0070.04311.09
5.2.130.0100.05011.10
5.2.120.0030.04011.27
5.2.110.0030.04011.16
5.2.100.0130.05311.18
5.2.90.0070.04011.28
5.2.80.0170.03311.09
5.2.70.0070.06011.07
5.2.60.0070.06011.23
5.2.50.0070.05711.08
5.2.40.0030.04711.08
5.2.30.0070.05710.95
5.2.20.0130.04010.79
5.2.10.0000.04310.86
5.2.00.0030.04310.78
5.1.60.0070.04010.22
5.1.50.0070.0379.76
5.1.40.0070.04010.16
5.1.30.0100.03010.48
5.1.20.0130.03310.45
5.1.10.0030.05310.22
5.1.00.0000.05710.15
5.0.50.0070.0408.57
5.0.40.0070.0238.44
5.0.30.0000.0578.11
5.0.20.0000.0308.16
5.0.10.0030.0278.26
5.0.00.0070.0578.07
4.4.90.0030.0307.10
4.4.80.0070.0177.10
4.4.70.0070.0207.10
4.4.60.0070.0177.10
4.4.50.0130.0137.10
4.4.40.0130.0377.10
4.4.30.0000.0237.10
4.4.20.0070.0277.10
4.4.10.0070.0307.10
4.4.00.0000.0477.10
4.3.110.0070.0207.10
4.3.100.0000.0277.10
4.3.90.0030.0207.10
4.3.80.0100.0277.10
4.3.70.0000.0237.10
4.3.60.0030.0207.10
4.3.50.0030.0207.10
4.3.40.0000.0407.10
4.3.30.0000.0337.10
4.3.20.0000.0237.10
4.3.10.0030.0207.10
4.3.00.0130.0206.73