3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'a'; $a++; echo $a;
based on uLicW

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.0270.01016.27
7.3.0rc20.0040.00716.73
7.3.0beta10.0070.00412.60
7.3.0alpha10.0030.00712.76
7.2.60.0110.00316.73
7.2.10.0220.01117.82
7.2.00.0130.01218.34
7.1.200.0170.00015.57
7.1.120.0140.00617.39
7.1.110.0120.00716.66
7.1.100.0080.01216.86
7.1.90.0150.00816.65
7.1.80.0150.00416.79
7.1.70.0150.01115.80
7.1.60.0250.00933.73
7.1.50.0200.01333.51
7.1.40.0270.00833.10
7.1.30.0200.01233.23
7.1.20.0240.01333.21
7.1.10.0080.00915.21
7.1.00.0100.00915.41
7.0.260.0090.01017.00
7.0.250.0100.00916.39
7.0.240.0140.00716.44
7.0.230.0110.00916.37
7.0.220.0130.00616.41
7.0.210.0150.00815.31
7.0.200.0120.00715.36
7.0.190.0120.00615.31
7.0.180.0100.01015.05
7.0.170.0220.01014.94
7.0.160.0090.01014.91
7.0.150.0100.00814.86
7.0.140.0140.00514.96
7.0.130.0100.00815.23
7.0.120.0090.01015.21
7.0.110.0520.01114.91
7.0.100.0100.00914.93
7.0.90.0130.01214.98
7.0.80.0120.00715.04
7.0.70.0130.00614.84
7.0.60.0130.00614.75
7.0.50.0110.00815.08
7.0.40.0150.00515.18
7.0.30.0120.00615.20
7.0.20.0170.00515.00
7.0.10.0120.00715.04
7.0.00.0100.00915.08
hhvm-3.22.00.0570.15689.93
hhvm-3.21.30.0560.15290.02
hhvm-3.21.00.0830.17989.28
hhvm-3.20.20.0730.16390.09
hhvm-3.19.20.0810.15489.22
hhvm-3.18.50.0380.16688.01
hhvm-3.18.40.0790.15987.96
hhvm-3.17.30.0750.15187.16
hhvm-3.15.40.0640.13884.75
hhvm-3.13.20.0700.14996.15
hhvm-3.12.140.0640.14694.88
hhvm-3.11.10.0680.14087.20
hhvm-3.10.10.0760.15984.07
5.6.300.0100.05720.78
5.6.290.0080.05520.85
5.6.280.0130.05620.84
5.6.270.0090.05620.75
5.6.260.0140.05320.89
5.6.250.0150.05520.87
5.6.240.0080.06220.79
5.6.230.0110.05620.83
5.6.220.0110.05220.84
5.6.210.0130.05020.96
5.6.200.0100.06120.75
5.6.190.0160.05220.79
5.6.180.0090.05620.91
5.6.170.0090.05720.85
5.6.160.0080.05620.80
5.6.150.0090.06220.80
5.6.140.0090.05920.79
5.6.130.0120.05920.78
5.6.120.0120.05320.85
5.6.110.0130.05320.69
5.6.100.0150.05420.74
5.6.90.0140.05720.84
5.6.80.0080.05820.25
5.6.70.0080.05420.15
5.6.60.0110.05320.14
5.6.50.0120.04920.18
5.6.40.0110.05120.17
5.6.30.0090.05920.15
5.6.20.0080.05820.17
5.6.10.0120.06020.15
5.6.00.0140.05520.11
5.5.380.0170.04517.46
5.5.370.0140.05717.42
5.5.360.0080.05517.40
5.5.350.0140.05317.44
5.5.340.0070.05617.83
5.5.330.0100.05217.98
5.5.320.0110.05517.80
5.5.310.0060.06517.87
5.5.300.0130.05518.00
5.5.290.0080.06117.94
5.5.280.0090.05617.86
5.5.270.0120.06017.88
5.5.260.0110.05417.85
5.5.250.0160.05817.70
5.5.240.0130.05717.29
5.5.230.0150.04717.28
5.5.220.0110.05917.32
5.5.210.0170.04917.29
5.5.200.0140.04917.21
5.5.190.0110.06617.25
5.5.180.0130.04817.24
5.5.160.0110.05617.28
5.5.150.0100.04917.33
5.5.140.0130.06017.16
5.5.130.0120.05117.23
5.5.120.0060.05517.29
5.5.110.0050.05517.19
5.5.100.0040.05517.20
5.5.90.0060.05217.13
5.5.80.0090.05117.02
5.5.70.0180.04717.12
5.5.60.0110.04717.07
5.5.50.0110.04717.05
5.5.40.0090.04717.06
5.5.30.0170.04217.17
5.5.20.0110.05117.15
5.5.10.0140.04617.16
5.5.00.0100.05017.11
5.4.450.0180.05119.43
5.4.440.0090.05519.25
5.4.430.0080.06019.41
5.4.420.0140.05419.24
5.4.410.0130.05219.23
5.4.400.0070.06919.11
5.4.390.0160.04518.96
5.4.380.0110.05418.98
5.4.370.0040.05718.99
5.4.360.0040.05718.86
5.4.350.0110.05319.00
5.4.340.0060.05418.90
5.4.320.0110.05919.00
5.4.310.0090.05718.85
5.4.300.0100.05118.87
5.4.290.0070.05219.02
5.4.280.0120.04918.96
5.4.270.0110.05018.96
5.4.260.0120.04518.93
5.4.250.0140.04819.01
5.4.240.0110.04918.95
5.4.230.0070.06519.01
5.4.220.0100.05218.89
5.4.210.0140.04418.93
5.4.200.0060.05018.92
5.4.190.0090.05018.98
5.4.180.0100.04918.97
5.4.170.0130.04718.93
5.4.160.0090.05319.09
5.4.150.0120.05018.97
5.4.140.0110.05016.44
5.4.130.0120.05416.49
5.4.120.0070.05316.54
5.4.110.0120.05516.46
5.4.100.0110.04816.52
5.4.90.0050.05916.54
5.4.80.0130.04216.48
5.4.70.0120.04316.34
5.4.60.0120.04716.47
5.4.50.0090.04916.46
5.4.40.0120.04916.56
5.4.30.0090.04616.44
5.4.20.0100.04616.40
5.4.10.0100.04716.56
5.4.00.0120.04415.94
5.3.290.0110.05214.76
5.3.280.0080.05014.68
5.3.270.0080.05814.69
5.3.260.0180.04914.67
5.3.250.0100.05414.71
5.3.240.0090.05114.58
5.3.230.0130.05114.70
5.3.220.0110.05114.52
5.3.210.0140.05814.65
5.3.200.0120.04614.68
5.3.190.0110.04814.66
5.3.180.0100.04814.61
5.3.170.0110.04714.66
5.3.160.0140.04814.64
5.3.150.0060.05214.62
5.3.140.0110.05514.66
5.3.130.0100.04814.63
5.3.120.0120.04914.68
5.3.110.0060.05114.53
5.3.100.0160.05114.15
5.3.90.0080.05114.16
5.3.80.0080.04914.06
5.3.70.0120.04314.09
5.3.60.0090.04713.98
5.3.50.0060.04813.89
5.3.40.0150.04314.08
5.3.30.0130.04914.06
5.3.20.0060.05013.79
5.3.10.0050.04813.61
5.3.00.0090.04613.63
5.2.170.0080.03711.21
5.2.160.0080.04311.21
5.2.150.0060.04211.06
5.2.140.0050.04211.20
5.2.130.0060.03911.05
5.2.120.0050.03911.11
5.2.110.0080.03611.17
5.2.100.0090.04011.11
5.2.90.0090.03411.08
5.2.80.0090.03611.06
5.2.70.0080.03811.21
5.2.60.0060.04111.11
5.2.50.0030.04210.99
5.2.40.0070.04111.14
5.2.30.0060.04411.01
5.2.20.0080.03611.03
5.2.10.0100.03810.93
5.2.00.0070.04310.77
5.1.60.0080.03010.21
5.1.50.0040.03510.06
5.1.40.0080.03110.12
5.1.30.0060.03610.38
5.1.20.0080.03910.52
5.1.10.0060.03310.21
5.1.00.0090.03110.08
5.0.50.0090.0279.23
5.0.40.0030.0329.23
5.0.30.0060.0399.23
5.0.20.0040.0269.23
5.0.10.0050.0269.23
5.0.00.0070.0389.23
4.4.90.0040.0229.23
4.4.80.0030.0209.23
4.4.70.0070.0179.23
4.4.60.0040.0209.23
4.4.50.0030.0239.23
4.4.40.0100.0279.23
4.4.30.0030.0229.23
4.4.20.0020.0269.23
4.4.10.0030.0249.23
4.4.00.0020.0379.23
4.3.110.0020.0239.23
4.3.100.0030.0219.23
4.3.90.0020.0219.23
4.3.80.0000.0359.23
4.3.70.0060.0189.23
4.3.60.0030.0209.23
4.3.50.0050.0199.23
4.3.40.0020.0339.23
4.3.30.0050.0189.23
4.3.20.0060.0199.23
4.3.10.0040.0209.23
4.3.00.0040.0189.23