3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo long2ip(387674882);

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.0220.00498.97
7.3.0rc30.0290.00715.91
7.3.0beta10.0060.00312.64
7.3.0alpha10.0060.00612.86
7.2.60.0030.01016.83
7.2.00.0000.01619.36
7.1.200.0090.00315.80
7.1.100.0000.01117.82
7.1.70.0030.00317.23
7.1.60.0100.01619.46
7.1.50.0000.01416.73
7.1.00.0070.06722.38
7.0.200.0030.00716.87
7.0.140.0030.07322.07
7.0.60.0100.05019.97
7.0.50.0030.05717.89
7.0.40.0130.05020.33
7.0.30.0270.07320.37
7.0.20.0300.04020.34
7.0.10.0000.04720.32
7.0.00.0070.08320.30
5.6.280.0030.07320.80
5.6.210.0070.06320.57
5.6.200.0070.07718.31
5.6.190.0100.08720.48
5.6.180.0100.08320.69
5.6.170.0300.04020.58
5.6.160.0100.04320.60
5.6.150.0030.08318.31
5.6.140.0000.04018.30
5.6.130.0070.04018.21
5.6.120.0070.04020.93
5.6.110.0000.06321.10
5.6.100.0000.07720.99
5.6.90.0130.06021.00
5.6.80.0070.06320.46
5.5.350.0000.03320.45
5.5.340.0070.04318.14
5.5.330.0100.06320.43
5.5.320.0230.04320.57
5.5.310.0330.06320.25
5.5.300.0100.07718.03
5.5.290.0070.07018.02
5.5.280.0100.07320.83
5.5.270.0170.06320.86
5.5.260.0000.05020.67
5.5.250.0000.08320.57
5.5.240.0100.06320.09
5.4.450.0530.06019.28
5.4.440.0000.05019.28
5.4.430.0100.07319.24
5.4.420.0300.03719.47
5.4.410.1400.03319.12
5.4.400.1930.03718.94
5.4.390.1970.04718.95
5.4.380.1700.04719.13
5.4.370.1670.04319.14
5.4.360.1770.04318.97
5.4.350.1630.05019.27
5.4.340.1830.04018.84
5.4.320.1700.04719.16
5.4.310.1870.04719.23
5.4.300.1800.04018.84
5.4.290.1400.04319.27
5.4.280.1530.03718.96
5.4.270.0900.04019.30
5.4.260.0030.04319.30
5.4.250.0070.03719.09
5.4.240.1570.04019.26
5.4.230.1900.03718.96
5.4.220.1530.04018.80
5.4.210.1630.04319.08
5.4.200.2030.03019.13
5.4.190.1800.04319.16
5.4.180.1530.03718.96
5.4.170.1630.04719.13
5.4.160.1600.03318.95
5.4.150.1630.03019.25
5.4.140.1530.03316.57
5.4.130.0670.02316.51
5.4.120.0100.03316.57
5.4.110.0100.03316.48
5.4.100.0000.05016.38
5.4.90.1500.04016.55
5.4.80.1570.04016.61
5.4.70.1500.04016.52
5.4.60.1530.03316.59
5.4.50.1670.03316.57
5.4.40.1600.03316.39
5.4.30.1870.04316.54
5.4.20.1870.03716.59
5.4.10.1730.05016.48
5.4.00.1600.04315.96
5.3.290.1700.05314.57
5.3.280.1600.05314.59
5.3.270.0170.04014.52
5.3.260.0070.07314.58
5.3.250.0000.04314.50
5.3.240.0500.04714.57
5.3.230.1530.03014.49
5.3.220.1800.04314.45
5.3.210.1500.03314.61
5.3.200.1670.04014.48
5.3.190.1570.04314.61
5.3.180.1470.03714.77
5.3.170.1730.04314.46
5.3.160.1400.04714.78
5.3.150.1770.04314.64
5.3.140.1630.03714.69
5.3.130.1500.03714.65
5.3.120.1700.05014.61
5.3.110.1530.03314.59
5.3.100.1430.04013.94
5.3.90.1600.04014.17
5.3.80.1730.03314.06
5.3.70.1500.03314.03
5.3.60.1730.04314.11
5.3.50.1500.03713.95
5.3.40.1700.04013.91
5.3.30.1630.04313.98
5.3.20.1730.04013.60
5.3.10.1470.03713.55
5.3.00.1530.03313.68
5.2.170.1470.03311.14
5.2.160.1530.03011.36
5.2.150.1200.03311.14
5.2.140.1430.03711.21
5.2.130.1570.03011.10
5.2.120.1470.03311.01
5.2.110.1430.03311.01
5.2.100.1330.03711.17
5.2.90.1500.03311.00
5.2.80.1270.02711.16
5.2.70.1500.03311.09
5.2.60.1400.03010.95
5.2.50.1470.03710.98
5.2.40.0900.02710.89
5.2.30.0000.03710.87
5.2.20.0100.05311.01
5.2.10.0030.02710.90
5.2.00.0130.04010.71
5.1.60.0970.0279.97
5.1.50.1200.0339.88
5.1.40.1030.02310.09
5.1.30.1030.02710.41
5.1.20.1300.02710.27
5.1.10.1030.03010.06
5.1.00.0930.02310.18
5.0.50.0470.0278.81
5.0.40.0500.0208.81
5.0.30.0570.0378.81
5.0.20.0570.0208.81
5.0.10.0530.0178.81
5.0.00.0600.0438.81
4.4.90.0530.0138.81
4.4.80.0530.0138.81
4.4.70.0530.0138.81
4.4.60.0600.0208.81
4.4.50.0430.0138.81
4.4.40.0530.0238.81
4.4.30.0570.0138.81
4.4.20.0500.0178.81
4.4.10.0100.0178.81
4.4.00.0000.0278.81
4.3.110.0070.0278.81
4.3.100.0070.0178.81
4.3.90.0000.0138.81
4.3.80.0000.0238.81
4.3.70.0000.0178.81
4.3.60.0000.0278.81
4.3.50.0370.0178.81
4.3.40.0500.0238.81
4.3.30.0300.0208.81
4.3.20.0300.0138.81
4.3.10.0300.0108.81
4.3.00.0230.0178.81