3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(sprintf('Er zijn %s nieuwe berichten', 5));

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.0rc30.0310.01216.05
7.3.0rc20.0040.01116.46
7.3.0beta10.0060.00312.54
7.2.00.0090.00618.82
7.1.200.0060.00315.77
7.1.100.0140.00916.09
7.1.70.0050.00216.90
7.1.60.0070.01019.34
7.1.50.0070.00416.72
7.1.00.0030.07722.40
7.0.200.0000.00816.75
7.0.140.0000.07722.00
7.0.60.0030.06719.99
7.0.50.0070.08317.82
7.0.40.0130.06320.21
7.0.30.0270.04020.04
7.0.20.0300.08020.17
7.0.10.0030.07320.05
7.0.00.0130.06719.96
5.6.280.0100.06721.10
5.6.210.0130.07320.46
5.6.200.0100.06318.18
5.6.190.0070.08320.32
5.6.180.4070.04320.43
5.6.170.0170.06020.51
5.6.160.0030.04020.32
5.6.150.0000.08318.15
5.6.140.0000.04718.11
5.6.130.0100.07318.16
5.6.120.0130.04321.00
5.6.110.0130.08321.05
5.6.100.0030.06321.12
5.6.90.0030.04020.87
5.6.80.0170.07320.47
5.5.350.0200.07720.43
5.5.340.0070.08717.89
5.5.330.0070.04320.43
5.5.320.0400.07320.21
5.5.310.0230.08320.29
5.5.300.0070.04317.91
5.5.290.0100.07717.96
5.5.280.0000.04320.80
5.5.270.0200.07320.95
5.5.260.0070.08320.88
5.5.250.0000.04320.49
5.5.240.0000.04020.23
5.4.450.0570.05019.41
5.4.440.0400.06019.45
5.4.430.0270.04719.25
5.4.420.0170.06319.45
5.4.410.0100.06718.93
5.4.400.0130.05318.60
5.4.390.0100.05318.73
5.4.380.0170.05018.62
5.4.370.0130.05018.62
5.4.360.0200.04318.78
5.4.350.0070.03713.88
5.4.340.0100.03313.71
5.4.320.0170.04314.18
5.4.310.0070.04714.13
5.4.300.0030.04014.13
5.4.290.0000.04314.18
5.4.280.0030.04314.11
5.4.270.0030.04014.03
5.4.260.0070.03714.18
5.4.250.0100.04314.10
5.4.240.0070.03714.10
5.4.230.0070.03714.08
5.4.220.0200.04014.02
5.4.210.0070.04014.00
5.4.200.0070.04314.08
5.4.190.0130.03314.17
5.4.180.0070.04314.07
5.4.170.0070.04014.02
5.4.160.0170.03014.01
5.4.150.0200.02714.01
5.4.140.0130.03313.88
5.4.130.0030.04313.73
5.4.120.0070.04013.80
5.4.110.0070.04313.64
5.4.100.0100.03713.65
5.4.90.0100.04013.70
5.4.80.0130.03013.64
5.4.70.0070.03713.66
5.4.60.0070.03313.69
5.4.50.0030.04313.70
5.4.40.0000.04013.69
5.4.30.0130.03013.62
5.4.20.0030.03713.68
5.4.10.0100.03013.78
5.4.00.0030.04013.10
5.3.290.0100.03714.59
5.3.280.0130.03014.61
5.3.270.0030.04314.49
5.3.260.0130.03714.60
5.3.250.0100.03714.46
5.3.240.0000.05314.52
5.3.230.0030.04314.47
5.3.220.0030.04314.45
5.3.210.0100.05014.48
5.3.200.0070.03714.48
5.3.190.0130.03314.43
5.3.180.0030.04014.49
5.3.170.0030.04014.47
5.3.160.0100.03314.48
5.3.150.0130.04714.57
5.3.140.0000.04314.48
5.3.130.0030.04014.40
5.3.120.0000.04314.57
5.3.110.0000.04314.43
5.3.100.0000.04313.92
5.3.90.0100.04013.95
5.3.80.0170.02714.05
5.3.70.0030.04013.98
5.3.60.0030.04013.87
5.3.50.0070.04013.85
5.3.40.0030.04013.96
5.3.30.0100.03313.89
5.3.20.0100.04313.61
5.3.10.0000.04013.64
5.3.00.0130.03313.52
5.2.170.0130.02711.04
5.2.160.0030.03011.14
5.2.150.0070.03011.08
5.2.140.0070.02711.11
5.2.130.0070.02710.96
5.2.120.0070.02711.18
5.2.110.0000.03311.05
5.2.100.0070.02711.09
5.2.90.0030.03011.01
5.2.80.0000.03311.06
5.2.70.0000.03311.00
5.2.60.0000.03310.99
5.2.50.0100.02710.98
5.2.40.0100.02311.04
5.2.30.0000.03310.86
5.2.20.0070.02710.81
5.2.10.0070.02710.87
5.2.00.0070.02710.64
5.1.60.0030.0309.96
5.1.50.0030.02310.13
5.1.40.0030.0279.98
5.1.30.0000.03010.36
5.1.20.0030.02710.50
5.1.10.0000.03010.20
5.1.00.0030.02710.04
5.0.50.0030.0208.67
5.0.40.0100.0138.46
5.0.30.0000.0338.27
5.0.20.0070.0178.36
5.0.10.0070.0178.22
5.0.00.0000.0338.20
4.4.90.0070.0105.85
4.4.80.0000.0175.82
4.4.70.0000.0175.83
4.4.60.0000.0175.80
4.4.50.0030.0135.80
4.4.40.0030.0275.93
4.4.30.0070.0135.76
4.4.20.0030.0176.04
4.4.10.0000.0205.90
4.4.00.0000.0275.86
4.3.110.0070.0175.77
4.3.100.0030.0135.79
4.3.90.0000.0175.73
4.3.80.0070.0235.71
4.3.70.0030.0135.76
4.3.60.0000.0175.74
4.3.50.0070.0175.72
4.3.40.0000.0275.72
4.3.30.0000.0174.57
4.3.20.0030.0174.58
4.3.10.0000.0174.41
4.3.00.0000.01717.02