3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo count(''); ?>

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.0000.01016.49
7.3.0rc30.0240.00516.63
7.3.0rc20.0060.01016.53
7.3.0rc10.0000.01116.48
7.3.0beta30.0080.00412.79
7.3.0beta20.0030.00612.79
7.3.0beta10.0120.00012.55
7.3.0alpha40.0030.00612.79
7.3.0alpha30.0080.00312.79
7.3.0alpha20.0060.00312.79
7.3.0alpha10.0040.00412.77
7.2.110.0100.00316.29
7.2.100.0070.00316.63
7.2.90.0070.00716.44
7.2.80.0140.00016.50
7.2.70.0030.01316.93
7.2.60.0110.00516.85
7.2.50.0030.01016.86
7.2.40.0080.00816.86
7.2.30.0000.01516.78
7.2.20.0030.01416.99
7.2.10.0040.01117.01
7.2.00.0090.00518.13
7.1.230.0030.01315.55
7.1.220.0070.00715.71
7.1.210.0040.00415.67
7.1.200.0070.00315.58
7.1.190.0090.00615.36
7.1.180.0040.01115.34
7.1.170.0030.01015.33
7.1.160.0030.00615.52
7.1.150.0030.00715.38
7.1.140.0110.00415.42
7.1.130.0130.00015.54
7.1.120.0060.00315.53
7.1.110.0100.00015.43
7.1.100.0050.00716.88
7.1.90.0030.00915.69
7.1.80.0040.01115.36
7.1.70.0020.00616.28
7.1.60.0070.01417.45
7.1.50.0110.00916.30
7.1.40.0130.00315.87
7.1.30.0000.01715.75
7.1.20.0070.01015.66
7.1.10.0070.00415.41
7.1.00.0080.03719.10
7.0.310.0030.00915.24
7.0.300.0000.00715.43
7.0.290.0060.00615.01
7.0.280.0030.00615.05
7.0.270.0090.00615.42
7.0.260.0000.00915.30
7.0.250.0060.00315.32
7.0.240.0090.00315.45
7.0.230.0000.01115.38
7.0.220.0000.01115.39
7.0.210.0030.01015.11
7.0.200.0420.00515.12
7.0.190.0120.00015.29
7.0.180.0080.00315.27
7.0.170.0030.00615.37
7.0.160.0040.00815.38
7.0.150.0030.00715.07
7.0.140.0050.04018.67
7.0.130.0040.00415.41
7.0.120.0000.04318.62
7.0.110.0030.00915.38
7.0.100.0030.01015.39
7.0.90.0070.00715.32
7.0.80.0030.00715.41
7.0.70.0050.00315.45
7.0.60.0200.04317.64
7.0.50.0080.02116.56
7.0.40.0090.04216.75
7.0.30.0020.03916.76
7.0.20.0030.04516.75
7.0.10.0050.04616.86
7.0.00.0050.02916.63
hhvm-3.22.00.0460.11690.55
hhvm-3.21.30.0660.09389.69
hhvm-3.21.00.0570.11390.30
hhvm-3.20.20.0390.12190.09
hhvm-3.19.20.0540.10789.56
hhvm-3.18.50.0590.10188.77
hhvm-3.18.40.0430.11687.80
hhvm-3.17.30.0640.10187.35
hhvm-3.15.40.0530.09285.03
hhvm-3.13.20.0640.11096.71
hhvm-3.12.140.0730.09695.24
hhvm-3.11.10.0370.11187.39
hhvm-3.10.10.0530.09284.30
5.6.380.0080.00314.39
5.6.370.0110.00414.43
5.6.360.0070.01014.11
5.6.350.0080.00414.27
5.6.340.0060.00614.29
5.6.330.0100.00314.14
5.6.320.0040.00814.19
5.6.310.0060.00614.51
5.6.300.0030.00613.92
5.6.290.0040.01114.09
5.6.280.0050.03917.67
5.6.270.0030.01014.06
5.6.260.0000.00914.41
5.6.250.0070.00714.41
5.6.240.0030.01014.04
5.6.230.0030.01214.32
5.6.220.0000.01214.04
5.6.210.0030.03517.36
5.6.200.0050.04016.20
5.6.190.0080.04017.34
5.6.180.0040.04717.22
5.6.170.0050.03617.46
5.6.160.0020.05117.29
5.6.150.0030.04517.21
5.6.140.0030.04717.19
5.6.130.0050.04717.24
5.6.120.0050.04317.04
5.6.110.0070.03517.33
5.6.100.0050.02717.18
5.6.90.0020.02817.36
5.6.80.0060.03816.82
5.6.70.0040.04516.96
5.6.60.0030.04816.82
5.6.50.0090.02916.86
5.6.40.0050.04316.87
5.6.30.0030.03417.04
5.6.20.0090.03916.92
5.6.10.0060.02916.92
5.6.00.0080.02116.74
5.5.380.0090.00312.79
5.5.370.0060.00012.79
5.5.360.0050.00012.79
5.5.350.1950.02216.59
5.5.340.0030.02615.34
5.5.330.0070.04016.50
5.5.320.0100.04316.68
5.5.310.0050.03816.47
5.5.300.0030.04616.48
5.5.290.0080.03516.48
5.5.280.0020.04816.35
5.5.270.0020.02416.35
5.5.260.0040.02216.49
5.5.250.0050.02716.31
5.5.240.0020.02916.19
5.5.230.0050.03316.18
5.5.220.0080.04016.15
5.5.210.0050.02016.17
5.5.200.0050.02016.19
5.5.190.0060.04216.19
5.5.180.0050.04116.16
5.5.170.0040.01114.05
5.5.160.0030.03716.20
5.5.150.0070.04316.15
5.5.140.0030.03016.02
5.5.130.0050.03916.03
5.5.120.0020.04216.06
5.5.110.0090.02316.20
5.5.100.0050.03316.02
5.5.90.0070.04116.01
5.5.80.0030.03616.15
5.5.70.0060.04316.00
5.5.60.0070.03016.00
5.5.50.0060.03815.97
5.5.40.0070.04116.12
5.5.30.0050.04116.11
5.5.20.0030.02616.11
5.5.10.0020.03116.11
5.5.00.0100.03215.97
5.4.450.0030.04516.02
5.4.440.0030.04615.95
5.4.430.0020.04416.13
5.4.420.0050.02216.10
5.4.410.0040.02816.06
5.4.400.0020.02415.94
5.4.390.0050.04215.85
5.4.380.0000.04615.79
5.4.370.0050.02015.95
5.4.360.0030.02215.95
5.4.350.0020.04415.98
5.4.340.0040.04015.97
5.4.330.0030.00312.79
5.4.320.0030.04215.94
5.4.310.0030.02815.94
5.4.300.0030.02515.94
5.4.290.0050.04215.85
5.4.280.0050.03615.80
5.4.270.0020.04215.94
5.4.260.0020.02415.98
5.4.250.0080.01715.93
5.4.240.0070.02115.95
5.4.230.0040.03815.98
5.4.220.0050.04315.85
5.4.210.0060.02015.87
5.4.200.0030.02515.89
5.4.190.0070.02715.78
5.4.180.0040.04215.91
5.4.170.0020.04115.85
5.4.160.0020.03815.97
5.4.150.0070.03715.96
5.4.140.0060.03814.58
5.4.130.0030.04114.47
5.4.120.0070.03514.53
5.4.110.0090.02814.53
5.4.100.0050.03814.56
5.4.90.0020.02514.53
5.4.80.0050.02014.56
5.4.70.0000.02614.52
5.4.60.0060.02014.57
5.4.50.0030.02014.52
5.4.40.0030.01814.59
5.4.30.0050.01814.56
5.4.20.0030.01814.50
5.4.10.0030.01814.69
5.4.00.0050.01714.28
5.3.290.0060.04113.71
5.3.280.0050.04113.73
5.3.270.0060.03513.70
5.3.260.0070.03913.74
5.3.250.0030.02313.64
5.3.240.0040.03013.67
5.3.230.0030.03913.63
5.3.220.0020.03213.63
5.3.210.0070.03313.64
5.3.200.0020.03413.66
5.3.190.0030.02013.64
5.3.180.0020.04613.64
5.3.170.0070.01613.65
5.3.160.0020.02013.62
5.3.150.0020.02013.63
5.3.140.0020.02213.62
5.3.130.0020.02213.56
5.3.120.0050.02013.71
5.3.110.0030.02013.67
5.3.100.0020.01713.37
5.3.90.0050.01713.37
5.3.80.0030.01813.32
5.3.70.0060.01513.36
5.3.60.0050.01713.37
5.3.50.0000.02413.33
5.3.40.0020.02213.33
5.3.30.0050.01713.27
5.3.20.0020.02013.21
5.3.10.0020.02013.18
5.3.00.0050.01813.19
5.2.170.0020.01712.78
5.2.160.0000.01712.78
5.2.150.0000.01812.78
5.2.140.0050.01312.78
5.2.130.0030.01512.78
5.2.120.0050.01512.78
5.2.110.0050.02912.78
5.2.100.0020.02212.78
5.2.90.0000.01912.78
5.2.80.0060.02312.78
5.2.70.0020.01712.78
5.2.60.0030.01612.78
5.2.50.0050.01312.78
5.2.40.0070.01512.78
5.2.30.0000.02012.78
5.2.20.0080.01212.78
5.2.10.0030.01512.78
5.2.00.0000.01612.78
5.1.60.0040.01412.78
5.1.50.0020.01412.78
5.1.40.0020.01312.78
5.1.30.0030.01512.78
5.1.20.0060.01012.78
5.1.10.0040.01412.78
5.1.00.0030.01512.78
5.0.50.0000.01212.78
5.0.40.0030.01012.78
5.0.30.0050.01712.78
5.0.20.0000.01012.78
5.0.10.0020.01212.78
5.0.00.0000.01812.78
4.4.90.0030.00812.78
4.4.80.0020.01012.78
4.4.70.0020.01012.78
4.4.60.0020.00812.78
4.4.50.0020.01012.78
4.4.40.0020.01312.78
4.4.30.0010.00912.78
4.4.20.0000.01112.78
4.4.10.0030.00712.78
4.4.00.0020.01212.78
4.3.110.0020.00912.78
4.3.100.0000.01012.78
4.3.90.0020.00812.78
4.3.80.0000.01412.78
4.3.70.0000.01012.78
4.3.60.0030.00812.78
4.3.50.0030.00812.78
4.3.40.0020.01312.78
4.3.30.0040.00712.78
4.3.20.0000.01012.78
4.3.10.0030.01312.78
4.3.00.0020.01312.78