3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(crypt("foo", "$2b$04$32wpfjsekfnsdlsdljgsdgsdgSD"));
based on O8f8U
Output for 5.4.36 - 5.4.45, 5.5.21 - 5.5.38, 5.6.5 - 7.1.0
string(60) "$2b$04$32wpfjsekfnsdlsdljgsdem3Df4fjg0VSaSa4nwiKLcZvYTW6xvj2"
Output for 5.3.7 - 5.4.35, 5.5.0 - 5.5.20, 5.6.0 - 5.6.4
string(2) "*0"
Output for 5.3.2 - 5.3.6
string(13) "$2zJyhpjk3l9E"
Output for 5.3.0 - 5.3.1
string(13) "$26HdMTpoODt6"
Output for 4.3.0 - 5.2.17

Process exited with code 139.