3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strftime("%Y");

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.10.0110.00616.60
7.3.00.0100.00516.47
7.2.130.0030.01016.81
7.2.120.0110.00316.74
7.2.110.0050.01016.84
7.2.100.0090.01016.78
7.2.90.0080.00616.57
7.2.80.0100.00916.76
7.2.70.0080.01016.85
7.2.60.0090.00516.61
7.2.50.0100.01016.63
7.2.40.0130.00716.83
7.2.30.0110.00616.79
7.2.20.0130.00316.66
7.2.10.0070.00716.61
7.2.00.0100.00517.63
7.1.250.0050.00815.67
7.1.240.0130.00315.68
7.1.230.0150.00415.28
7.1.220.0070.00715.63
7.1.210.0100.00715.48
7.1.200.0090.00915.44
7.1.190.0150.00815.49
7.1.180.0040.01215.77
7.1.170.0110.00915.54
7.1.160.0120.00915.23
7.1.150.0140.00415.48
7.1.140.0130.00315.75
7.1.130.0090.00615.68
7.1.120.0060.01015.30
7.1.110.0070.01015.37
7.1.100.0100.00716.87
7.1.90.0110.00715.61
7.1.80.0210.00315.28
7.1.70.0070.00716.20
7.1.60.0160.00317.50
7.1.50.0080.01016.24
7.1.40.0090.01315.61
7.1.30.0130.00715.65
7.1.20.0090.00915.40
7.1.10.0170.00715.39
7.1.00.0070.03918.89
7.0.330.0090.00615.14
7.0.320.0120.00815.20
7.0.310.0160.00515.32
7.0.300.0130.00315.08
7.0.290.0090.00915.29
7.0.280.0140.00315.30
7.0.270.0080.00415.14
7.0.260.0110.00515.05
7.0.250.0110.00615.19
7.0.240.0090.00615.34
7.0.230.0070.00715.41
7.0.220.0040.01115.40
7.0.210.0100.01015.61
7.0.200.0090.00616.02
7.0.190.0070.01015.05
7.0.180.0030.01015.19
7.0.170.0090.00615.39
7.0.160.0070.01115.23
7.0.150.0090.00915.17
7.0.140.0070.04318.64
7.0.130.0150.00615.14
7.0.120.0130.00615.14
7.0.110.0130.00415.27
7.0.100.0150.00315.34
7.0.90.0140.00315.21
7.0.80.0080.00815.34
7.0.70.0110.00415.39
7.0.60.0090.02317.68
7.0.50.0100.02216.55
7.0.40.0080.04716.73
7.0.30.0180.04216.67
7.0.20.0230.04016.80
7.0.10.0090.04516.79
7.0.00.0090.04516.76
5.6.380.0080.00814.05
5.6.370.0110.00814.06
5.6.360.0070.01014.03
5.6.350.0120.00614.20
5.6.340.0060.01313.88
5.6.330.0100.01013.79
5.6.320.0150.00914.27
5.6.310.0080.01213.95
5.6.300.0190.00314.09
5.6.290.0050.01514.31
5.6.280.0050.04517.68
5.6.270.0080.00813.98
5.6.260.0200.00013.75
5.6.250.0070.01014.01
5.6.240.0140.01114.52
5.6.230.0190.00414.30
5.6.220.0100.01013.93
5.6.210.0170.03517.36
5.6.200.0120.02815.93
5.6.190.0160.04117.27
5.6.180.0220.03117.14
5.6.170.0120.03017.22
5.6.160.0130.02517.51
5.6.150.0080.03616.17
5.6.140.0100.03416.20
5.6.130.0080.02816.21
5.6.120.0060.03817.66
5.6.110.0080.04517.64
5.6.100.0100.03817.57
5.6.90.0120.03817.50
5.6.80.0150.03317.21
5.6.70.0070.01013.89
5.6.60.0070.00713.94
5.6.50.0150.00013.85
5.6.40.0100.00313.95
5.6.30.0110.00314.09
5.6.20.0100.00714.19
5.6.10.0040.01113.88
5.6.00.0060.00913.88
5.5.380.0030.00610.96
5.5.370.0040.01110.79
5.5.360.0080.00410.98
5.5.350.0130.04315.60
5.5.340.0050.04814.29
5.5.330.0080.03715.43
5.5.320.0270.04215.61
5.5.310.0220.03815.76
5.5.300.0130.04014.54
5.5.290.0110.03414.54
5.5.280.0030.04315.90
5.5.270.0050.02515.89
5.5.260.0120.04216.04
5.5.250.0130.03715.69
5.5.240.0030.04315.59
5.5.230.0000.00610.83
5.5.220.0090.00310.99
5.5.210.0000.01111.00
5.5.200.0030.00610.77
5.5.190.0000.00810.87
5.5.180.0100.00010.88
5.5.170.0030.00610.90
5.5.160.0030.00910.87
5.5.150.0060.00310.98
5.5.140.0070.00310.98
5.5.130.0040.00410.84
5.5.120.0030.00511.02
5.5.110.0080.00611.01
5.5.100.0040.00810.79
5.5.90.0000.01010.87
5.5.80.0040.00410.84
5.5.70.0050.00310.94
5.5.60.0050.00510.60
5.5.50.0100.00010.64
5.5.40.0060.00610.63
5.5.30.0040.00710.85
5.5.20.0060.00610.91
5.5.10.0070.00311.01
5.5.00.0000.00610.79
5.4.450.0280.02327.35
5.4.440.0230.01524.08
5.4.430.0200.02622.24
5.4.420.0150.03015.09
5.4.410.0210.02522.15
5.4.400.0470.02014.65
5.4.390.0050.02722.20
5.4.380.0160.02514.71
5.4.370.0200.02514.71
5.4.360.0100.03014.59
5.4.350.0150.03014.64
5.4.340.0120.03214.78
5.4.330.0000.00710.89
5.4.320.0020.02211.68
5.4.310.0050.02711.59
5.4.300.0040.02111.67
5.4.290.0070.02111.58
5.4.280.0040.02311.48
5.4.270.0040.02311.63
5.4.260.0040.02411.54
5.4.250.0020.02511.50
5.4.240.0080.01811.42
5.4.230.0040.02911.36
5.4.220.0070.02011.31
5.4.210.0050.02211.50
5.4.200.0040.02211.44
5.4.190.0040.02311.47
5.4.180.0090.01811.33
5.4.170.0070.02111.57
5.4.160.0040.02211.61
5.4.150.0080.01911.61
5.4.140.0040.02311.35
5.4.130.0050.02011.38
5.4.120.0050.02211.37
5.4.110.0050.02011.25
5.4.100.0050.02411.35
5.4.90.0040.02411.30
5.4.80.0080.01811.36
5.4.70.0070.02211.41
5.4.60.0050.02511.34
5.4.50.0080.01811.24
5.4.40.0050.02111.36
5.4.30.0060.02111.41
5.4.20.0040.02211.38
5.4.10.0050.02811.48
5.4.00.0070.01711.08
5.3.290.0030.02711.70
5.3.280.0040.02411.61
5.3.270.0040.02411.57
5.3.260.0050.02311.65
5.3.250.0050.02111.63
5.3.240.0030.02311.62
5.3.230.0040.02311.62
5.3.220.0070.02111.46
5.3.210.0090.02111.40
5.3.200.0080.02011.48
5.3.190.0040.02211.48
5.3.180.0070.02111.61
5.3.170.0020.02411.60
5.3.160.0060.02311.57
5.3.150.0050.02511.48
5.3.140.0050.01911.53
5.3.130.0070.02011.54
5.3.120.0100.02611.56
5.3.110.0080.01911.57
5.3.100.0090.01811.26
5.3.90.0050.02011.15
5.3.80.0080.02011.18
5.3.70.0080.01811.21
5.3.60.0100.01811.25
5.3.50.0070.01911.18
5.3.40.0070.01911.12
5.3.30.0020.02411.24
5.3.20.0060.02111.03
5.3.10.0050.02110.93
5.3.00.0070.02310.82
5.2.170.0040.0189.43
5.2.160.0020.0189.43
5.2.150.0030.0199.43
5.2.140.0020.0199.43
5.2.130.0040.0179.41
5.2.120.0050.0149.41
5.2.110.0040.0199.41
5.2.100.0030.0179.41
5.2.90.0080.0139.41
5.2.80.0070.0159.41
5.2.70.0040.0199.41
5.2.60.0050.0199.38
5.2.50.0020.0199.37
5.2.40.0040.0189.36
5.2.30.0040.0169.35
5.2.20.0030.0219.34
5.2.10.0060.0179.30
5.2.00.0060.0159.23
5.1.60.0050.0138.87
5.1.50.0050.0138.87
5.1.40.0040.0148.86
5.1.30.0020.0179.04
5.1.20.0030.0159.05
5.1.10.0030.0158.91
5.1.00.0040.0168.91
5.0.50.0020.0127.76
5.0.40.0030.0128.08
5.0.30.0020.0197.98
5.0.20.0040.0127.97
5.0.10.0020.0137.96
5.0.00.0020.0197.95
4.4.90.0030.0097.23
4.4.80.0040.0087.21
4.4.70.0050.0127.21
4.4.60.0050.0107.21
4.4.50.0020.0107.22
4.4.40.0030.0207.19
4.4.30.0000.0127.22
4.4.20.0040.0097.26
4.4.10.0020.0107.26
4.4.00.0020.0157.22
4.3.110.0020.0127.17
4.3.100.0030.0087.17
4.3.90.0010.0127.15
4.3.80.0030.0157.13
4.3.70.0020.0117.15
4.3.60.0020.0097.15
4.3.50.0010.0147.15
4.3.40.0020.0157.10
4.3.30.0020.0156.49
4.3.20.0030.0076.47
4.3.10.0010.0116.46
4.3.00.0030.01220.47