3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php printf("%u\n",0xffffffffffffffff); printf("%f\n",0xffffffffffffffff); printf("%d",0xffffffffffffffff);

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.0040.01116.67
7.2.00.0110.00319.31
7.1.200.0070.00715.63
7.1.100.0040.00818.00
7.1.70.0000.00917.21
7.1.60.0030.02119.17
7.1.50.0320.00734.86
7.1.00.0030.05722.59
7.0.200.0050.00216.46
7.0.140.0030.07322.06
7.0.100.0470.07319.98
7.0.90.0100.07320.00
7.0.80.0100.05320.03
7.0.70.0270.05320.00
7.0.60.0070.05320.06
7.0.50.0130.07320.24
7.0.40.0030.04720.07
7.0.30.0070.07720.08
7.0.20.0070.07720.09
7.0.10.0070.06320.14
7.0.00.0130.07720.15
5.6.280.0070.07020.97
5.6.250.0100.05020.72
5.6.240.0030.06320.76
5.6.230.0100.04720.68
5.6.220.0200.03320.52
5.6.210.0100.03720.53
5.6.200.0170.07021.11
5.6.190.0070.08321.07
5.6.180.0100.05721.21
5.6.170.0100.04021.07
5.6.160.0100.04721.07
5.6.150.0000.08721.17
5.6.140.0130.04321.17
5.6.130.0100.08320.97
5.6.120.0100.08321.05
5.6.110.0100.07321.14
5.6.100.0100.04320.98
5.6.90.0370.05321.12
5.6.80.0130.08020.56
5.6.70.0030.04320.44
5.6.60.0030.03720.43
5.6.50.0100.03020.52
5.6.40.0070.07720.50
5.6.30.0030.07720.34
5.6.20.0070.06320.39
5.6.10.0000.08720.53
5.6.00.0100.06320.45
5.5.380.0070.08320.51
5.5.370.0100.04020.42
5.5.360.0030.07320.48
5.5.350.0030.04720.50
5.5.340.0030.06321.03
5.5.330.0170.04020.80
5.5.320.0000.05720.90
5.5.310.0200.06720.79
5.5.300.0070.04320.90
5.5.290.0100.06020.93
5.5.280.0100.04720.80
5.5.270.0070.05020.94
5.5.260.0130.08020.75
5.5.250.0070.07720.81
5.5.240.0070.05320.37
5.5.230.0070.08320.27
5.5.220.0030.04720.12
5.5.210.0030.07020.37
5.5.200.0030.07320.17
5.5.190.0130.06320.26
5.5.180.0130.06720.27
5.5.160.0170.07320.10
5.5.150.0030.04320.33
5.5.140.0000.06720.27
5.5.130.0030.06320.26
5.5.120.0030.08320.15
5.5.110.0100.07320.25
5.5.100.0100.03720.20
5.5.90.0030.04320.13
5.5.80.0030.04320.13
5.5.70.0070.05320.04
5.5.60.0070.06720.13
5.5.50.0070.05020.16
5.5.40.0070.06720.12
5.5.30.0070.04020.12
5.5.20.0130.06320.11
5.5.10.0130.07020.03
5.5.00.0030.07320.10
5.4.450.0100.04019.45
5.4.440.0100.06019.32
5.4.430.0130.07319.40
5.4.420.0070.08019.13
5.4.410.0070.07319.18
5.4.400.0100.07319.08
5.4.390.0030.03719.06
5.4.380.0130.07018.81
5.4.370.0070.07018.81
5.4.360.0070.08319.06
5.4.350.0170.05719.23
5.4.340.0030.09019.22
5.4.320.0170.06018.98
5.4.310.0100.07319.24
5.4.300.0000.04719.12
5.4.290.0030.08018.81
5.4.280.0100.05018.87
5.4.270.0000.07718.96
5.4.260.0000.04318.97
5.4.250.0130.06718.97
5.4.240.0130.07319.13
5.4.230.0100.06019.11
5.4.220.0130.03718.80
5.4.210.0100.06019.06
5.4.200.0170.06718.97
5.4.190.0070.04319.02
5.4.180.0030.04018.89
5.4.170.0100.03718.89
5.4.160.0200.07018.96
5.4.150.0070.06318.79
5.4.140.0070.08316.29
5.4.130.0070.06016.30
5.4.120.0000.04716.21
5.4.110.0100.03316.21
5.4.100.0130.03716.36
5.4.90.0070.06316.33
5.4.80.0100.03716.44
5.4.70.0030.05016.42
5.4.60.0070.06016.20
5.4.50.0130.06716.30
5.4.40.0070.03316.23
5.4.30.0030.03716.33
5.4.20.0070.05716.23
5.4.10.0100.06316.18
5.4.00.0070.06715.52
5.3.290.0100.06714.62
5.3.280.0000.05314.55
5.3.270.0070.07714.57
5.3.260.0100.06014.55
5.3.250.0000.04314.47
5.3.240.0070.03714.51
5.3.230.0100.07014.41
5.3.220.0030.04714.52
5.3.210.0000.05714.54
5.3.200.0070.04014.55
5.3.190.0030.04014.55
5.3.180.0070.06314.39
5.3.170.0070.07714.47
5.3.160.0100.06714.54
5.3.150.0070.06014.38
5.3.140.0070.05714.41
5.3.130.0100.03314.52
5.3.120.0070.05314.55
5.3.110.0030.04014.48
5.3.100.0100.06314.02
5.3.90.0030.04013.95
5.3.80.0070.07313.96
5.3.70.0070.07713.78
5.3.60.0030.04013.82
5.3.50.0030.07013.70
5.3.40.0030.08313.85
5.3.30.0070.06713.81
5.3.20.0000.04313.59
5.3.10.0100.03713.66
5.3.00.0100.04013.63
5.2.170.0030.03311.12
5.2.160.0070.03711.13
5.2.150.0030.03310.97
5.2.140.0100.03310.96
5.2.130.0100.02711.16
5.2.120.0030.03711.09
5.2.110.0030.04010.93
5.2.100.0200.02310.96
5.2.90.0000.04010.96
5.2.80.0030.03011.01
5.2.70.0000.06011.14
5.2.60.0000.04010.88
5.2.50.0030.06311.01
5.2.40.0130.02010.91
5.2.30.0030.03010.96
5.2.20.0070.02710.99
5.2.10.0070.04710.71
5.2.00.0070.04310.63
5.1.60.0030.02710.13
5.1.50.0030.03310.03
5.1.40.0000.04310.02
5.1.30.0030.04710.38
5.1.20.0070.04310.45
5.1.10.0030.03310.06
5.1.00.0070.03310.00
5.0.50.0030.0238.55
5.0.40.0030.0438.39
5.0.30.0030.0378.16
5.0.20.0000.0278.28
5.0.10.0000.0478.26
5.0.00.0100.0308.10
4.4.90.0030.0377.99
4.4.80.0030.0237.99
4.4.70.0000.0307.99
4.4.60.0000.0277.99
4.4.50.0000.0337.99
4.4.40.0030.0477.99
4.4.30.0100.0307.99
4.4.20.0070.0237.99
4.4.10.0000.0337.99
4.4.00.0030.0477.99
4.3.110.0000.0177.99
4.3.100.0030.0207.99
4.3.90.0000.0307.99
4.3.80.0000.0537.99
4.3.70.0000.0377.99
4.3.60.0000.0177.99
4.3.50.0030.0337.99
4.3.40.0100.0437.99
4.3.30.0100.0177.99
4.3.20.0000.0177.99
4.3.10.0030.0177.99
4.3.00.0070.0307.99