3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i=1; $i<=5; $i++) { for($b=3; $b>0; $b--) echo "Data ".$i." To user ".$b."<br>"; }

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.3.0rc40.0210.00498.97
7.3.0rc30.0120.01216.62
7.3.0beta10.0140.00612.55
7.2.00.0000.01319.57
7.1.200.0070.00715.73
7.1.100.0070.01018.06
7.1.70.0070.00317.16
7.1.60.0100.01419.43
7.1.50.0100.01317.05
7.1.00.0100.06022.46
7.0.200.0000.00816.46
7.0.140.0000.07721.92
7.0.60.0070.08319.87
7.0.50.0070.07717.77
7.0.40.0070.04020.05
7.0.30.0230.07720.21
7.0.20.0300.07320.18
7.0.10.0330.06720.13
7.0.00.0100.08720.01
5.6.210.0030.07320.75
5.6.200.0030.08318.18
5.6.190.0170.07720.41
5.6.180.0230.08320.67
5.6.170.0400.07320.50
5.6.160.0100.04320.44
5.6.150.0070.06018.22
5.6.140.0100.07318.18
5.6.130.0070.04018.20
5.6.120.0000.07021.02
5.6.110.0100.07321.02
5.6.100.0130.08020.99
5.6.90.0030.08721.06
5.6.80.0130.07020.37
5.5.350.0170.06320.38
5.5.340.0100.07717.95
5.5.330.0070.05720.14
5.5.320.0330.05320.33
5.5.310.0270.07720.26
5.5.300.0000.08717.91
5.5.290.0130.03017.95
5.5.280.0100.06320.71
5.5.270.0070.05320.75
5.5.260.0070.03720.91
5.5.250.0130.05020.70
5.5.240.0030.06320.15
5.4.450.0600.05719.63
5.4.440.0900.05019.41
5.4.430.0730.06019.42
5.4.420.0130.05319.62
5.4.410.1230.05018.97
5.4.400.0330.05018.54
5.4.390.0370.05018.74
5.4.380.0170.05718.68
5.4.370.0130.05018.57
5.4.360.0130.05318.73
5.4.350.0070.04011.97
5.4.340.0070.03611.97
5.4.320.0030.03812.45
5.4.310.0030.04112.45
5.4.300.0130.04412.45
5.4.290.0080.04812.45
5.4.280.0070.03812.34
5.4.270.0060.04112.35
5.4.260.0050.03912.35
5.4.250.0200.06718.90
5.4.240.0070.05318.87
5.4.230.0100.05318.66
5.4.220.0130.07318.84
5.4.210.0100.07718.89
5.4.200.0030.05318.86
5.4.190.0170.05018.88
5.4.180.0070.05318.80
5.4.170.0170.04718.95
5.4.160.0100.05018.86
5.4.150.0130.04718.98
5.4.140.0070.05016.27
5.4.130.0100.05016.42
5.4.120.0070.05016.23
5.4.110.0030.07316.20
5.4.100.0030.05316.47
5.4.90.0130.04016.46
5.4.80.0100.04316.29
5.4.70.0100.04716.24
5.4.60.0100.04716.37
5.4.50.0170.03716.23
5.4.40.0070.04716.50
5.4.30.0100.04316.34
5.4.20.0030.05016.43
5.4.10.0030.05316.34
5.4.00.0000.05715.88
5.3.290.0030.04312.80
5.3.280.0070.06014.61
5.3.270.0130.04714.60
5.3.260.0070.05314.38
5.3.250.0100.05714.45
5.3.240.0070.05014.59
5.3.230.0200.06014.61
5.3.220.0070.05314.71
5.3.210.0100.05314.40
5.3.200.0070.07714.71
5.3.190.0070.05714.58
5.3.180.0030.05314.57
5.3.170.0030.05314.40
5.3.160.0100.04714.40
5.3.150.0170.04014.55
5.3.140.0070.04714.57
5.3.130.0000.06314.25
5.3.120.0070.05314.54
5.3.110.0130.04714.55
5.3.100.0070.05013.95
5.3.90.0070.04713.94
5.3.80.0170.03713.90
5.3.70.0070.06713.89
5.3.60.0030.05014.01
5.3.50.0000.05714.09
5.3.40.0170.04013.64
5.3.30.0170.04013.90
5.3.20.0100.04713.74
5.3.10.0070.05013.65
5.3.00.0030.05313.64
5.2.170.0030.04310.90
5.2.160.0030.04711.15
5.2.150.0070.05010.90
5.2.140.0070.04010.89
5.2.130.0100.03310.98
5.2.120.0100.05710.93
5.2.110.0130.05011.19
5.2.100.0100.03711.01
5.2.90.0130.03010.86
5.2.80.0070.04011.09
5.2.70.0030.04311.10
5.2.60.0030.04310.98
5.2.50.0030.05310.86
5.2.40.0130.05711.10
5.2.30.0000.04311.06
5.2.20.0070.03710.97
5.2.10.0070.03710.82
5.2.00.0000.04310.88
5.1.60.0070.03010.16
5.1.50.0070.03010.04
5.1.40.0000.0379.98
5.1.30.0100.03010.27
5.1.20.0070.03310.45
5.1.10.0000.04010.05
5.1.00.0070.03310.05
5.0.50.0070.0278.73
5.0.40.0000.0308.49
5.0.30.0030.0438.17
5.0.20.0030.0278.19
5.0.10.0000.0308.22
5.0.00.0030.0408.11
4.4.90.0000.0237.00
4.4.80.0130.0137.00
4.4.70.0030.0207.00
4.4.60.0000.0237.00
4.4.50.0100.0207.00
4.4.40.0070.0307.00
4.4.30.0030.0207.00
4.4.20.0070.0277.00
4.4.10.0100.0237.00
4.4.00.0030.0337.00
4.3.110.0030.0207.13
4.3.100.0070.0277.13
4.3.90.0030.0207.13
4.3.80.0070.0307.13
4.3.70.0100.0137.13
4.3.60.0030.0207.13
4.3.50.0070.0177.13
4.3.40.0030.0377.13
4.3.30.0000.0237.13
4.3.20.0070.0177.13
4.3.10.0000.0237.13
4.3.00.0100.0237.63