3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $something="Oh something"; echo "My answer is $something.'<br>'"; ?>
based on 3Pmc8

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.0560.00016.73
7.3.0rc30.1280.00216.17
7.3.0rc20.0110.00416.58
7.3.0rc10.0290.00316.41
7.3.0beta30.0180.00012.80
7.3.0beta20.0080.00812.79
7.3.0beta10.0030.01012.79
7.3.0alpha40.0100.00312.79
7.3.0alpha30.0160.00412.79
7.3.0alpha20.0060.00912.79
7.3.0alpha10.0080.00412.79
7.2.110.0140.00416.68
7.2.100.0270.00416.34
7.2.90.0240.00716.23
7.2.80.0110.00716.33
7.2.70.0210.01216.88
7.2.60.0090.00616.77
7.2.50.0170.00016.47
7.2.40.0210.00416.41
7.2.30.0150.01016.51
7.2.20.0230.00716.52
7.2.10.0230.00616.61
7.2.00.0090.01018.07
7.1.230.0100.00715.66
7.1.220.0110.00315.50
7.1.210.0130.00315.55
7.1.200.0210.00615.59
7.1.190.0210.00615.84
7.1.180.0230.01015.70
7.1.170.0170.00315.73
7.1.160.0240.00515.36
7.1.150.0200.00715.29
7.1.140.0110.01115.68
7.1.130.0190.00015.37
7.1.120.0170.00315.41
7.1.110.0270.00015.70
7.1.100.0080.00816.72
7.1.90.0140.00715.84
7.1.80.0120.00615.45
7.1.70.0120.00416.22
7.1.60.0150.01217.65
7.1.50.0090.01316.23
7.1.40.0120.00815.87
7.1.30.0170.01315.84
7.1.20.0130.00715.91
7.1.10.0130.01015.63
7.1.00.0190.03819.17
7.0.310.0170.00715.08
7.0.300.0110.01115.16
7.0.290.0120.00414.91
7.0.280.0180.00715.39
7.0.270.0220.00315.05
7.0.260.0130.00315.06
7.0.250.0290.00615.50
7.0.240.0220.00815.26
7.0.230.0470.00915.29
7.0.220.0130.00314.97
7.0.210.0140.00515.48
7.0.200.0270.00115.06
7.0.190.0200.00715.50
7.0.180.0100.00715.30
7.0.170.0130.01315.13
7.0.160.0060.00615.42
7.0.150.0180.00515.43
7.0.140.0210.03618.60
7.0.130.0310.00015.60
7.0.120.0110.00615.62
7.0.110.0130.00515.39
7.0.100.0130.00414.98
7.0.90.0180.00014.99
7.0.80.0310.00715.21
7.0.70.0250.00015.44
7.0.60.0090.02517.59
7.0.50.0090.04516.58
7.0.40.0080.04816.61
7.0.30.0170.02716.83
7.0.20.0150.02516.69
7.0.10.0250.02816.69
7.0.00.0130.03616.88
hhvm-3.22.00.1280.13889.48
hhvm-3.21.30.1180.13690.51
hhvm-3.21.00.1260.14390.18
hhvm-3.20.20.0940.11089.24
hhvm-3.19.20.0810.15788.55
hhvm-3.18.50.1010.13588.50
hhvm-3.18.40.1220.11388.03
hhvm-3.17.30.1100.12386.44
hhvm-3.15.40.1270.09584.55
hhvm-3.13.20.1310.13495.95
hhvm-3.12.140.1250.09495.14
hhvm-3.11.10.1170.13587.09
hhvm-3.10.10.1040.12084.31
5.6.380.0100.00514.41
5.6.370.0060.00914.35
5.6.360.0140.00614.15
5.6.350.0070.01414.05
5.6.340.0210.00014.43
5.6.330.0230.00714.16
5.6.320.0180.00014.32
5.6.310.0130.00414.29
5.6.300.0160.00314.18
5.6.290.0150.00414.05
5.6.280.0100.03817.70
5.6.270.0120.00814.19
5.6.260.0100.00814.26
5.6.250.0090.00914.40
5.6.240.0160.00314.13
5.6.230.0140.00514.37
5.6.220.0150.00314.12
5.6.210.0140.04217.31
5.6.200.0120.03216.17
5.6.190.0080.04117.48
5.6.180.0100.04017.34
5.6.170.0220.04117.17
5.6.160.0090.04817.43
5.6.150.0060.04016.43
5.6.140.0130.03116.20
5.6.130.0110.02716.21
5.6.120.0150.04217.75
5.6.110.0150.03517.67
5.6.100.0080.03817.53
5.6.90.0070.03017.64
5.6.80.0190.03417.23
5.6.70.2240.02517.19
5.6.60.0240.00514.09
5.6.50.0170.00313.96
5.6.40.0160.01214.22
5.6.30.0170.00714.30
5.6.20.0220.00614.09
5.6.10.0170.00314.01
5.6.00.0060.00614.03
5.5.380.0120.00912.79
5.5.370.0050.00912.79
5.5.360.0140.00312.79
5.5.350.0040.04616.55
5.5.340.0080.04215.37
5.5.330.0090.03116.51
5.5.320.0080.04316.53
5.5.310.0150.04816.48
5.5.300.0080.04015.39
5.5.290.0090.02215.35
5.5.280.0070.02316.72
5.5.270.0170.02816.75
5.5.260.0100.04416.77
5.5.250.0060.02216.74
5.5.240.0090.03316.46
5.5.230.0140.00312.79
5.5.220.0060.00612.79
5.5.210.0090.00912.79
5.5.200.0120.00012.79
5.5.190.0150.00312.79
5.5.180.0060.00912.79
5.5.170.0280.00014.06
5.5.160.0050.00612.79
5.5.150.0120.00012.79
5.5.140.0050.00912.79
5.5.130.0160.00312.79
5.5.120.0100.01012.79
5.5.110.0080.00512.79
5.5.100.0070.00412.79
5.5.90.0130.00012.79
5.5.80.0060.00612.79
5.5.70.0160.00412.79
5.5.60.0210.00012.79
5.5.50.0110.00412.79
5.5.40.0130.00012.79
5.5.30.0150.00312.79
5.5.20.0110.00312.79
5.5.10.0040.00912.79
5.5.00.0140.00012.79
5.4.450.0200.02716.18
5.4.440.0590.02316.11
5.4.430.0270.02216.18
5.4.420.0370.00316.10
5.4.410.0380.00316.15
5.4.400.0380.00215.88
5.4.390.0350.00315.93
5.4.380.0380.00115.93
5.4.370.0380.00015.88
5.4.360.0370.00115.91
5.4.350.0380.00215.97
5.4.340.0320.00715.89
5.4.330.0100.00312.79
5.4.320.0100.02512.62
5.4.310.0060.02312.62
5.4.300.0080.02212.62
5.4.290.0080.02212.62
5.4.280.0100.01912.57
5.4.270.0080.02012.57
5.4.260.0070.02712.57
5.4.250.0110.02712.56
5.4.240.0080.01812.57
5.4.230.0070.01912.56
5.4.220.0060.02012.56
5.4.210.0110.01912.56
5.4.200.0050.02412.56
5.4.190.0080.02112.56
5.4.180.0120.01912.56
5.4.170.0070.01912.57
5.4.160.0070.02112.57
5.4.150.0080.01912.56
5.4.140.0080.02112.41
5.4.130.0070.01912.40
5.4.120.0100.01812.38
5.4.110.0110.02112.38
5.4.100.0110.02112.38
5.4.90.0120.02112.38
5.4.80.0090.02212.38
5.4.70.0090.01912.37
5.4.60.0070.02012.37
5.4.50.0100.01812.37
5.4.40.0120.02012.37
5.4.30.0090.02212.37
5.4.20.0080.02012.37
5.4.10.0110.02012.37
5.4.00.0040.02312.11
5.3.290.0060.02212.79
5.3.280.0060.02112.75
5.3.270.0080.02112.76
5.3.260.0100.02012.76
5.3.250.0070.02112.76
5.3.240.0090.02112.75
5.3.230.0050.02212.75
5.3.220.0080.02112.74
5.3.210.0090.01912.74
5.3.200.0110.01912.74
5.3.190.0060.02412.73
5.3.180.0040.02312.73
5.3.170.0090.01812.73
5.3.160.0060.02112.73
5.3.150.0100.01912.73
5.3.140.0050.02312.72
5.3.130.0100.02212.72
5.3.120.0100.02012.72
5.3.110.0120.02112.72
5.3.100.0090.02012.45
5.3.90.0060.02012.44
5.3.80.0070.01912.43
5.3.70.0070.02212.43
5.3.60.0080.02012.43
5.3.50.0090.01912.39
5.3.40.0040.02412.40
5.3.30.0080.01812.36
5.3.20.0120.01612.25
5.3.10.0110.01812.24
5.3.00.0040.02212.23
5.2.170.0090.01810.98
5.2.160.0050.01710.98
5.2.150.0090.01610.98
5.2.140.0060.01710.98
5.2.130.0060.01810.96
5.2.120.0040.01710.96
5.2.110.0040.01710.96
5.2.100.0070.01510.96
5.2.90.0060.01610.96
5.2.80.0050.01610.96
5.2.70.0050.01810.96
5.2.60.0060.01510.93
5.2.50.0040.01910.92
5.2.40.0060.01510.91
5.2.30.0060.01710.90
5.2.20.0060.01410.89
5.2.10.0040.01710.85
5.2.00.0090.01510.78
5.1.60.0060.01510.43
5.1.50.0060.01210.42
5.1.40.0040.01510.41
5.1.30.0070.01510.59
5.1.20.0060.01410.60
5.1.10.0050.01410.46
5.1.00.0050.01510.46
5.0.50.0050.0109.70
5.0.40.0040.0109.63
5.0.30.0050.0169.54
5.0.20.0060.0119.52
5.0.10.0020.0119.51
5.0.00.0060.0149.51
4.4.90.0030.0108.79
4.4.80.0070.0078.77
4.4.70.0030.0088.77
4.4.60.0030.0148.77
4.4.50.0020.0138.78
4.4.40.0060.0138.75
4.4.30.0030.0108.77
4.4.20.0010.0118.82
4.4.10.0030.0088.82
4.4.00.0020.0198.78
4.3.110.0070.0098.73
4.3.100.0070.0088.73
4.3.90.0020.0108.71
4.3.80.0050.0148.69
4.3.70.0010.0108.71
4.3.60.0060.0078.71
4.3.50.0020.0118.71
4.3.40.0010.0178.66
4.3.30.0030.0128.03
4.3.20.0010.0118.02
4.3.10.0020.0098.00
4.3.00.0030.01113.15