3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $password = 'titanfall'; echo $password; echo "<br/>"; echo password_hash($password, PASSWORD_DEFAULT); echo '<br />'; //echo password_hash("cadillac", PASSWORD_DEFAULT); ?>

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.2.110.0000.07316.52
7.2.100.0030.07216.34
7.2.90.0030.07216.44
7.2.80.0070.06916.62
7.2.70.0130.06316.50
7.2.60.0050.07016.76
7.2.50.0060.06916.75
7.2.40.0060.06516.44
7.2.30.0100.06716.95
7.2.20.0100.06616.80
7.2.10.0100.06516.78
7.2.00.0170.06117.87
7.1.230.0070.07015.62
7.1.220.0070.06715.88
7.1.210.0030.07315.86
7.1.200.0020.07315.72
7.1.190.0070.06915.69
7.1.180.0070.07015.81
7.1.170.0030.07215.80
7.1.160.0070.07015.85
7.1.150.0100.06815.90
7.1.140.0030.06815.80
7.1.130.0030.07215.54
7.1.120.0130.06315.87
7.1.110.0000.07515.92
7.1.100.0100.06615.75
7.1.90.0030.07315.77
7.1.80.0030.07115.77
7.1.70.0060.07216.51
7.1.60.0050.07317.75
7.1.50.0110.09316.39
7.1.40.0100.06915.82
7.1.30.0100.06815.73
7.1.20.0100.06615.93
7.1.10.0070.06615.89
7.1.00.0050.11719.12
7.0.310.0030.06715.22
7.0.300.0030.07015.56
7.0.290.0000.07215.50
7.0.280.0000.07115.39
7.0.270.0060.06415.11
7.0.260.0030.07015.32
7.0.250.0070.07015.43
7.0.240.0030.07215.11
7.0.230.0030.07315.44
7.0.220.0030.07215.65
7.0.210.0000.07515.21
7.0.200.0030.06816.07
7.0.190.0100.06515.55
7.0.180.0130.06115.30
7.0.170.0030.07115.34
7.0.160.0070.06515.22
7.0.150.0100.06415.43
7.0.140.0050.10618.62
7.0.130.0030.06715.30
7.0.120.0060.06815.20
7.0.110.0000.07215.59
7.0.100.0000.07315.50
7.0.90.0130.06015.27
7.0.80.0090.06815.54
7.0.70.0070.06815.37
7.0.60.0050.08617.64
7.0.50.0050.08416.73
7.0.40.0070.12516.71
7.0.30.0170.11316.91
7.0.20.0150.09316.80
7.0.10.0070.08516.78
7.0.00.0020.09216.89
hhvm-3.22.00.0670.15190.92
hhvm-3.21.30.0370.17890.10
hhvm-3.21.00.0490.18790.20
hhvm-3.20.20.0530.18390.72
hhvm-3.19.20.0400.20090.36
hhvm-3.18.50.0500.17088.02
hhvm-3.18.40.0430.20088.87
hhvm-3.17.30.0470.15687.70
hhvm-3.15.40.0370.16885.25
hhvm-3.13.20.0430.16396.62
hhvm-3.12.140.0590.16895.49
hhvm-3.11.10.0360.16987.75
hhvm-3.10.10.0400.16984.48
5.6.380.0070.06914.32
5.6.370.0030.07014.45
5.6.360.0030.07014.67
5.6.350.0000.07114.36
5.6.340.0100.06514.05
5.6.330.0070.06714.32
5.6.320.0100.06514.21
5.6.310.0000.07414.27
5.6.300.0060.06814.36
5.6.290.0000.07314.23
5.6.280.0050.11417.57
5.6.270.0030.07414.32
5.6.260.0070.06914.32
5.6.250.0100.06514.15
5.6.240.0060.06714.27
5.6.230.0030.06614.41
5.6.220.0070.06714.20
5.6.210.0030.12017.45
5.6.200.0080.08216.14
5.6.190.0070.09317.38
5.6.180.1680.08517.15
5.6.170.0200.08417.49
5.6.160.0080.10917.21
5.6.150.0070.09116.19
5.6.140.0020.11016.10
5.6.130.0070.11116.26
5.6.120.0050.11917.57
5.6.110.0050.11517.82
5.6.100.0070.08317.59
5.6.90.0080.08817.75
5.6.80.0150.10817.14
5.6.70.0030.07013.93
5.6.60.0000.07314.07
5.6.50.0000.07414.35
5.6.40.0070.07014.20
5.6.30.0030.06714.21
5.6.20.0000.07214.23
5.6.10.0030.06414.23
5.6.00.0030.07014.14
5.5.380.0000.07212.79
5.5.370.0030.06812.79
5.5.360.0030.06912.79
5.5.350.0150.11116.59
5.5.340.0020.09115.38
5.5.330.0070.11116.54
5.5.320.0130.08516.57
5.5.310.0570.09116.60
5.5.300.0050.08615.37
5.5.290.0030.11915.38
5.5.280.0100.09416.87
5.5.270.0100.11316.73
5.5.260.0070.11016.78
5.5.250.0120.09716.70
5.5.240.0030.11616.47
5.5.230.0030.07112.79
5.5.220.0030.07012.79
5.5.210.0030.08512.79
5.5.200.0030.07012.79
5.5.190.0070.06712.79
5.5.180.0000.07412.79
5.5.170.0070.06813.99
5.5.160.0000.07312.79
5.5.150.0000.07212.79
5.5.140.0030.06912.79
5.5.130.0030.06712.79
5.5.120.0030.07112.79
5.5.110.0000.06612.79
5.5.100.0100.06112.79
5.5.90.0100.06212.79
5.5.80.0070.06812.79
5.5.70.0000.07412.79
5.5.60.0000.07212.79
5.5.50.0030.06512.79
5.5.40.0030.06612.79
5.5.30.0000.07312.79
5.5.20.0000.07412.79
5.5.10.0030.06812.79
5.5.00.0030.07012.79
5.4.450.0080.02116.18
5.4.440.0080.02415.96
5.4.430.0130.02116.18
5.4.420.0120.02216.10
5.4.410.0110.02816.04
5.4.400.0150.02615.95
5.4.390.0250.02215.93
5.4.380.0250.02315.74
5.4.370.0180.03115.71
5.4.360.0250.02715.73
5.4.350.0150.03715.76
5.4.340.0180.02715.71
5.4.330.0110.00012.79
5.4.320.0070.02312.62
5.4.310.0100.02312.62
5.4.300.0040.02212.62
5.4.290.0060.02212.62
5.4.280.0100.01712.57
5.4.270.0080.01912.57
5.4.260.0080.02012.57
5.4.250.0060.02012.57
5.4.240.0060.02112.57
5.4.230.0050.02312.56
5.4.220.0070.02212.56
5.4.210.0040.02412.56
5.4.200.0050.02312.56
5.4.190.0070.01912.56
5.4.180.0100.02212.56
5.4.170.0070.01912.57
5.4.160.0040.02512.56
5.4.150.0060.02012.56
5.4.140.0080.02412.40
5.4.130.0080.01912.40
5.4.120.0070.01912.38
5.4.110.0050.02012.38
5.4.100.0070.02112.38
5.4.90.0050.02312.38
5.4.80.0030.02612.38
5.4.70.0080.01912.38
5.4.60.0040.02112.37
5.4.50.0060.02012.38
5.4.40.0050.02112.37
5.4.30.0080.02012.37
5.4.20.0040.02412.37
5.4.10.0050.02112.37
5.4.00.0040.02012.12
5.3.290.0060.02312.79
5.3.280.0090.02112.75
5.3.270.0060.02312.76
5.3.260.0050.02212.75
5.3.250.0020.02512.76
5.3.240.0060.02312.75
5.3.230.0030.02912.75
5.3.220.0060.02312.73
5.3.210.0070.02512.73
5.3.200.0060.02212.73
5.3.190.0070.02012.73
5.3.180.0060.02212.73
5.3.170.0050.02312.73
5.3.160.0060.02112.73
5.3.150.0040.02312.73
5.3.140.0040.02212.72
5.3.130.0070.02212.72
5.3.120.0040.02412.72
5.3.110.0040.02712.72
5.3.100.0060.02212.45
5.3.90.0050.02412.44
5.3.80.0070.01912.43
5.3.70.0050.02312.43
5.3.60.0080.02412.43
5.3.50.0060.02212.39
5.3.40.0060.02412.40
5.3.30.0040.02512.37
5.3.20.0060.02412.26
5.3.10.0080.01912.24
5.3.00.0040.02212.23
5.2.170.0050.01710.99
5.2.160.0050.01710.98
5.2.150.0030.02010.98
5.2.140.0050.02010.98
5.2.130.0060.01810.96
5.2.120.0040.01810.96
5.2.110.0040.02010.97
5.2.100.0050.01810.96
5.2.90.0050.01910.96
5.2.80.0040.01810.96
5.2.70.0020.02010.96
5.2.60.0040.01910.94
5.2.50.0030.02010.92
5.2.40.0050.01610.91
5.2.30.0050.01610.90
5.2.20.0040.01710.89
5.2.10.0050.01410.85
5.2.00.0050.02010.78
5.1.60.0020.01810.43
5.1.50.0070.01310.42
5.1.40.0030.01810.41
5.1.30.0030.01610.59
5.1.20.0030.01410.60
5.1.10.0030.01610.46
5.1.00.0020.01610.46
5.0.50.0040.0149.70
5.0.40.0050.0139.63
5.0.30.0020.0199.54
5.0.20.0020.0129.52
5.0.10.0030.0129.51
5.0.00.0030.0179.51
4.4.90.0010.0118.79
4.4.80.0020.0118.77
4.4.70.0010.0108.77
4.4.60.0030.0148.77
4.4.50.0010.0158.78
4.4.40.0040.0178.75
4.4.30.0030.0138.77
4.4.20.0020.0148.82
4.4.10.0050.0108.82
4.4.00.0010.0178.78
4.3.110.0030.0118.73
4.3.100.0020.0118.73
4.3.90.0020.0098.71
4.3.80.0030.0148.69
4.3.70.0040.0088.71
4.3.60.0040.0088.71
4.3.50.0030.0118.71
4.3.40.0030.0158.66
4.3.30.0020.0108.03
4.3.20.0010.0138.02
4.3.10.0010.0158.00
4.3.00.0000.01315.47