3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pass = 'secret'; $salt = '$2y$07$usesomesillystringforsaltzzzzzzzzzzzzz$'; var_dump( CRYPT_SALT_LENGTH, crypt($pass, $salt));
based on OOgEo
Output for 5.3.7 - 7.2.11
int(123) string(60) "$2y$07$usesomesillystringforex.u2VJUMLRWaJNuw0Hu2FvCEimdeYVO"
Output for 5.3.2 - 5.3.6
int(123) string(13) "$2naUPy3R0iOg"
Output for 5.3.0 - 5.3.1
int(60) string(13) "$22XjkTaaGJ1Y"
Output for 4.3.0 - 5.2.17

Process exited with code 139.