3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function chrono() { $temps = explode(' ', microtime()); return $temps[0]+$temps[1]; } $debut = chrono(); $options['cost'] = 13; for($i=0;$i<1;$i++) { $p = password_hash('tototititata', PASSWORD_BCRYPT, $options); } echo'<hr>'; echo round(chrono()-$debut,10);
Output for 7.1.0
<hr>-0.4535069466
Output for 7.0.14
<hr>-0.1432199478
Output for 7.0.10
<hr>0.4930789471
Output for 7.0.9
<hr>0.4878809452
Output for 7.0.8
<hr>0.5141050816
Output for 7.0.7
<hr>0.4890370369
Output for 7.0.6
<hr>0.5075600147
Output for 7.0.5
<hr>0.4886991978
Output for 7.0.4
<hr>0.49665308
Output for 7.0.3
<hr>0.5043110847
Output for 7.0.2
<hr>0.4974548817
Output for 7.0.1
<hr>0.5207090378
Output for 7.0.0
<hr>0.4907460213
Output for 5.6.28
<hr>0.0754659176
Output for 5.6.25
<hr>0.5059189796
Output for 5.6.24
<hr>0.4901571274
Output for 5.6.23
<hr>0.4946579933
Output for 5.6.22
<hr>0.489333868
Output for 5.6.21
<hr>0.520234108
Output for 5.6.20
<hr>0.5111169815
Output for 5.6.19
<hr>0.5142798424
Output for 5.6.18
<hr>0.4958298206
Output for 5.6.17
<hr>0.4970679283
Output for 5.6.16
<hr>0.5224239826
Output for 5.6.15
<hr>0.5030250549
Output for 5.6.14
<hr>0.4944031239
Output for 5.6.13
<hr>0.4896509647
Output for 5.6.12
<hr>0.4837999344
Output for 5.6.11
<hr>0.4134628773
Output for 5.6.10
<hr>0.4089820385
Output for 5.6.9
<hr>0.4881291389
Output for 5.6.8
<hr>0.4367001057
Output for 5.6.7
<hr>0.5016019344
Output for 5.6.6
<hr>0.5223460197
Output for 5.6.5
<hr>0.4887399673
Output for 5.6.4
<hr>0.4917049408
Output for 5.6.3
<hr>0.5182240009
Output for 5.6.2
<hr>0.5120661259
Output for 5.6.1
<hr>0.5043628216
Output for 5.6.0
<hr>0.5221691132
Output for 5.5.38
<hr>0.4906859398
Output for 5.5.37
<hr>0.491353035
Output for 5.5.36
<hr>0.4883098602
Output for 5.5.35
<hr>0.5186500549
Output for 5.5.34
<hr>0.5158400536
Output for 5.5.33
<hr>0.5045499802
Output for 5.5.32
<hr>0.4933099747
Output for 5.5.31
<hr>0.5044598579
Output for 5.5.30
<hr>0.4989621639
Output for 5.5.29
<hr>0.5078728199
Output for 5.5.28
<hr>0.4128129482
Output for 5.5.27
<hr>0.4106578827
Output for 5.5.26
<hr>0.5168452263
Output for 5.5.25
<hr>0.4911279678
Output for 5.5.24
<hr>0.4009230137
Output for 5.5.23
<hr>0.5207839012
Output for 5.5.22
<hr>0.4971339703
Output for 5.5.21
<hr>0.5001740456
Output for 5.5.20
<hr>0.5027148724
Output for 5.5.19
<hr>0.5025498867
Output for 5.5.18
<hr>0.5105779171
Output for 5.5.16
<hr>0.5194070339
Output for 5.5.15
<hr>0.5135631561
Output for 5.5.14
<hr>0.4935040474
Output for 5.5.13
<hr>0.4965009689
Output for 5.5.12
<hr>0.5120849609
Output for 5.5.11
<hr>0.4949309826
Output for 5.5.10
<hr>0.4884309769
Output for 5.5.9
<hr>0.5143618584
Output for 5.5.8
<hr>0.5160639286
Output for 5.5.7
<hr>0.5281918049
Output for 5.5.6
<hr>0.498994112
Output for 5.5.5
<hr>0.506193161
Output for 5.5.4
<hr>0.5219869614
Output for 5.5.3
<hr>0.523124218
Output for 5.5.2
<hr>0.523375988
Output for 5.5.1
<hr>0.5149309635
Output for 5.5.0
<hr>0.4973521233
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/uSuig on line 14
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/uSuig on line 14
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/uSuig on line 14
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/uSuig on line 14