3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(strlen('usesomesillystringfor')); $hash = crypt('mypassword', '$2a$10$usesomesillystringfors'); var_dump($hash); echo crypt('mypassword', $hash);
Output for 5.3.0 - 7.1.0
int(21) string(60) "$2a$10$usesomesillystringforeqWfEfQZxwCz4KXtZeZZpokKuKskP.0i" $2a$10$usesomesillystringforeqWfEfQZxwCz4KXtZeZZpokKuKskP.0i
Output for 4.3.0 - 5.2.17
int(21)
Process exited with code 139.