3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $θ = 20; echo $θ;

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.0000.01416.57
7.3.00.0030.00716.54
7.2.130.0090.00616.62
7.2.120.0070.00416.87
7.2.110.0050.00816.65
7.2.100.0050.00916.54
7.2.90.0020.00916.44
7.2.80.0090.00516.66
7.2.70.0050.00816.55
7.2.60.0090.00416.61
7.2.50.0020.01216.75
7.2.40.0070.00616.78
7.2.30.0070.00916.80
7.2.20.0030.01016.70
7.2.10.0070.00716.64
7.2.00.0050.00817.48
7.1.250.0030.00915.69
7.1.230.0000.01515.48
7.1.220.0120.00315.44
7.1.210.0070.00715.60
7.1.200.0140.00315.57
7.1.190.0030.01015.66
7.1.180.0110.00715.32
7.1.170.0040.00815.58
7.1.160.0000.01515.58
7.1.150.0090.00315.74
7.1.140.0030.00615.57
7.1.130.0060.01015.70
7.1.120.0000.00815.61
7.1.110.0070.00715.62
7.1.100.0030.01016.64
7.1.90.0090.00315.82
7.1.80.0070.01015.48
7.1.70.0010.00816.36
7.1.60.0090.01217.65
7.1.50.0170.00316.24
7.1.40.0100.00615.75
7.1.30.0070.01015.86
7.1.20.0070.01515.46
7.1.10.0040.01115.55
7.1.00.0060.04118.86
7.0.310.0090.00615.30
7.0.300.0070.00715.07
7.0.290.0090.00615.14
7.0.280.0030.00515.33
7.0.270.0030.00515.24
7.0.260.0130.00014.97
7.0.250.0070.00715.14
7.0.240.0030.00515.28
7.0.230.0070.00315.25
7.0.220.0000.01315.29
7.0.210.0000.01514.96
7.0.200.0040.00716.03
7.0.190.0070.00715.12
7.0.180.0060.00615.02
7.0.170.0080.00315.16
7.0.160.0110.00415.00
7.0.150.0060.00315.23
7.0.140.0050.02718.76
7.0.130.0120.00315.22
7.0.120.0070.00415.35
7.0.110.0070.00715.34
7.0.100.0090.04017.66
7.0.90.0150.03817.58
7.0.80.0100.02317.65
7.0.70.0120.04217.60
7.0.60.0020.03217.58
7.0.50.0050.02317.71
7.0.40.0060.02316.57
7.0.30.0080.02216.66
7.0.20.0020.02716.71
7.0.10.0060.01716.78
7.0.00.0050.02316.72
hhvm-3.22.00.0570.12390.30
hhvm-3.21.30.0540.10889.59
hhvm-3.21.00.0430.11090.19
hhvm-3.20.20.0500.12590.35
hhvm-3.19.20.0560.09989.33
hhvm-3.18.50.0300.12988.59
hhvm-3.18.40.0630.09287.90
hhvm-3.17.30.0530.11387.24
hhvm-3.15.40.0530.09785.16
hhvm-3.13.20.0620.11196.48
hhvm-3.12.140.0500.10495.13
hhvm-3.11.10.0560.09287.23
hhvm-3.10.10.0400.10684.50
5.6.380.0030.00614.36
5.6.370.0040.00814.19
5.6.360.0050.00314.45
5.6.350.0070.00714.03
5.6.340.0000.01314.22
5.6.330.0070.00714.21
5.6.320.0080.00414.43
5.6.310.0070.00714.19
5.6.300.0000.01114.44
5.6.290.0100.00014.04
5.6.280.0040.04117.44
5.6.270.0030.01014.20
5.6.260.0080.00414.24
5.6.250.0090.04017.27
5.6.240.0120.04017.44
5.6.230.0100.03717.37
5.6.220.0030.02317.34
5.6.210.0100.01717.50
5.6.200.0030.02517.67
5.6.190.0070.02417.53
5.6.180.0050.02417.47
5.6.170.0070.01817.66
5.6.160.0050.02317.77
5.6.150.0050.02717.74
5.6.140.0100.02017.59
5.6.130.0070.02817.65
5.6.120.0040.02217.56
5.6.110.0070.02317.56
5.6.100.0070.01717.68
5.6.90.0060.02317.62
5.6.80.0080.02117.33
5.6.70.0060.01817.38
5.6.60.0060.01817.27
5.6.50.0080.02017.36
5.6.40.0060.02117.18
5.6.30.0050.02417.24
5.6.20.0090.01917.30
5.6.10.0070.01817.21
5.6.00.0080.01717.31
5.5.380.0090.04016.62
5.5.370.0070.04216.68
5.5.360.0070.02216.63
5.5.350.0060.04316.61
5.5.340.0060.02516.76
5.5.330.0060.02716.71
5.5.320.0040.02716.83
5.5.310.0040.02216.76
5.5.300.0060.02316.78
5.5.290.0050.01816.86
5.5.280.0070.02216.84
5.5.270.0070.02316.84
5.5.260.0060.02116.77
5.5.250.0040.02516.66
5.5.240.0090.02016.48
5.5.230.0070.02016.53
5.5.220.0020.02416.54
5.5.210.0080.02216.45
5.5.200.0050.01716.52
5.5.190.0070.01816.48
5.5.180.0050.02116.51
5.5.170.0040.00414.14
5.5.160.0080.01816.47
5.5.150.0050.01716.37
5.5.140.0050.02116.52
5.5.130.0070.02016.48
5.5.120.0060.01816.43
5.5.110.0060.01716.46
5.5.100.0030.04116.45
5.5.90.0080.03816.44
5.5.80.0050.03916.36
5.5.70.0100.03216.47
5.5.60.0060.01816.46
5.5.50.0100.02316.47
5.5.40.0100.03716.42
5.5.30.0080.03216.43
5.5.20.0050.02416.47
5.5.10.0070.04016.46
5.5.00.0100.03016.37
5.4.450.0040.02416.05
5.4.440.0040.02416.01
5.4.430.0050.01816.13
5.4.420.0020.02416.05
5.4.410.0050.02116.01
5.4.400.0020.02615.85
5.4.390.0030.01916.01
5.4.380.0070.01715.88
5.4.370.0060.02015.79
5.4.360.0070.01816.01
5.4.350.0040.02115.95
5.4.340.0060.02115.85
5.4.330.0040.00712.79
5.4.320.0060.02316.02
5.4.310.0090.01715.96
5.4.300.0040.02215.84
5.4.290.0070.01816.01
5.4.280.0050.02115.91
5.4.270.0030.02415.92
5.4.260.0050.04215.95
5.4.250.0050.02215.96
5.4.240.0080.04015.84
5.4.230.0050.03515.79
5.4.220.0050.02715.94
5.4.210.0050.04315.93
5.4.200.0020.02915.80
5.4.190.0140.03315.78
5.4.180.0050.03815.93
5.4.170.0110.03315.92
5.4.160.0020.04215.90
5.4.150.0040.02516.01
5.4.140.0060.03514.54
5.4.130.0050.02814.55
5.4.120.0060.04114.58
5.4.110.0050.02714.54
5.4.100.0060.03114.59
5.4.90.0070.03614.59
5.4.80.0080.03514.52
5.4.70.0020.02714.54
5.4.60.0030.04114.55
5.4.50.0060.03814.56
5.4.40.0030.03714.53
5.4.30.0030.03914.49
5.4.20.0030.03914.58
5.4.10.0030.04014.55
5.4.00.0030.02914.29
5.3.290.0050.02113.71
5.3.280.0050.02013.61
5.3.270.0060.04013.61
5.3.260.0020.04313.62
5.3.250.0080.03513.61
5.3.240.0060.01813.63
5.3.230.0070.03913.65
5.3.220.0030.02713.67
5.3.210.0070.03013.68
5.3.200.0100.03713.67
5.3.190.0030.02813.68
5.3.180.0080.03613.60
5.3.170.0080.03813.66
5.3.160.0120.03513.66
5.3.150.0030.03513.60
5.3.140.0070.03813.64
5.3.130.0090.01813.66
5.3.120.0030.03713.59
5.3.110.0060.03113.60
5.3.100.0030.03913.39
5.3.90.0030.03913.33
5.3.80.0060.03813.33
5.3.70.0050.03013.40
5.3.60.0050.03813.38
5.3.50.0040.03913.36
5.3.40.0000.04313.29
5.3.30.0050.03713.34
5.3.20.0080.03513.17
5.3.10.0080.03613.18
5.3.00.0030.03713.11
5.2.170.0060.03311.96
5.2.160.0030.02811.97
5.2.150.0050.03111.96
5.2.140.0110.02711.89
5.2.130.0100.02511.92
5.2.120.0050.03111.90
5.2.110.0090.02011.94
5.2.100.0050.03311.97
5.2.90.0090.03211.96
5.2.80.0090.01911.94
5.2.70.0050.01711.96
5.2.60.0060.03311.95
5.2.50.0030.02111.82
5.2.40.0050.03011.92
5.2.30.0020.02411.81
5.2.20.0050.03211.90
5.2.10.0020.03411.79
5.2.00.0030.02611.81
5.1.60.0020.02511.44
5.1.50.0030.01711.39
5.1.40.0050.02611.39
5.1.30.0040.03011.61
5.1.20.0000.02911.60
5.1.10.0010.01611.46
5.1.00.0020.03211.44
5.0.50.0000.02810.72
5.0.40.0010.02110.60
5.0.30.0070.03010.53
5.0.20.0030.02210.54
5.0.10.0030.01310.52
5.0.00.0040.02710.46
4.4.90.0050.01510.46
4.4.80.0030.01910.46
4.4.70.0050.01510.46
4.4.60.0010.01810.46
4.4.50.0020.01610.46
4.4.40.0050.02110.46
4.4.30.0000.02110.46
4.4.20.0010.01310.46
4.4.10.0030.01110.46
4.4.00.0020.02110.46
4.3.110.0030.01810.46
4.3.100.0030.01510.46
4.3.90.0020.02010.46
4.3.80.0030.02310.46
4.3.70.0030.01510.46
4.3.60.0010.02010.46
4.3.50.0000.02310.46
4.3.40.0020.02010.46
4.3.30.0040.00810.46
4.3.20.0010.02010.46
4.3.10.0020.01210.46
4.3.00.0000.02010.46