3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(PASSWORD_BCRYPT); var_dump(PASSWORD_DEFAULT);
Output for 5.5.24 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(1) int(1)
Output for 4.3.0 - 5.4.45
Notice: Use of undefined constant PASSWORD_BCRYPT - assumed 'PASSWORD_BCRYPT' in /in/50FSe on line 2 string(15) "PASSWORD_BCRYPT" Notice: Use of undefined constant PASSWORD_DEFAULT - assumed 'PASSWORD_DEFAULT' in /in/50FSe on line 3 string(16) "PASSWORD_DEFAULT"